Files
probably-rendering-one-more…/packages/brand/tests/tokens.test.mts
T
codex-bot c405f47916
Endoleap brand checks / verify (pull_request) Failing after 5s
creative workspace review checks / verify (pull_request) Has been cancelled
feat(brand): add Endoleap assets and production theme package
2026-11-01 00:22:43 +08:00

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');