@vaadin/vaadin-lumo-styles
Advanced tools
Comparing version 23.2.12 to 23.2.13
{ | ||
"name": "@vaadin/vaadin-lumo-styles", | ||
"version": "23.2.12", | ||
"version": "23.2.13", | ||
"publishConfig": { | ||
@@ -45,4 +45,4 @@ "access": "public" | ||
"@polymer/polymer": "^3.0.0", | ||
"@vaadin/icon": "~23.2.12", | ||
"@vaadin/vaadin-themable-mixin": "~23.2.12" | ||
"@vaadin/icon": "~23.2.13", | ||
"@vaadin/vaadin-themable-mixin": "~23.2.13" | ||
}, | ||
@@ -56,3 +56,3 @@ "devDependencies": { | ||
}, | ||
"gitHead": "ab3cb30a6af93cb7ea2891ba1f688cb68d4cf928" | ||
"gitHead": "0b8786d43b6b4e419d8482f29595719bf0c9e5e5" | ||
} |
import type { CSSResult } from 'lit'; | ||
export const globals: CSSResult; | ||
export const style: CSSResult; |
14
style.js
@@ -29,6 +29,16 @@ /** | ||
/** | ||
* Default values for component-specific custom properties. | ||
*/ | ||
const globals = css` | ||
html { | ||
--vaadin-checkbox-size: calc(var(--lumo-size-m) / 2); | ||
--vaadin-radio-button-size: calc(var(--lumo-size-m) / 2); | ||
} | ||
`; | ||
const $tpl = document.createElement('template'); | ||
$tpl.innerHTML = `<style>${style.toString().replace(':host', 'html')}</style>`; | ||
$tpl.innerHTML = `<style>${style.toString().replace(':host', 'html')}$</style>`; | ||
document.head.appendChild($tpl.content); | ||
export { style }; | ||
export { globals, style }; |
@@ -15,3 +15,3 @@ /** | ||
static get version() { | ||
return '23.2.12'; | ||
return '23.2.13'; | ||
} | ||
@@ -18,0 +18,0 @@ } |
128588
3170