cloudflare/kumo

Public

mirrored fromhttps://github.com/cloudflare/kumoAvailable

CodeCommitsIssuesPull requestsActionsInsightsSecurity
d86c9318c15924a4d4fab2205271148f8f184454

Branches

Tags

  • No tags available.
0Branches0Tags
Go to file
Add file
Code

Clone

HTTPS

Download ZIP

packages/kumo-docs-astro/src/kumo-colors.d.ts

23lines · modecode

1/**
2 * Type declarations for virtual:kumo-colors module.
3 * Provides color token data parsed from CSS files.
4 */
5declare module "virtual:kumo-colors" {
6 export type TokenType = "semantic" | "global" | "override";
7
8 export interface ColorToken {
9 /** Token name with -- prefix (e.g., "--color-surface") */
10 name: string;
11 /** Light mode value */
12 light: string;
13 /** Dark mode value */
14 dark: string;
15 /** Theme this token belongs to */
16 theme: string;
17 /** Token type: semantic, global, or override */
18 tokenType: TokenType;
19 }
20
21 /** All color tokens parsed from CSS files */
22 export const kumoColors: ColorToken[];
23}
24