silva-ui 1.0.2 → 1.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,7 @@
1
1
  type Shade = 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12;
2
- type ColorScaleName = 'amber' | 'blue' | 'bronze' | 'brown' | 'crimson' | 'cyan' | 'gold' | 'grass' | 'gray' | 'green' | 'indigo' | 'lime' | 'mauve' | 'mint' | 'olive' | 'orange' | 'pink' | 'plum' | 'purple' | 'red' | 'sage' | 'sand' | 'sky' | 'slate' | 'teal' | 'tomato' | 'violet' | 'yellow' | 'blackA' | 'whiteA';
3
- export type ColorTokenName = `${ColorScaleName}${Shade}`;
2
+ declare const colorScaleNames: readonly ['amber', 'blue', 'bronze', 'brown', 'crimson', 'cyan', 'gold', 'grass', 'gray', 'green', 'indigo', 'lime', 'mauve', 'mint', 'olive', 'orange', 'pink', 'plum', 'purple', 'red', 'sage', 'sand', 'sky', 'slate', 'teal', 'tomato', 'violet', 'yellow', 'blackA', 'whiteA'];
3
+ type ColorScaleName = (typeof colorScaleNames)[number];
4
+ export type ColorTokenName = `${ColorScaleName}${Shade}` | ColorScaleName;
4
5
  export declare const colorTokens: Record<ColorTokenName, string>;
5
6
  export declare const darkColorTokens: Record<ColorTokenName, string>;
6
7
  export declare const colorScales: Record<string, string[]>;