UNPKG

@logo-elements/logo-elements-styles

Version:

Logo Elements Design System is a design system library for modern web applications which gives your web apps Logo Applications look and feel, used by Logo Elements

35 lines (30 loc) 1.04 kB
/** * @license * Copyright LOGO YAZILIM SANAYİ VE TİCARET A.Ş. * * Save to the extent permitted by law, you may not use, copy, modify, * distribute or create derivative works of this material or any part * of it without the prior written consent of LOGO YAZILIM SANAYİ VE TİCARET A.Ş. Limited. * Any reproduction of this material must contain this notice. */ import { css } from '@vaadin/vaadin-themable-mixin/register-styles.js'; import './version.js'; const sizing = css` :host { --leds-size-xs: 1.625rem; --leds-size-s: 1.875rem; --leds-size-m: 2.25rem; --leds-size-l: 2.75rem; --leds-size-xl: 3.5rem; /* Icons */ --leds-icon-size-s: 1.25em; --leds-icon-size-m: 1.5em; --leds-icon-size-l: 2.25em; /* For backwards compatibility */ --leds-icon-size: var(--leds-icon-size-m); } `; const $tpl = document.createElement('template'); $tpl.innerHTML = `<style>${sizing.toString().replace(':host', 'html')}</style>`; document.head.appendChild($tpl.content); export { sizing };