Work on panels

This commit is contained in:
2023-10-28 16:43:43 +02:00
parent ad59f07d2b
commit 638e1eb739
7 changed files with 56 additions and 7 deletions

View File

@@ -1,3 +1,5 @@
export * from './lib/normalize';
export * from './lib/variable.helper';
export * from './lib/variable.func';

View File

@@ -0,0 +1,5 @@
import { unsafeCSS } from 'lit';
export function variable(variableName: string, defaultValue?: string) {
return unsafeCSS(`var(${variableName}${defaultValue ? `, ${defaultValue}` : ''})`);
}