|
1 | 1 | /* SPDX-License-Identifier: MIT */
|
2 | 2 |
|
3 | 3 | /* @fileName Colors */
|
4 |
| -/* @version 0.0.1 */ |
| 4 | +/* @version 0.0.2 */ |
5 | 5 | /* @package Dappspec */
|
6 | 6 |
|
7 | 7 | /// ---------------------------------------------------------------------------
|
8 | 8 | /// = Colors
|
9 | 9 |
|
| 10 | +/// |
10 | 11 | /// Dappspec provides dozens of colors definitions for text, backgrounds, and
|
11 | 12 | /// borders. It provides these for both a day mode and a night mode. (We
|
12 | 13 | /// use the terms "day" and "night" instead of "light" and "dark" to avoid
|
13 |
| -/// confusion with color names. Does $code(dark-blue) mean a blue that is |
14 |
| -/// dark or a blue for the dark mode?) |
| 14 | +/// confusion with color names. |
| 15 | +/// Does $code(dark-blue) mean a blue that is dark or a blue for the dark mode?) |
| 16 | +/// |
| 17 | +/// The semantics of these colors follow the Radix Framework |
| 18 | +/// @see {@link https://github.com/radix-ui/colors} |
| 19 | +/// @see {@link https://www.radix-ui.com/docs/colors/palette-composition/composing-a-palette} |
| 20 | +/// |
| 21 | +/// Semantic Scales |
| 22 | +/// Error: Red/Tomato/Crimson |
| 23 | +/// Success: Teal/Green/Grass/Mint |
| 24 | +/// Warning: Yellow/Amber |
| 25 | +/// Info: Blue/Sky/Cyan |
| 26 | +/// {@link https://www.radix-ui.com/docs/colors/palette-composition/composing-a-palette#choosing-semantic-scales} |
| 27 | +/// |
15 | 28 | /// ---------------------------------------------------------------------------
|
16 | 29 |
|
17 | 30 | @use 'sass:color'
|
|
35 | 48 | /// ---------------------------------------------------------------------------
|
36 | 49 |
|
37 | 50 | $theme-color-scheme: 'auto'
|
38 |
| - $theme-color-scheme: 'day' |
39 |
| - $theme-color-scheme: 'night' |
| 51 | +$theme-color-scheme: 'day' |
| 52 | +$theme-color-scheme: 'night' |
40 | 53 |
|
41 | 54 |
|
42 | 55 | /// ---------------------------------------------------------------------------
|
|
0 commit comments