import type { Color } from "./Color.js"; import type { ResourceMetadata } from "./ResourceMetadata.js"; import type { ThemeId } from "./ThemeId.js"; import type { ThemeSettingsDefinition } from "./ThemeSettingsDefinition.js"; import type { ThemeTokens } from "./ThemeTokens.js"; import type { WidgetId } from "./WidgetId.js"; export type Theme = { id: ThemeId; /** * Metadata about the theme */ metadata: ResourceMetadata; settings: ThemeSettingsDefinition; /** * Css Styles of the theme */ styles: { [key in WidgetId]?: string; }; /** * Shared css styles for all widgets, commonly used to set styles * for the components library */ sharedStyles: string | null; /** * Default design tokens that can be consumed by applications that do not * support CSS. */ tokens: ThemeTokens | null; /** * Design tokens used when the application is in dark mode. * If omitted, `tokens` will be used instead. */ tokensDark: ThemeTokens | null; /** * Override the system accent color. Alpha value is ignored. */ accentOverride: Color | null; }; //# sourceMappingURL=Theme.d.ts.map