Work on panels
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
export * from './lib/normalize';
|
||||
|
||||
export * from './lib/variable.helper';
|
||||
|
||||
export * from './lib/variable.func';
|
||||
|
||||
5
libs/_internal/styles/src/lib/variable.func.ts
Normal file
5
libs/_internal/styles/src/lib/variable.func.ts
Normal file
@@ -0,0 +1,5 @@
|
||||
import { unsafeCSS } from 'lit';
|
||||
|
||||
export function variable(variableName: string, defaultValue?: string) {
|
||||
return unsafeCSS(`var(${variableName}${defaultValue ? `, ${defaultValue}` : ''})`);
|
||||
}
|
||||
Reference in New Issue
Block a user