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

38 lines (32 loc) 1.62 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 style = css` :host { /* Border radius */ --leds-border-radius-s: 0.25em; /* Checkbox, badge, date-picker year indicator, etc */ --leds-border-radius-m: var(--leds-border-radius, 0.25em); /* Button, text field, menu overlay, etc */ --leds-border-radius-l: 0.25em; /* Dialog, notification, etc */ --leds-border-radius: 0.25em; /* Deprecated */ /* Shadow */ --leds-box-shadow-xs: 0 1px 4px -1px var(--leds-shade-50pct); --leds-box-shadow-s: 0 2px 4px -1px var(--leds-shade-20pct), 0 3px 12px -1px var(--leds-shade-30pct); --leds-box-shadow-m: 0 2px 6px -1px var(--leds-shade-20pct), 0 8px 24px -4px var(--leds-shade-40pct); --leds-box-shadow-l: 0 3px 18px -2px var(--leds-shade-20pct), 0 12px 48px -6px var(--leds-shade-40pct); --leds-box-shadow-xl: 0 4px 24px -3px var(--leds-shade-20pct), 0 18px 64px -8px var(--leds-shade-40pct); /* Clickable element cursor */ --leds-clickable-cursor: default; } `; const $tpl = document.createElement('template'); $tpl.innerHTML = `<style>${style.toString().replace(':host', 'html')}</style>`; document.head.appendChild($tpl.content); export { style };