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

45 lines (42 loc) 1.45 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 '../sizing.js'; import '../spacing.js'; const $_documentContainer = document.createElement('template'); $_documentContainer.innerHTML = ` <style> /* Use a stronger selector so that imports added later do not override the property values */ html:not(div) { --leds-size-xl: 3rem; --leds-size-l: 2.5rem; --leds-size-m: 2rem; --leds-size-s: 1.75rem; --leds-size-xs: 1.5rem; --leds-font-size: 1rem; --leds-font-size-xxxl: 1.75rem; --leds-font-size-xxl: 1.375rem; --leds-font-size-xl: 1.125rem; --leds-font-size-l: 1rem; --leds-font-size-m: 0.875rem; --leds-font-size-s: 0.8125rem; --leds-font-size-xs: 0.75rem; --leds-font-size-xxs: 0.6875rem; --leds-line-height-m: 1.4; --leds-line-height-s: 1.2; --leds-line-height-xs: 1.1; --leds-space-xl: 1.875rem; --leds-space-l: 1.25rem; --leds-space-m: 0.625rem; --leds-space-s: 0.3125rem; --leds-space-xs: 0.1875rem; } </style> `; document.head.appendChild($_documentContainer.content);