9 lines
422 B
TypeScript
9 lines
422 B
TypeScript
import { getTheme, themes, type ThemeName, type ColorToken } from '@endoleap/brand/tokens';
|
|
const name: ThemeName = 'canvas-dark';
|
|
const token: ColorToken = 'sidebar-accent-foreground';
|
|
const color: string = getTheme(name)[token];
|
|
const primary: string = themes['home-light'].primary;
|
|
void [color, primary];
|
|
// @ts-expect-error retired draft identifier must not leak into the public API.
|
|
getTheme('canvas-dark-proposed');
|