@diskette/palette 0.18.0 → 0.19.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/dist/cli/commands/generate.d.ts +0 -10
- package/dist/cli/commands/generate.js +22 -23
- package/dist/colors/amber.d.ts +12 -112
- package/dist/colors/amber.js +115 -114
- package/dist/colors/blue.d.ts +12 -112
- package/dist/colors/blue.js +115 -114
- package/dist/colors/bronze.d.ts +12 -112
- package/dist/colors/bronze.js +115 -114
- package/dist/colors/brown.d.ts +12 -112
- package/dist/colors/brown.js +115 -114
- package/dist/colors/crimson.d.ts +12 -112
- package/dist/colors/crimson.js +115 -114
- package/dist/colors/cyan.d.ts +12 -112
- package/dist/colors/cyan.js +115 -114
- package/dist/colors/gold.d.ts +12 -112
- package/dist/colors/gold.js +115 -114
- package/dist/colors/grass.d.ts +12 -112
- package/dist/colors/grass.js +115 -114
- package/dist/colors/gray.d.ts +12 -112
- package/dist/colors/gray.js +115 -114
- package/dist/colors/green.d.ts +12 -112
- package/dist/colors/green.js +115 -114
- package/dist/colors/indigo.d.ts +12 -112
- package/dist/colors/indigo.js +115 -114
- package/dist/colors/iris.d.ts +12 -112
- package/dist/colors/iris.js +115 -114
- package/dist/colors/jade.d.ts +12 -112
- package/dist/colors/jade.js +115 -114
- package/dist/colors/lime.d.ts +12 -112
- package/dist/colors/lime.js +115 -114
- package/dist/colors/mauve.d.ts +12 -112
- package/dist/colors/mauve.js +115 -114
- package/dist/colors/mint.d.ts +12 -112
- package/dist/colors/mint.js +115 -114
- package/dist/colors/olive.d.ts +12 -112
- package/dist/colors/olive.js +115 -114
- package/dist/colors/orange.d.ts +12 -112
- package/dist/colors/orange.js +115 -114
- package/dist/colors/pink.d.ts +12 -112
- package/dist/colors/pink.js +115 -114
- package/dist/colors/plum.d.ts +12 -112
- package/dist/colors/plum.js +115 -114
- package/dist/colors/purple.d.ts +12 -112
- package/dist/colors/purple.js +115 -114
- package/dist/colors/red.d.ts +12 -112
- package/dist/colors/red.js +115 -114
- package/dist/colors/ruby.d.ts +12 -112
- package/dist/colors/ruby.js +115 -114
- package/dist/colors/sage.d.ts +12 -112
- package/dist/colors/sage.js +115 -114
- package/dist/colors/sand.d.ts +12 -112
- package/dist/colors/sand.js +115 -114
- package/dist/colors/sky.d.ts +12 -112
- package/dist/colors/sky.js +115 -114
- package/dist/colors/slate.d.ts +12 -112
- package/dist/colors/slate.js +115 -114
- package/dist/colors/teal.d.ts +12 -112
- package/dist/colors/teal.js +115 -114
- package/dist/colors/tomato.d.ts +12 -112
- package/dist/colors/tomato.js +115 -114
- package/dist/colors/violet.d.ts +12 -112
- package/dist/colors/violet.js +115 -114
- package/dist/colors/yellow.d.ts +12 -112
- package/dist/colors/yellow.js +115 -114
- package/dist/css.d.ts +2 -2
- package/dist/css.js +6 -5
- package/dist/index.d.ts +314 -3414
- package/dist/index.js +1 -2
- package/dist/types.d.ts +9 -12
- package/dist/utils.d.ts +1 -0
- package/dist/utils.js +8 -0
- package/package.json +1 -1
|
@@ -3,11 +3,6 @@ export declare const generate: import("cleye").Command<{
|
|
|
3
3
|
alias: "gen";
|
|
4
4
|
parameters: "[colors]"[];
|
|
5
5
|
flags: {
|
|
6
|
-
grays: {
|
|
7
|
-
type: StringConstructor;
|
|
8
|
-
alias: string;
|
|
9
|
-
description: string;
|
|
10
|
-
};
|
|
11
6
|
accents: {
|
|
12
7
|
type: BooleanConstructor;
|
|
13
8
|
alias: string;
|
|
@@ -27,11 +22,6 @@ export declare const generate: import("cleye").Command<{
|
|
|
27
22
|
}, {
|
|
28
23
|
command: "generate";
|
|
29
24
|
} & import("type-flag").TypeFlag<{
|
|
30
|
-
grays: {
|
|
31
|
-
type: StringConstructor;
|
|
32
|
-
alias: string;
|
|
33
|
-
description: string;
|
|
34
|
-
};
|
|
35
25
|
accents: {
|
|
36
26
|
type: BooleanConstructor;
|
|
37
27
|
alias: string;
|
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
import { command } from 'cleye';
|
|
2
|
-
import { mkdirSync
|
|
2
|
+
import { mkdirSync } from 'node:fs';
|
|
3
3
|
import { resolve } from 'node:path';
|
|
4
|
-
import
|
|
4
|
+
import * as palette from "../../colors/index.js";
|
|
5
5
|
import { css } from "../../css.js";
|
|
6
|
-
import { accentColors,
|
|
6
|
+
import { accentColors, grayColors } from "../../types.js";
|
|
7
|
+
import { writeFileIfNotExists } from "../../utils.js";
|
|
8
|
+
// Combined list of all colors (deduplicated since 'gray' appears in both)
|
|
9
|
+
const allColors = [...new Set([...accentColors, ...grayColors])];
|
|
7
10
|
function parseColors(input, available) {
|
|
8
11
|
if (!input)
|
|
9
12
|
return [];
|
|
@@ -16,11 +19,6 @@ export const generate = command({
|
|
|
16
19
|
alias: 'gen',
|
|
17
20
|
parameters: ['[colors]'],
|
|
18
21
|
flags: {
|
|
19
|
-
grays: {
|
|
20
|
-
type: String,
|
|
21
|
-
alias: 'g',
|
|
22
|
-
description: 'Gray colors to generate (comma-separated or "all")',
|
|
23
|
-
},
|
|
24
22
|
accents: {
|
|
25
23
|
type: Boolean,
|
|
26
24
|
alias: 'a',
|
|
@@ -36,8 +34,8 @@ export const generate = command({
|
|
|
36
34
|
help: {
|
|
37
35
|
description: 'Generate CSS files for color palettes',
|
|
38
36
|
examples: [
|
|
39
|
-
'palette generate blue,red
|
|
40
|
-
'palette gen all -
|
|
37
|
+
'palette generate blue,red,slate -a -o ./styles',
|
|
38
|
+
'palette gen all -a -o ./styles',
|
|
41
39
|
],
|
|
42
40
|
},
|
|
43
41
|
}, (argv) => {
|
|
@@ -45,29 +43,30 @@ export const generate = command({
|
|
|
45
43
|
console.error('Error: --output (-o) is required');
|
|
46
44
|
process.exit(1);
|
|
47
45
|
}
|
|
48
|
-
const
|
|
49
|
-
const selectedGrayColors = parseColors(argv.flags.grays, grayColors.filter((g) => g !== 'gray'));
|
|
50
|
-
const selectedColors = [...selectedAccentColors, ...selectedGrayColors];
|
|
46
|
+
const selectedColors = parseColors(argv._.colors, allColors);
|
|
51
47
|
if (selectedColors.length === 0) {
|
|
52
|
-
console.error('No colors selected.
|
|
48
|
+
console.error('No colors selected.');
|
|
53
49
|
console.error('Run "palette list" to see available colors.');
|
|
54
50
|
process.exit(1);
|
|
55
51
|
}
|
|
56
52
|
const outputPath = resolve(process.cwd(), argv.flags.output);
|
|
57
53
|
mkdirSync(outputPath, { recursive: true });
|
|
58
54
|
for (const name of selectedColors) {
|
|
59
|
-
const
|
|
60
|
-
|
|
61
|
-
|
|
55
|
+
const color = palette[name];
|
|
56
|
+
writeFileIfNotExists(`${outputPath}/${name}.css`, css.palette(color, { schemes: ['light'], alpha: true }));
|
|
57
|
+
writeFileIfNotExists(`${outputPath}/${name}-dark.css`, css.palette(color, { schemes: ['dark'], alpha: true }));
|
|
62
58
|
console.log(` ${name}.css, ${name}-dark.css`);
|
|
63
59
|
}
|
|
64
|
-
|
|
65
|
-
|
|
60
|
+
writeFileIfNotExists(`${outputPath}/black-alpha.css`, css.alpha(palette.blackAlpha));
|
|
61
|
+
writeFileIfNotExists(`${outputPath}/white-alpha.css`, css.alpha(palette.whiteAlpha));
|
|
66
62
|
console.log(' black-alpha.css, white-alpha.css');
|
|
67
63
|
if (argv.flags.accents) {
|
|
68
|
-
|
|
69
|
-
const
|
|
70
|
-
|
|
64
|
+
// Partition selected colors: gray is treated as accent, other grayColors are grays
|
|
65
|
+
const selectedAccents = selectedColors.filter((c) => accentColors.includes(c));
|
|
66
|
+
const selectedGrays = selectedColors.filter((c) => c !== 'gray' && grayColors.includes(c));
|
|
67
|
+
const accents = css.accents(selectedAccents);
|
|
68
|
+
const grays = css.grays(selectedGrays, 'diskette-palette');
|
|
69
|
+
writeFileIfNotExists(`${outputPath}/accents.css`, `${accents}\n${grays}`);
|
|
71
70
|
console.log(' accents.css');
|
|
72
71
|
}
|
|
73
72
|
const imports = [
|
|
@@ -81,7 +80,7 @@ export const generate = command({
|
|
|
81
80
|
]
|
|
82
81
|
.map((path) => `@import '${path}';`)
|
|
83
82
|
.join('\n');
|
|
84
|
-
|
|
83
|
+
writeFileIfNotExists(`${outputPath}/index.css`, `${imports}\n\n${css.tailwind(['white', 'black', 'accent', ...selectedColors])}`);
|
|
85
84
|
console.log(' index.css');
|
|
86
85
|
console.log(`\nCSS saved to ${outputPath}`);
|
|
87
86
|
});
|
package/dist/colors/amber.d.ts
CHANGED
|
@@ -1,125 +1,25 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
|
-
|
|
3
|
-
light: {
|
|
4
|
-
amber1: string;
|
|
5
|
-
amber2: string;
|
|
6
|
-
amber3: string;
|
|
7
|
-
amber4: string;
|
|
8
|
-
amber5: string;
|
|
9
|
-
amber6: string;
|
|
10
|
-
amber7: string;
|
|
11
|
-
amber8: string;
|
|
12
|
-
amber9: string;
|
|
13
|
-
amber10: string;
|
|
14
|
-
amber11: string;
|
|
15
|
-
amber12: string;
|
|
16
|
-
amberA1: string;
|
|
17
|
-
amberA2: string;
|
|
18
|
-
amberA3: string;
|
|
19
|
-
amberA4: string;
|
|
20
|
-
amberA5: string;
|
|
21
|
-
amberA6: string;
|
|
22
|
-
amberA7: string;
|
|
23
|
-
amberA8: string;
|
|
24
|
-
amberA9: string;
|
|
25
|
-
amberA10: string;
|
|
26
|
-
amberA11: string;
|
|
27
|
-
amberA12: string;
|
|
28
|
-
};
|
|
29
|
-
dark: {
|
|
30
|
-
amber1: string;
|
|
31
|
-
amber2: string;
|
|
32
|
-
amber3: string;
|
|
33
|
-
amber4: string;
|
|
34
|
-
amber5: string;
|
|
35
|
-
amber6: string;
|
|
36
|
-
amber7: string;
|
|
37
|
-
amber8: string;
|
|
38
|
-
amber9: string;
|
|
39
|
-
amber10: string;
|
|
40
|
-
amber11: string;
|
|
41
|
-
amber12: string;
|
|
42
|
-
amberA1: string;
|
|
43
|
-
amberA2: string;
|
|
44
|
-
amberA3: string;
|
|
45
|
-
amberA4: string;
|
|
46
|
-
amberA5: string;
|
|
47
|
-
amberA6: string;
|
|
48
|
-
amberA7: string;
|
|
49
|
-
amberA8: string;
|
|
50
|
-
amberA9: string;
|
|
51
|
-
amberA10: string;
|
|
52
|
-
amberA11: string;
|
|
53
|
-
amberA12: string;
|
|
54
|
-
};
|
|
55
|
-
};
|
|
56
|
-
p3: {
|
|
57
|
-
light: {
|
|
58
|
-
amber1: string;
|
|
59
|
-
amber2: string;
|
|
60
|
-
amber3: string;
|
|
61
|
-
amber4: string;
|
|
62
|
-
amber5: string;
|
|
63
|
-
amber6: string;
|
|
64
|
-
amber7: string;
|
|
65
|
-
amber8: string;
|
|
66
|
-
amber9: string;
|
|
67
|
-
amber10: string;
|
|
68
|
-
amber11: string;
|
|
69
|
-
amber12: string;
|
|
70
|
-
amberA1: string;
|
|
71
|
-
amberA2: string;
|
|
72
|
-
amberA3: string;
|
|
73
|
-
amberA4: string;
|
|
74
|
-
amberA5: string;
|
|
75
|
-
amberA6: string;
|
|
76
|
-
amberA7: string;
|
|
77
|
-
amberA8: string;
|
|
78
|
-
amberA9: string;
|
|
79
|
-
amberA10: string;
|
|
80
|
-
amberA11: string;
|
|
81
|
-
amberA12: string;
|
|
82
|
-
};
|
|
83
|
-
dark: {
|
|
84
|
-
amber1: string;
|
|
85
|
-
amber2: string;
|
|
86
|
-
amber3: string;
|
|
87
|
-
amber4: string;
|
|
88
|
-
amber5: string;
|
|
89
|
-
amber6: string;
|
|
90
|
-
amber7: string;
|
|
91
|
-
amber8: string;
|
|
92
|
-
amber9: string;
|
|
93
|
-
amber10: string;
|
|
94
|
-
amber11: string;
|
|
95
|
-
amber12: string;
|
|
96
|
-
amberA1: string;
|
|
97
|
-
amberA2: string;
|
|
98
|
-
amberA3: string;
|
|
99
|
-
amberA4: string;
|
|
100
|
-
amberA5: string;
|
|
101
|
-
amberA6: string;
|
|
102
|
-
amberA7: string;
|
|
103
|
-
amberA8: string;
|
|
104
|
-
amberA9: string;
|
|
105
|
-
amberA10: string;
|
|
106
|
-
amberA11: string;
|
|
107
|
-
amberA12: string;
|
|
108
|
-
};
|
|
109
|
-
};
|
|
110
|
-
contrast: string;
|
|
2
|
+
name: "amber";
|
|
111
3
|
indicator: string;
|
|
4
|
+
contrast: string;
|
|
112
5
|
track: string;
|
|
113
6
|
surface: {
|
|
114
|
-
|
|
7
|
+
p3: {
|
|
115
8
|
light: string;
|
|
116
9
|
dark: string;
|
|
117
10
|
};
|
|
118
|
-
|
|
11
|
+
srgb: {
|
|
119
12
|
light: string;
|
|
120
13
|
dark: string;
|
|
121
14
|
};
|
|
122
15
|
};
|
|
123
|
-
|
|
16
|
+
srgb: {
|
|
17
|
+
light: [string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string];
|
|
18
|
+
dark: [string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string];
|
|
19
|
+
};
|
|
20
|
+
p3: {
|
|
21
|
+
light: [string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string];
|
|
22
|
+
dark: [string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string];
|
|
23
|
+
};
|
|
124
24
|
};
|
|
125
25
|
export default _default;
|
package/dist/colors/amber.js
CHANGED
|
@@ -1,124 +1,125 @@
|
|
|
1
|
+
import {} from "../types.js";
|
|
1
2
|
export default {
|
|
2
|
-
|
|
3
|
-
light: {
|
|
4
|
-
amber1: '#fefdfb',
|
|
5
|
-
amber2: '#fefbe9',
|
|
6
|
-
amber3: '#fff7c2',
|
|
7
|
-
amber4: '#ffee9c',
|
|
8
|
-
amber5: '#fbe577',
|
|
9
|
-
amber6: '#f3d673',
|
|
10
|
-
amber7: '#e9c162',
|
|
11
|
-
amber8: '#e2a336',
|
|
12
|
-
amber9: '#ffc53d',
|
|
13
|
-
amber10: '#ffba18',
|
|
14
|
-
amber11: '#ab6400',
|
|
15
|
-
amber12: '#4f3422',
|
|
16
|
-
amberA1: '#c0800004',
|
|
17
|
-
amberA2: '#f4d10016',
|
|
18
|
-
amberA3: '#ffde003d',
|
|
19
|
-
amberA4: '#ffd40063',
|
|
20
|
-
amberA5: '#f8cf0088',
|
|
21
|
-
amberA6: '#eab5008c',
|
|
22
|
-
amberA7: '#dc9b009d',
|
|
23
|
-
amberA8: '#da8a00c9',
|
|
24
|
-
amberA9: '#ffb300c2',
|
|
25
|
-
amberA10: '#ffb300e7',
|
|
26
|
-
amberA11: '#ab6400',
|
|
27
|
-
amberA12: '#341500dd',
|
|
28
|
-
},
|
|
29
|
-
dark: {
|
|
30
|
-
amber1: '#16120c',
|
|
31
|
-
amber2: '#1d180f',
|
|
32
|
-
amber3: '#302008',
|
|
33
|
-
amber4: '#3f2700',
|
|
34
|
-
amber5: '#4d3000',
|
|
35
|
-
amber6: '#5c3d05',
|
|
36
|
-
amber7: '#714f19',
|
|
37
|
-
amber8: '#8f6424',
|
|
38
|
-
amber9: '#ffc53d',
|
|
39
|
-
amber10: '#ffd60a',
|
|
40
|
-
amber11: '#ffca16',
|
|
41
|
-
amber12: '#ffe7b3',
|
|
42
|
-
amberA1: '#e63c0006',
|
|
43
|
-
amberA2: '#fd9b000d',
|
|
44
|
-
amberA3: '#fa820022',
|
|
45
|
-
amberA4: '#fc820032',
|
|
46
|
-
amberA5: '#fd8b0041',
|
|
47
|
-
amberA6: '#fd9b0051',
|
|
48
|
-
amberA7: '#ffab2567',
|
|
49
|
-
amberA8: '#ffae3587',
|
|
50
|
-
amberA9: '#ffc53d',
|
|
51
|
-
amberA10: '#ffd60a',
|
|
52
|
-
amberA11: '#ffca16',
|
|
53
|
-
amberA12: '#ffe7b3',
|
|
54
|
-
},
|
|
55
|
-
},
|
|
56
|
-
p3: {
|
|
57
|
-
light: {
|
|
58
|
-
amber1: 'color(display-p3 0.995 0.992 0.985)',
|
|
59
|
-
amber2: 'color(display-p3 0.994 0.986 0.921)',
|
|
60
|
-
amber3: 'color(display-p3 0.994 0.969 0.782)',
|
|
61
|
-
amber4: 'color(display-p3 0.989 0.937 0.65)',
|
|
62
|
-
amber5: 'color(display-p3 0.97 0.902 0.527)',
|
|
63
|
-
amber6: 'color(display-p3 0.936 0.844 0.506)',
|
|
64
|
-
amber7: 'color(display-p3 0.89 0.762 0.443)',
|
|
65
|
-
amber8: 'color(display-p3 0.85 0.65 0.3)',
|
|
66
|
-
amber9: 'color(display-p3 1 0.77 0.26)',
|
|
67
|
-
amber10: 'color(display-p3 0.959 0.741 0.274)',
|
|
68
|
-
amber11: 'color(display-p3 0.64 0.4 0)',
|
|
69
|
-
amber12: 'color(display-p3 0.294 0.208 0.145)',
|
|
70
|
-
amberA1: 'color(display-p3 0.757 0.514 0.024 / 0.016)',
|
|
71
|
-
amberA2: 'color(display-p3 0.902 0.804 0.008 / 0.079)',
|
|
72
|
-
amberA3: 'color(display-p3 0.965 0.859 0.004 / 0.22)',
|
|
73
|
-
amberA4: 'color(display-p3 0.969 0.82 0.004 / 0.35)',
|
|
74
|
-
amberA5: 'color(display-p3 0.933 0.796 0.004 / 0.475)',
|
|
75
|
-
amberA6: 'color(display-p3 0.875 0.682 0.004 / 0.495)',
|
|
76
|
-
amberA7: 'color(display-p3 0.804 0.573 0 / 0.557)',
|
|
77
|
-
amberA8: 'color(display-p3 0.788 0.502 0 / 0.699)',
|
|
78
|
-
amberA9: 'color(display-p3 1 0.686 0 / 0.742)',
|
|
79
|
-
amberA10: 'color(display-p3 0.945 0.643 0 / 0.726)',
|
|
80
|
-
amberA11: 'color(display-p3 0.64 0.4 0)',
|
|
81
|
-
amberA12: 'color(display-p3 0.294 0.208 0.145)',
|
|
82
|
-
},
|
|
83
|
-
dark: {
|
|
84
|
-
amber1: 'color(display-p3 0.082 0.07 0.05)',
|
|
85
|
-
amber2: 'color(display-p3 0.111 0.094 0.064)',
|
|
86
|
-
amber3: 'color(display-p3 0.178 0.128 0.049)',
|
|
87
|
-
amber4: 'color(display-p3 0.239 0.156 0)',
|
|
88
|
-
amber5: 'color(display-p3 0.29 0.193 0)',
|
|
89
|
-
amber6: 'color(display-p3 0.344 0.245 0.076)',
|
|
90
|
-
amber7: 'color(display-p3 0.422 0.314 0.141)',
|
|
91
|
-
amber8: 'color(display-p3 0.535 0.399 0.189)',
|
|
92
|
-
amber9: 'color(display-p3 1 0.77 0.26)',
|
|
93
|
-
amber10: 'color(display-p3 1 0.87 0.15)',
|
|
94
|
-
amber11: 'color(display-p3 1 0.8 0.29)',
|
|
95
|
-
amber12: 'color(display-p3 0.984 0.909 0.726)',
|
|
96
|
-
amberA1: 'color(display-p3 0.992 0.298 0 / 0.017)',
|
|
97
|
-
amberA2: 'color(display-p3 0.988 0.651 0 / 0.047)',
|
|
98
|
-
amberA3: 'color(display-p3 1 0.6 0 / 0.118)',
|
|
99
|
-
amberA4: 'color(display-p3 1 0.557 0 / 0.185)',
|
|
100
|
-
amberA5: 'color(display-p3 1 0.592 0 / 0.24)',
|
|
101
|
-
amberA6: 'color(display-p3 1 0.659 0.094 / 0.299)',
|
|
102
|
-
amberA7: 'color(display-p3 1 0.714 0.263 / 0.383)',
|
|
103
|
-
amberA8: 'color(display-p3 0.996 0.729 0.306 / 0.5)',
|
|
104
|
-
amberA9: 'color(display-p3 1 0.769 0.259)',
|
|
105
|
-
amberA10: 'color(display-p3 1 0.871 0.149)',
|
|
106
|
-
amberA11: 'color(display-p3 1 0.8 0.29)',
|
|
107
|
-
amberA12: 'color(display-p3 0.984 0.909 0.726)',
|
|
108
|
-
},
|
|
109
|
-
},
|
|
110
|
-
contrast: '#21201c',
|
|
3
|
+
name: 'amber',
|
|
111
4
|
indicator: 'amber9',
|
|
5
|
+
contrast: '#21201c',
|
|
112
6
|
track: 'amber9',
|
|
113
7
|
surface: {
|
|
114
|
-
srgb: {
|
|
115
|
-
light: '#fefae4cc',
|
|
116
|
-
dark: '#271f1380',
|
|
117
|
-
},
|
|
118
8
|
p3: {
|
|
119
9
|
light: 'color(display-p3 0.9922 0.9843 0.902 / 0.8)',
|
|
120
10
|
dark: 'color(display-p3 0.1412 0.1176 0.0784 / 0.5)',
|
|
121
11
|
},
|
|
12
|
+
srgb: {
|
|
13
|
+
light: '#fefae4cc',
|
|
14
|
+
dark: '#271f1380',
|
|
15
|
+
},
|
|
16
|
+
},
|
|
17
|
+
srgb: {
|
|
18
|
+
light: [
|
|
19
|
+
'#fefdfb',
|
|
20
|
+
'#fefbe9',
|
|
21
|
+
'#fff7c2',
|
|
22
|
+
'#ffee9c',
|
|
23
|
+
'#fbe577',
|
|
24
|
+
'#f3d673',
|
|
25
|
+
'#e9c162',
|
|
26
|
+
'#e2a336',
|
|
27
|
+
'#ffc53d',
|
|
28
|
+
'#ffba18',
|
|
29
|
+
'#ab6400',
|
|
30
|
+
'#4f3422',
|
|
31
|
+
'#c0800004',
|
|
32
|
+
'#f4d10016',
|
|
33
|
+
'#ffde003d',
|
|
34
|
+
'#ffd40063',
|
|
35
|
+
'#f8cf0088',
|
|
36
|
+
'#eab5008c',
|
|
37
|
+
'#dc9b009d',
|
|
38
|
+
'#da8a00c9',
|
|
39
|
+
'#ffb300c2',
|
|
40
|
+
'#ffb300e7',
|
|
41
|
+
'#ab6400',
|
|
42
|
+
'#341500dd',
|
|
43
|
+
],
|
|
44
|
+
dark: [
|
|
45
|
+
'#16120c',
|
|
46
|
+
'#1d180f',
|
|
47
|
+
'#302008',
|
|
48
|
+
'#3f2700',
|
|
49
|
+
'#4d3000',
|
|
50
|
+
'#5c3d05',
|
|
51
|
+
'#714f19',
|
|
52
|
+
'#8f6424',
|
|
53
|
+
'#ffc53d',
|
|
54
|
+
'#ffd60a',
|
|
55
|
+
'#ffca16',
|
|
56
|
+
'#ffe7b3',
|
|
57
|
+
'#e63c0006',
|
|
58
|
+
'#fd9b000d',
|
|
59
|
+
'#fa820022',
|
|
60
|
+
'#fc820032',
|
|
61
|
+
'#fd8b0041',
|
|
62
|
+
'#fd9b0051',
|
|
63
|
+
'#ffab2567',
|
|
64
|
+
'#ffae3587',
|
|
65
|
+
'#ffc53d',
|
|
66
|
+
'#ffd60a',
|
|
67
|
+
'#ffca16',
|
|
68
|
+
'#ffe7b3',
|
|
69
|
+
],
|
|
70
|
+
},
|
|
71
|
+
p3: {
|
|
72
|
+
light: [
|
|
73
|
+
'color(display-p3 0.995 0.992 0.985)',
|
|
74
|
+
'color(display-p3 0.994 0.986 0.921)',
|
|
75
|
+
'color(display-p3 0.994 0.969 0.782)',
|
|
76
|
+
'color(display-p3 0.989 0.937 0.65)',
|
|
77
|
+
'color(display-p3 0.97 0.902 0.527)',
|
|
78
|
+
'color(display-p3 0.936 0.844 0.506)',
|
|
79
|
+
'color(display-p3 0.89 0.762 0.443)',
|
|
80
|
+
'color(display-p3 0.85 0.65 0.3)',
|
|
81
|
+
'color(display-p3 1 0.77 0.26)',
|
|
82
|
+
'color(display-p3 0.959 0.741 0.274)',
|
|
83
|
+
'color(display-p3 0.64 0.4 0)',
|
|
84
|
+
'color(display-p3 0.294 0.208 0.145)',
|
|
85
|
+
'color(display-p3 0.757 0.514 0.024 / 0.016)',
|
|
86
|
+
'color(display-p3 0.902 0.804 0.008 / 0.079)',
|
|
87
|
+
'color(display-p3 0.965 0.859 0.004 / 0.22)',
|
|
88
|
+
'color(display-p3 0.969 0.82 0.004 / 0.35)',
|
|
89
|
+
'color(display-p3 0.933 0.796 0.004 / 0.475)',
|
|
90
|
+
'color(display-p3 0.875 0.682 0.004 / 0.495)',
|
|
91
|
+
'color(display-p3 0.804 0.573 0 / 0.557)',
|
|
92
|
+
'color(display-p3 0.788 0.502 0 / 0.699)',
|
|
93
|
+
'color(display-p3 1 0.686 0 / 0.742)',
|
|
94
|
+
'color(display-p3 0.945 0.643 0 / 0.726)',
|
|
95
|
+
'color(display-p3 0.64 0.4 0)',
|
|
96
|
+
'color(display-p3 0.294 0.208 0.145)',
|
|
97
|
+
],
|
|
98
|
+
dark: [
|
|
99
|
+
'color(display-p3 0.082 0.07 0.05)',
|
|
100
|
+
'color(display-p3 0.111 0.094 0.064)',
|
|
101
|
+
'color(display-p3 0.178 0.128 0.049)',
|
|
102
|
+
'color(display-p3 0.239 0.156 0)',
|
|
103
|
+
'color(display-p3 0.29 0.193 0)',
|
|
104
|
+
'color(display-p3 0.344 0.245 0.076)',
|
|
105
|
+
'color(display-p3 0.422 0.314 0.141)',
|
|
106
|
+
'color(display-p3 0.535 0.399 0.189)',
|
|
107
|
+
'color(display-p3 1 0.77 0.26)',
|
|
108
|
+
'color(display-p3 1 0.87 0.15)',
|
|
109
|
+
'color(display-p3 1 0.8 0.29)',
|
|
110
|
+
'color(display-p3 0.984 0.909 0.726)',
|
|
111
|
+
'color(display-p3 0.992 0.298 0 / 0.017)',
|
|
112
|
+
'color(display-p3 0.988 0.651 0 / 0.047)',
|
|
113
|
+
'color(display-p3 1 0.6 0 / 0.118)',
|
|
114
|
+
'color(display-p3 1 0.557 0 / 0.185)',
|
|
115
|
+
'color(display-p3 1 0.592 0 / 0.24)',
|
|
116
|
+
'color(display-p3 1 0.659 0.094 / 0.299)',
|
|
117
|
+
'color(display-p3 1 0.714 0.263 / 0.383)',
|
|
118
|
+
'color(display-p3 0.996 0.729 0.306 / 0.5)',
|
|
119
|
+
'color(display-p3 1 0.769 0.259)',
|
|
120
|
+
'color(display-p3 1 0.871 0.149)',
|
|
121
|
+
'color(display-p3 1 0.8 0.29)',
|
|
122
|
+
'color(display-p3 0.984 0.909 0.726)',
|
|
123
|
+
],
|
|
122
124
|
},
|
|
123
|
-
name: 'amber',
|
|
124
125
|
};
|
package/dist/colors/blue.d.ts
CHANGED
|
@@ -1,125 +1,25 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
|
-
|
|
3
|
-
light: {
|
|
4
|
-
blue1: string;
|
|
5
|
-
blue2: string;
|
|
6
|
-
blue3: string;
|
|
7
|
-
blue4: string;
|
|
8
|
-
blue5: string;
|
|
9
|
-
blue6: string;
|
|
10
|
-
blue7: string;
|
|
11
|
-
blue8: string;
|
|
12
|
-
blue9: string;
|
|
13
|
-
blue10: string;
|
|
14
|
-
blue11: string;
|
|
15
|
-
blue12: string;
|
|
16
|
-
blueA1: string;
|
|
17
|
-
blueA2: string;
|
|
18
|
-
blueA3: string;
|
|
19
|
-
blueA4: string;
|
|
20
|
-
blueA5: string;
|
|
21
|
-
blueA6: string;
|
|
22
|
-
blueA7: string;
|
|
23
|
-
blueA8: string;
|
|
24
|
-
blueA9: string;
|
|
25
|
-
blueA10: string;
|
|
26
|
-
blueA11: string;
|
|
27
|
-
blueA12: string;
|
|
28
|
-
};
|
|
29
|
-
dark: {
|
|
30
|
-
blue1: string;
|
|
31
|
-
blue2: string;
|
|
32
|
-
blue3: string;
|
|
33
|
-
blue4: string;
|
|
34
|
-
blue5: string;
|
|
35
|
-
blue6: string;
|
|
36
|
-
blue7: string;
|
|
37
|
-
blue8: string;
|
|
38
|
-
blue9: string;
|
|
39
|
-
blue10: string;
|
|
40
|
-
blue11: string;
|
|
41
|
-
blue12: string;
|
|
42
|
-
blueA1: string;
|
|
43
|
-
blueA2: string;
|
|
44
|
-
blueA3: string;
|
|
45
|
-
blueA4: string;
|
|
46
|
-
blueA5: string;
|
|
47
|
-
blueA6: string;
|
|
48
|
-
blueA7: string;
|
|
49
|
-
blueA8: string;
|
|
50
|
-
blueA9: string;
|
|
51
|
-
blueA10: string;
|
|
52
|
-
blueA11: string;
|
|
53
|
-
blueA12: string;
|
|
54
|
-
};
|
|
55
|
-
};
|
|
56
|
-
p3: {
|
|
57
|
-
light: {
|
|
58
|
-
blue1: string;
|
|
59
|
-
blue2: string;
|
|
60
|
-
blue3: string;
|
|
61
|
-
blue4: string;
|
|
62
|
-
blue5: string;
|
|
63
|
-
blue6: string;
|
|
64
|
-
blue7: string;
|
|
65
|
-
blue8: string;
|
|
66
|
-
blue9: string;
|
|
67
|
-
blue10: string;
|
|
68
|
-
blue11: string;
|
|
69
|
-
blue12: string;
|
|
70
|
-
blueA1: string;
|
|
71
|
-
blueA2: string;
|
|
72
|
-
blueA3: string;
|
|
73
|
-
blueA4: string;
|
|
74
|
-
blueA5: string;
|
|
75
|
-
blueA6: string;
|
|
76
|
-
blueA7: string;
|
|
77
|
-
blueA8: string;
|
|
78
|
-
blueA9: string;
|
|
79
|
-
blueA10: string;
|
|
80
|
-
blueA11: string;
|
|
81
|
-
blueA12: string;
|
|
82
|
-
};
|
|
83
|
-
dark: {
|
|
84
|
-
blue1: string;
|
|
85
|
-
blue2: string;
|
|
86
|
-
blue3: string;
|
|
87
|
-
blue4: string;
|
|
88
|
-
blue5: string;
|
|
89
|
-
blue6: string;
|
|
90
|
-
blue7: string;
|
|
91
|
-
blue8: string;
|
|
92
|
-
blue9: string;
|
|
93
|
-
blue10: string;
|
|
94
|
-
blue11: string;
|
|
95
|
-
blue12: string;
|
|
96
|
-
blueA1: string;
|
|
97
|
-
blueA2: string;
|
|
98
|
-
blueA3: string;
|
|
99
|
-
blueA4: string;
|
|
100
|
-
blueA5: string;
|
|
101
|
-
blueA6: string;
|
|
102
|
-
blueA7: string;
|
|
103
|
-
blueA8: string;
|
|
104
|
-
blueA9: string;
|
|
105
|
-
blueA10: string;
|
|
106
|
-
blueA11: string;
|
|
107
|
-
blueA12: string;
|
|
108
|
-
};
|
|
109
|
-
};
|
|
110
|
-
contrast: string;
|
|
2
|
+
name: "blue";
|
|
111
3
|
indicator: string;
|
|
4
|
+
contrast: string;
|
|
112
5
|
track: string;
|
|
113
6
|
surface: {
|
|
114
|
-
|
|
7
|
+
p3: {
|
|
115
8
|
light: string;
|
|
116
9
|
dark: string;
|
|
117
10
|
};
|
|
118
|
-
|
|
11
|
+
srgb: {
|
|
119
12
|
light: string;
|
|
120
13
|
dark: string;
|
|
121
14
|
};
|
|
122
15
|
};
|
|
123
|
-
|
|
16
|
+
srgb: {
|
|
17
|
+
light: [string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string];
|
|
18
|
+
dark: [string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string];
|
|
19
|
+
};
|
|
20
|
+
p3: {
|
|
21
|
+
light: [string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string];
|
|
22
|
+
dark: [string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string];
|
|
23
|
+
};
|
|
124
24
|
};
|
|
125
25
|
export default _default;
|