@diskette/palette 0.19.0 → 0.21.0
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.
- package/README.md +90 -70
- package/dist/cli/cli.d.ts +1 -1
- package/dist/cli/cli.js +68 -9
- package/dist/colors/amber.d.ts +26 -14
- package/dist/colors/amber.js +130 -114
- package/dist/colors/blue.d.ts +26 -14
- package/dist/colors/blue.js +130 -114
- package/dist/colors/bronze.d.ts +26 -14
- package/dist/colors/bronze.js +130 -114
- package/dist/colors/brown.d.ts +26 -14
- package/dist/colors/brown.js +130 -114
- package/dist/colors/crimson.d.ts +26 -14
- package/dist/colors/crimson.js +130 -114
- package/dist/colors/cyan.d.ts +26 -14
- package/dist/colors/cyan.js +130 -114
- package/dist/colors/gold.d.ts +26 -14
- package/dist/colors/gold.js +130 -114
- package/dist/colors/grass.d.ts +26 -14
- package/dist/colors/grass.js +130 -114
- package/dist/colors/gray.d.ts +26 -14
- package/dist/colors/gray.js +130 -114
- package/dist/colors/green.d.ts +26 -14
- package/dist/colors/green.js +130 -114
- package/dist/colors/indigo.d.ts +26 -14
- package/dist/colors/indigo.js +130 -114
- package/dist/colors/iris.d.ts +26 -14
- package/dist/colors/iris.js +130 -114
- package/dist/colors/jade.d.ts +26 -14
- package/dist/colors/jade.js +130 -114
- package/dist/colors/lime.d.ts +26 -14
- package/dist/colors/lime.js +130 -114
- package/dist/colors/mauve.d.ts +26 -14
- package/dist/colors/mauve.js +130 -114
- package/dist/colors/mint.d.ts +26 -14
- package/dist/colors/mint.js +130 -114
- package/dist/colors/olive.d.ts +26 -14
- package/dist/colors/olive.js +130 -114
- package/dist/colors/orange.d.ts +26 -14
- package/dist/colors/orange.js +130 -114
- package/dist/colors/pink.d.ts +26 -14
- package/dist/colors/pink.js +130 -114
- package/dist/colors/plum.d.ts +26 -14
- package/dist/colors/plum.js +130 -114
- package/dist/colors/purple.d.ts +26 -14
- package/dist/colors/purple.js +130 -114
- package/dist/colors/red.d.ts +26 -14
- package/dist/colors/red.js +130 -114
- package/dist/colors/ruby.d.ts +26 -14
- package/dist/colors/ruby.js +130 -114
- package/dist/colors/sage.d.ts +26 -14
- package/dist/colors/sage.js +130 -114
- package/dist/colors/sand.d.ts +26 -14
- package/dist/colors/sand.js +130 -114
- package/dist/colors/sky.d.ts +26 -14
- package/dist/colors/sky.js +130 -114
- package/dist/colors/slate.d.ts +26 -14
- package/dist/colors/slate.js +130 -114
- package/dist/colors/teal.d.ts +26 -14
- package/dist/colors/teal.js +130 -114
- package/dist/colors/tomato.d.ts +26 -14
- package/dist/colors/tomato.js +130 -114
- package/dist/colors/violet.d.ts +26 -14
- package/dist/colors/violet.js +130 -114
- package/dist/colors/yellow.d.ts +26 -14
- package/dist/colors/yellow.js +130 -114
- package/dist/css.d.ts +1 -0
- package/dist/css.js +26 -8
- package/dist/index.d.ts +808 -436
- package/dist/index.js +1 -1
- package/dist/types.d.ts +20 -16
- package/dist/utils.d.ts +9 -1
- package/dist/utils.js +44 -8
- package/package.json +4 -3
- package/dist/cli/commands/generate.d.ts +0 -54
- package/dist/cli/commands/generate.js +0 -86
- package/dist/cli/commands/list.d.ts +0 -48
- package/dist/cli/commands/list.js +0 -33
package/README.md
CHANGED
|
@@ -27,30 +27,31 @@ import blue from '@diskette/palette/colors/blue'
|
|
|
27
27
|
|
|
28
28
|
### Color Structure
|
|
29
29
|
|
|
30
|
-
Each color provides
|
|
30
|
+
Each color provides separate 12-step arrays for solid and alpha scales, organized by theme and color space:
|
|
31
31
|
|
|
32
32
|
```ts
|
|
33
33
|
import blue from '@diskette/palette/colors/blue'
|
|
34
34
|
|
|
35
|
-
// sRGB values (hex)
|
|
36
|
-
blue.srgb.
|
|
37
|
-
blue.srgb.
|
|
35
|
+
// sRGB solid values (hex) - 12-item array indexed 0-11
|
|
36
|
+
blue.light.srgb.solid[8] // '#0090ff' (step 9)
|
|
37
|
+
blue.dark.srgb.solid[8] // '#0090ff' (step 9)
|
|
38
38
|
|
|
39
|
-
// Display P3 values
|
|
40
|
-
blue.p3.
|
|
41
|
-
blue.p3.
|
|
39
|
+
// Display P3 solid values
|
|
40
|
+
blue.light.p3.solid[8] // 'color(display-p3 0.247 0.556 0.969)'
|
|
41
|
+
blue.dark.p3.solid[8] // 'color(display-p3 0.247 0.556 0.969)'
|
|
42
42
|
|
|
43
|
-
// Alpha variants
|
|
44
|
-
blue.srgb.
|
|
43
|
+
// Alpha variants - separate 12-item array indexed 0-11
|
|
44
|
+
blue.light.srgb.alpha[8] // alpha step 9
|
|
45
|
+
blue.light.p3.alpha[8] // alpha step 9 in P3
|
|
45
46
|
|
|
46
47
|
// Surface (translucent overlay)
|
|
47
48
|
blue.surface.srgb.light // '#f1f9ffcc'
|
|
48
|
-
blue.surface.p3.dark
|
|
49
|
+
blue.surface.p3.dark // 'color(display-p3 0.0706 0.1255 0.2196 / 0.5)'
|
|
49
50
|
|
|
50
51
|
// Semantic values
|
|
51
|
-
blue.contrast
|
|
52
|
-
blue.indicator //
|
|
53
|
-
blue.track
|
|
52
|
+
blue.contrast // 'white'
|
|
53
|
+
blue.indicator // 9 (step number)
|
|
54
|
+
blue.track // 9 (step number)
|
|
54
55
|
```
|
|
55
56
|
|
|
56
57
|
### Generating CSS
|
|
@@ -61,16 +62,16 @@ Use the `css` utility to generate CSS custom properties:
|
|
|
61
62
|
import { css } from '@diskette/palette'
|
|
62
63
|
import blue from '@diskette/palette/colors/blue'
|
|
63
64
|
|
|
64
|
-
// Generate
|
|
65
|
-
|
|
66
|
-
// Output: :root
|
|
65
|
+
// Generate CSS variables for light theme
|
|
66
|
+
css.palette(blue)
|
|
67
|
+
// Output: :root { --blue-contrast: white; ... }
|
|
68
|
+
// :root, .light, .light-theme { --blue-1: #fbfdff; ... }
|
|
67
69
|
|
|
68
|
-
//
|
|
69
|
-
css.
|
|
70
|
+
// Include dark theme
|
|
71
|
+
css.palette(blue, { schemes: ['light', 'dark'] })
|
|
70
72
|
|
|
71
|
-
//
|
|
72
|
-
css.
|
|
73
|
-
// Output: :root { --blue-contrast: white; } ...
|
|
73
|
+
// Include alpha scale variables (--blue-a1, etc.)
|
|
74
|
+
css.palette(blue, { schemes: ['light'], alpha: true })
|
|
74
75
|
```
|
|
75
76
|
|
|
76
77
|
### Alpha Colors
|
|
@@ -81,7 +82,47 @@ For transparency overlays:
|
|
|
81
82
|
import { blackAlpha, whiteAlpha } from '@diskette/palette/colors'
|
|
82
83
|
|
|
83
84
|
blackAlpha.srgb.blackA5 // 'rgba(0, 0, 0, 0.3)'
|
|
84
|
-
whiteAlpha.p3.whiteA5
|
|
85
|
+
whiteAlpha.p3.whiteA5 // 'color(display-p3 1 1 1 / 0.3)'
|
|
86
|
+
```
|
|
87
|
+
|
|
88
|
+
## CLI
|
|
89
|
+
|
|
90
|
+
The package includes a CLI for generating CSS files.
|
|
91
|
+
|
|
92
|
+
### `palette generate`
|
|
93
|
+
|
|
94
|
+
Generate CSS files for color palettes.
|
|
95
|
+
|
|
96
|
+
```bash
|
|
97
|
+
palette generate blue,red,slate -a -o ./styles
|
|
98
|
+
```
|
|
99
|
+
|
|
100
|
+
```
|
|
101
|
+
styles/
|
|
102
|
+
├── index.css # Imports + Tailwind v4 @theme mappings
|
|
103
|
+
├── accents.css # [data-accent-color] selectors (-a flag)
|
|
104
|
+
├── blue.css # Light theme: --blue-1 through --blue-12, --blue-a1 through --blue-a12
|
|
105
|
+
├── blue-dark.css # Dark theme variants
|
|
106
|
+
├── red.css
|
|
107
|
+
├── red-dark.css
|
|
108
|
+
├── slate.css
|
|
109
|
+
├── slate-dark.css
|
|
110
|
+
├── black-alpha.css # --black-a1 through --black-a12
|
|
111
|
+
└── white-alpha.css # --white-a1 through --white-a12
|
|
112
|
+
```
|
|
113
|
+
|
|
114
|
+
**Options:**
|
|
115
|
+
- `-o, --output <dir>` - Output directory (required)
|
|
116
|
+
- `-a, --accents` - Generate `accents.css` with `[data-accent-color]` and `[data-gray-color]` selectors
|
|
117
|
+
|
|
118
|
+
### `palette list`
|
|
119
|
+
|
|
120
|
+
List available colors.
|
|
121
|
+
|
|
122
|
+
```bash
|
|
123
|
+
palette list # List all colors
|
|
124
|
+
palette list --accent # List only accent colors
|
|
125
|
+
palette list --gray # List only gray colors
|
|
85
126
|
```
|
|
86
127
|
|
|
87
128
|
## Available Colors
|
|
@@ -117,18 +158,27 @@ Each color provides a 12-step scale following Radix Colors conventions:
|
|
|
117
158
|
|
|
118
159
|
## API Reference
|
|
119
160
|
|
|
120
|
-
### `css.
|
|
161
|
+
### `css.palette(config, options?)`
|
|
121
162
|
|
|
122
|
-
Generates CSS custom properties for a color scale.
|
|
163
|
+
Generates CSS custom properties for a color's scale and semantic tokens.
|
|
123
164
|
|
|
124
165
|
```ts
|
|
125
|
-
css.
|
|
166
|
+
css.palette(config: PaletteColor, options?: {
|
|
167
|
+
schemes?: ('light' | 'dark')[] // Defaults to ['light']
|
|
168
|
+
alpha?: boolean // Include alpha scale (--color-a1, etc.). Defaults to false
|
|
169
|
+
}): string
|
|
126
170
|
```
|
|
127
171
|
|
|
128
172
|
<details>
|
|
129
173
|
<summary>Example output</summary>
|
|
130
174
|
|
|
131
175
|
```css
|
|
176
|
+
:root {
|
|
177
|
+
--amber-contrast: #21201c;
|
|
178
|
+
--amber-indicator: var(--amber-9);
|
|
179
|
+
--amber-track: var(--amber-9);
|
|
180
|
+
}
|
|
181
|
+
|
|
132
182
|
:root,
|
|
133
183
|
.light,
|
|
134
184
|
.light-theme {
|
|
@@ -152,17 +202,7 @@ css.scale(scheme: 'light' | 'lightAlpha' | 'dark' | 'darkAlpha', config: ColorCo
|
|
|
152
202
|
.light,
|
|
153
203
|
.light-theme {
|
|
154
204
|
--amber-1: color(display-p3 0.995 0.992 0.985);
|
|
155
|
-
|
|
156
|
-
--amber-3: color(display-p3 0.994 0.969 0.782);
|
|
157
|
-
--amber-4: color(display-p3 0.989 0.937 0.65);
|
|
158
|
-
--amber-5: color(display-p3 0.97 0.902 0.527);
|
|
159
|
-
--amber-6: color(display-p3 0.936 0.844 0.506);
|
|
160
|
-
--amber-7: color(display-p3 0.89 0.762 0.443);
|
|
161
|
-
--amber-8: color(display-p3 0.85 0.65 0.3);
|
|
162
|
-
--amber-9: color(display-p3 1 0.77 0.26);
|
|
163
|
-
--amber-10: color(display-p3 0.959 0.741 0.274);
|
|
164
|
-
--amber-11: color(display-p3 0.64 0.4 0);
|
|
165
|
-
--amber-12: color(display-p3 0.294 0.208 0.145);
|
|
205
|
+
/* ... */
|
|
166
206
|
}
|
|
167
207
|
}
|
|
168
208
|
}
|
|
@@ -180,49 +220,29 @@ Generates CSS custom properties for alpha color scales (blackAlpha, whiteAlpha).
|
|
|
180
220
|
css.alpha(config: AlphaConfig): string
|
|
181
221
|
```
|
|
182
222
|
|
|
183
|
-
### `css.
|
|
223
|
+
### `css.accents(colorNames)`
|
|
184
224
|
|
|
185
|
-
Generates
|
|
225
|
+
Generates CSS for `[data-accent-color]` attribute selectors, mapping accent variables to the specified color.
|
|
186
226
|
|
|
187
227
|
```ts
|
|
188
|
-
css.
|
|
228
|
+
css.accents(colorNames: string[]): string
|
|
189
229
|
```
|
|
190
230
|
|
|
191
|
-
|
|
192
|
-
<summary>Example output</summary>
|
|
193
|
-
|
|
194
|
-
```css
|
|
195
|
-
:root {
|
|
196
|
-
--amber-contrast: #21201c;
|
|
197
|
-
}
|
|
231
|
+
### `css.grays(names, className)`
|
|
198
232
|
|
|
199
|
-
|
|
200
|
-
.light,
|
|
201
|
-
.light-theme {
|
|
202
|
-
--amber-surface: #fefae4cc;
|
|
203
|
-
--amber-indicator: var(--amber-9);
|
|
204
|
-
--amber-track: var(--amber-9);
|
|
205
|
-
@supports (color: color(display-p3 1 1 1)) {
|
|
206
|
-
@media (color-gamut: p3) {
|
|
207
|
-
--amber-surface: color(display-p3 0.9922 0.9843 0.902 / 0.8);
|
|
208
|
-
}
|
|
209
|
-
}
|
|
210
|
-
}
|
|
233
|
+
Generates CSS for `[data-gray-color]` attribute selectors nested under a class.
|
|
211
234
|
|
|
212
|
-
|
|
213
|
-
.
|
|
214
|
-
--amber-surface: #271f1380;
|
|
215
|
-
--amber-indicator: var(--amber-9);
|
|
216
|
-
--amber-track: var(--amber-9);
|
|
217
|
-
@supports (color: color(display-p3 1 1 1)) {
|
|
218
|
-
@media (color-gamut: p3) {
|
|
219
|
-
--amber-surface: color(display-p3 0.1412 0.1176 0.0784 / 0.5);
|
|
220
|
-
}
|
|
221
|
-
}
|
|
222
|
-
}
|
|
235
|
+
```ts
|
|
236
|
+
css.grays(names: readonly string[], className: string): string
|
|
223
237
|
```
|
|
224
238
|
|
|
225
|
-
|
|
239
|
+
### `css.tailwind(colorNames)`
|
|
240
|
+
|
|
241
|
+
Generates Tailwind v4 `@theme inline` CSS that maps palette variables to Tailwind color utilities.
|
|
242
|
+
|
|
243
|
+
```ts
|
|
244
|
+
css.tailwind(colorNames: string[]): string
|
|
245
|
+
```
|
|
226
246
|
|
|
227
247
|
## Credits
|
|
228
248
|
|
package/dist/cli/cli.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export declare function writeIfNotExists(path: string, data: string | NodeJS.ArrayBufferView): boolean;
|
package/dist/cli/cli.js
CHANGED
|
@@ -1,11 +1,70 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
import { defineCommand, runMain } from 'citty';
|
|
2
|
+
import { existsSync, mkdirSync, writeFileSync } from 'node:fs';
|
|
3
|
+
import { dirname, relative, resolve } from 'node:path';
|
|
4
|
+
import * as palette from "../colors/index.js";
|
|
5
|
+
import { css } from "../css.js";
|
|
6
|
+
import { accentColors, grayColors } from "../types.js";
|
|
7
|
+
import { getPackageJson } from "../utils.js";
|
|
8
|
+
const alphaColors = ['blackAlpha', 'whiteAlpha'];
|
|
9
|
+
// Combined list of all colors (deduplicated since 'gray' appears in both)
|
|
10
|
+
const allColors = [
|
|
11
|
+
...new Set([...accentColors, ...grayColors]),
|
|
12
|
+
...alphaColors,
|
|
13
|
+
];
|
|
14
|
+
const { pkg, packageJsonPath } = getPackageJson(import.meta.url) ?? {};
|
|
15
|
+
const main = defineCommand({
|
|
16
|
+
meta: {
|
|
17
|
+
name: 'palette',
|
|
18
|
+
version: pkg?.version,
|
|
19
|
+
description: pkg?.description ?? '',
|
|
20
|
+
},
|
|
21
|
+
args: {
|
|
22
|
+
colors: {
|
|
23
|
+
type: 'positional',
|
|
24
|
+
description: 'Colors',
|
|
25
|
+
required: true,
|
|
26
|
+
},
|
|
27
|
+
output: {
|
|
28
|
+
type: 'string',
|
|
29
|
+
alias: 'o',
|
|
30
|
+
description: 'Output directory',
|
|
31
|
+
},
|
|
32
|
+
accents: {
|
|
33
|
+
type: 'boolean',
|
|
34
|
+
alias: 'a',
|
|
35
|
+
description: 'Generate accents.css with [data-accent-color] selectors',
|
|
36
|
+
},
|
|
37
|
+
},
|
|
38
|
+
run({ args }) {
|
|
39
|
+
const selected = args._.filter((c) => allColors.includes(c));
|
|
40
|
+
const outputPath = resolve(process.cwd(), args.output);
|
|
41
|
+
mkdirSync(outputPath, { recursive: true });
|
|
42
|
+
for (const name of selected) {
|
|
43
|
+
if (alphaColors.includes(name)) {
|
|
44
|
+
const alphaName = name;
|
|
45
|
+
const config = palette[alphaName];
|
|
46
|
+
const fileName = alphaName === 'blackAlpha' ? 'black-alpha' : 'white-alpha';
|
|
47
|
+
writeIfNotExists(`${outputPath}/${fileName}.css`, css.alpha(config));
|
|
48
|
+
}
|
|
49
|
+
else {
|
|
50
|
+
const color = palette[name];
|
|
51
|
+
writeIfNotExists(`${outputPath}/${name}.css`, css.palette(color, { schemes: ['light'], alpha: true }));
|
|
52
|
+
writeIfNotExists(`${outputPath}/${name}-dark.css`, css.palette(color, { schemes: ['dark'], alpha: true }));
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
if (args.accents) {
|
|
56
|
+
const accentColorNames = selected.filter((c) => !alphaColors.includes(c));
|
|
57
|
+
writeIfNotExists(`${outputPath}/accents.css`, css.accents(accentColorNames));
|
|
58
|
+
}
|
|
59
|
+
const path = relative(dirname(packageJsonPath), resolve(outputPath));
|
|
60
|
+
console.log(`\nCSS saved to ${outputPath}`);
|
|
61
|
+
},
|
|
8
62
|
});
|
|
9
|
-
|
|
10
|
-
|
|
63
|
+
runMain(main);
|
|
64
|
+
export function writeIfNotExists(path, data) {
|
|
65
|
+
if (existsSync(path)) {
|
|
66
|
+
return false;
|
|
67
|
+
}
|
|
68
|
+
writeFileSync(path, data);
|
|
69
|
+
return true;
|
|
11
70
|
}
|
package/dist/colors/amber.d.ts
CHANGED
|
@@ -1,25 +1,37 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
2
|
name: "amber";
|
|
3
|
-
indicator:
|
|
3
|
+
indicator: number;
|
|
4
4
|
contrast: string;
|
|
5
|
-
track:
|
|
5
|
+
track: number;
|
|
6
6
|
surface: {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
7
|
+
light: {
|
|
8
|
+
srgb: string;
|
|
9
|
+
p3: string;
|
|
10
10
|
};
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
11
|
+
dark: {
|
|
12
|
+
srgb: string;
|
|
13
|
+
p3: string;
|
|
14
14
|
};
|
|
15
15
|
};
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
16
|
+
light: {
|
|
17
|
+
srgb: {
|
|
18
|
+
solid: [string, string, string, string, string, string, string, string, string, string, string, string];
|
|
19
|
+
alpha: [string, string, string, string, string, string, string, string, string, string, string, string];
|
|
20
|
+
};
|
|
21
|
+
p3: {
|
|
22
|
+
solid: [string, string, string, string, string, string, string, string, string, string, string, string];
|
|
23
|
+
alpha: [string, string, string, string, string, string, string, string, string, string, string, string];
|
|
24
|
+
};
|
|
19
25
|
};
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
26
|
+
dark: {
|
|
27
|
+
srgb: {
|
|
28
|
+
solid: [string, string, string, string, string, string, string, string, string, string, string, string];
|
|
29
|
+
alpha: [string, string, string, string, string, string, string, string, string, string, string, string];
|
|
30
|
+
};
|
|
31
|
+
p3: {
|
|
32
|
+
solid: [string, string, string, string, string, string, string, string, string, string, string, string];
|
|
33
|
+
alpha: [string, string, string, string, string, string, string, string, string, string, string, string];
|
|
34
|
+
};
|
|
23
35
|
};
|
|
24
36
|
};
|
|
25
37
|
export default _default;
|
package/dist/colors/amber.js
CHANGED
|
@@ -1,125 +1,141 @@
|
|
|
1
1
|
import {} from "../types.js";
|
|
2
2
|
export default {
|
|
3
3
|
name: 'amber',
|
|
4
|
-
indicator:
|
|
4
|
+
indicator: 9,
|
|
5
5
|
contrast: '#21201c',
|
|
6
|
-
track:
|
|
6
|
+
track: 9,
|
|
7
7
|
surface: {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
8
|
+
light: {
|
|
9
|
+
srgb: '#fefae4cc',
|
|
10
|
+
p3: 'color(display-p3 0.9922 0.9843 0.902 / 0.8)',
|
|
11
11
|
},
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
12
|
+
dark: {
|
|
13
|
+
srgb: '#271f1380',
|
|
14
|
+
p3: 'color(display-p3 0.1412 0.1176 0.0784 / 0.5)',
|
|
15
15
|
},
|
|
16
16
|
},
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
17
|
+
light: {
|
|
18
|
+
srgb: {
|
|
19
|
+
solid: [
|
|
20
|
+
'#fefdfb',
|
|
21
|
+
'#fefbe9',
|
|
22
|
+
'#fff7c2',
|
|
23
|
+
'#ffee9c',
|
|
24
|
+
'#fbe577',
|
|
25
|
+
'#f3d673',
|
|
26
|
+
'#e9c162',
|
|
27
|
+
'#e2a336',
|
|
28
|
+
'#ffc53d',
|
|
29
|
+
'#ffba18',
|
|
30
|
+
'#ab6400',
|
|
31
|
+
'#4f3422',
|
|
32
|
+
],
|
|
33
|
+
alpha: [
|
|
34
|
+
'#c0800004',
|
|
35
|
+
'#f4d10016',
|
|
36
|
+
'#ffde003d',
|
|
37
|
+
'#ffd40063',
|
|
38
|
+
'#f8cf0088',
|
|
39
|
+
'#eab5008c',
|
|
40
|
+
'#dc9b009d',
|
|
41
|
+
'#da8a00c9',
|
|
42
|
+
'#ffb300c2',
|
|
43
|
+
'#ffb300e7',
|
|
44
|
+
'#ab6400',
|
|
45
|
+
'#341500dd',
|
|
46
|
+
],
|
|
47
|
+
},
|
|
48
|
+
p3: {
|
|
49
|
+
solid: [
|
|
50
|
+
'color(display-p3 0.995 0.992 0.985)',
|
|
51
|
+
'color(display-p3 0.994 0.986 0.921)',
|
|
52
|
+
'color(display-p3 0.994 0.969 0.782)',
|
|
53
|
+
'color(display-p3 0.989 0.937 0.65)',
|
|
54
|
+
'color(display-p3 0.97 0.902 0.527)',
|
|
55
|
+
'color(display-p3 0.936 0.844 0.506)',
|
|
56
|
+
'color(display-p3 0.89 0.762 0.443)',
|
|
57
|
+
'color(display-p3 0.85 0.65 0.3)',
|
|
58
|
+
'color(display-p3 1 0.77 0.26)',
|
|
59
|
+
'color(display-p3 0.959 0.741 0.274)',
|
|
60
|
+
'color(display-p3 0.64 0.4 0)',
|
|
61
|
+
'color(display-p3 0.294 0.208 0.145)',
|
|
62
|
+
],
|
|
63
|
+
alpha: [
|
|
64
|
+
'color(display-p3 0.757 0.514 0.024 / 0.016)',
|
|
65
|
+
'color(display-p3 0.902 0.804 0.008 / 0.079)',
|
|
66
|
+
'color(display-p3 0.965 0.859 0.004 / 0.22)',
|
|
67
|
+
'color(display-p3 0.969 0.82 0.004 / 0.35)',
|
|
68
|
+
'color(display-p3 0.933 0.796 0.004 / 0.475)',
|
|
69
|
+
'color(display-p3 0.875 0.682 0.004 / 0.495)',
|
|
70
|
+
'color(display-p3 0.804 0.573 0 / 0.557)',
|
|
71
|
+
'color(display-p3 0.788 0.502 0 / 0.699)',
|
|
72
|
+
'color(display-p3 1 0.686 0 / 0.742)',
|
|
73
|
+
'color(display-p3 0.945 0.643 0 / 0.726)',
|
|
74
|
+
'color(display-p3 0.64 0.4 0)',
|
|
75
|
+
'color(display-p3 0.294 0.208 0.145)',
|
|
76
|
+
],
|
|
77
|
+
},
|
|
70
78
|
},
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
79
|
+
dark: {
|
|
80
|
+
srgb: {
|
|
81
|
+
solid: [
|
|
82
|
+
'#16120c',
|
|
83
|
+
'#1d180f',
|
|
84
|
+
'#302008',
|
|
85
|
+
'#3f2700',
|
|
86
|
+
'#4d3000',
|
|
87
|
+
'#5c3d05',
|
|
88
|
+
'#714f19',
|
|
89
|
+
'#8f6424',
|
|
90
|
+
'#ffc53d',
|
|
91
|
+
'#ffd60a',
|
|
92
|
+
'#ffca16',
|
|
93
|
+
'#ffe7b3',
|
|
94
|
+
],
|
|
95
|
+
alpha: [
|
|
96
|
+
'#e63c0006',
|
|
97
|
+
'#fd9b000d',
|
|
98
|
+
'#fa820022',
|
|
99
|
+
'#fc820032',
|
|
100
|
+
'#fd8b0041',
|
|
101
|
+
'#fd9b0051',
|
|
102
|
+
'#ffab2567',
|
|
103
|
+
'#ffae3587',
|
|
104
|
+
'#ffc53d',
|
|
105
|
+
'#ffd60a',
|
|
106
|
+
'#ffca16',
|
|
107
|
+
'#ffe7b3',
|
|
108
|
+
],
|
|
109
|
+
},
|
|
110
|
+
p3: {
|
|
111
|
+
solid: [
|
|
112
|
+
'color(display-p3 0.082 0.07 0.05)',
|
|
113
|
+
'color(display-p3 0.111 0.094 0.064)',
|
|
114
|
+
'color(display-p3 0.178 0.128 0.049)',
|
|
115
|
+
'color(display-p3 0.239 0.156 0)',
|
|
116
|
+
'color(display-p3 0.29 0.193 0)',
|
|
117
|
+
'color(display-p3 0.344 0.245 0.076)',
|
|
118
|
+
'color(display-p3 0.422 0.314 0.141)',
|
|
119
|
+
'color(display-p3 0.535 0.399 0.189)',
|
|
120
|
+
'color(display-p3 1 0.77 0.26)',
|
|
121
|
+
'color(display-p3 1 0.87 0.15)',
|
|
122
|
+
'color(display-p3 1 0.8 0.29)',
|
|
123
|
+
'color(display-p3 0.984 0.909 0.726)',
|
|
124
|
+
],
|
|
125
|
+
alpha: [
|
|
126
|
+
'color(display-p3 0.992 0.298 0 / 0.017)',
|
|
127
|
+
'color(display-p3 0.988 0.651 0 / 0.047)',
|
|
128
|
+
'color(display-p3 1 0.6 0 / 0.118)',
|
|
129
|
+
'color(display-p3 1 0.557 0 / 0.185)',
|
|
130
|
+
'color(display-p3 1 0.592 0 / 0.24)',
|
|
131
|
+
'color(display-p3 1 0.659 0.094 / 0.299)',
|
|
132
|
+
'color(display-p3 1 0.714 0.263 / 0.383)',
|
|
133
|
+
'color(display-p3 0.996 0.729 0.306 / 0.5)',
|
|
134
|
+
'color(display-p3 1 0.769 0.259)',
|
|
135
|
+
'color(display-p3 1 0.871 0.149)',
|
|
136
|
+
'color(display-p3 1 0.8 0.29)',
|
|
137
|
+
'color(display-p3 0.984 0.909 0.726)',
|
|
138
|
+
],
|
|
139
|
+
},
|
|
124
140
|
},
|
|
125
141
|
};
|