@diskette/palette 0.15.0 → 0.18.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/cli.js +11 -0
- package/dist/cli/commands/generate.d.ts +64 -0
- package/dist/cli/commands/generate.js +87 -0
- package/dist/cli/commands/list.d.ts +48 -0
- package/dist/cli/commands/list.js +33 -0
- package/dist/colors/amber.d.ts +1 -5
- package/dist/colors/amber.js +0 -4
- package/dist/colors/blue.d.ts +1 -5
- package/dist/colors/blue.js +0 -4
- package/dist/colors/bronze.d.ts +1 -5
- package/dist/colors/bronze.js +0 -4
- package/dist/colors/brown.d.ts +1 -5
- package/dist/colors/brown.js +0 -4
- package/dist/colors/crimson.d.ts +1 -5
- package/dist/colors/crimson.js +0 -4
- package/dist/colors/cyan.d.ts +1 -5
- package/dist/colors/cyan.js +0 -4
- package/dist/colors/gold.d.ts +1 -5
- package/dist/colors/gold.js +0 -4
- package/dist/colors/grass.d.ts +1 -5
- package/dist/colors/grass.js +0 -4
- package/dist/colors/gray.d.ts +1 -5
- package/dist/colors/gray.js +0 -4
- package/dist/colors/green.d.ts +1 -5
- package/dist/colors/green.js +0 -4
- package/dist/colors/indigo.d.ts +1 -5
- package/dist/colors/indigo.js +0 -4
- package/dist/colors/iris.d.ts +1 -5
- package/dist/colors/iris.js +0 -4
- package/dist/colors/jade.d.ts +1 -5
- package/dist/colors/jade.js +0 -4
- package/dist/colors/lime.d.ts +1 -5
- package/dist/colors/lime.js +0 -4
- package/dist/colors/mauve.d.ts +1 -5
- package/dist/colors/mauve.js +0 -4
- package/dist/colors/mint.d.ts +1 -5
- package/dist/colors/mint.js +0 -4
- package/dist/colors/olive.d.ts +1 -5
- package/dist/colors/olive.js +0 -4
- package/dist/colors/orange.d.ts +1 -5
- package/dist/colors/orange.js +0 -4
- package/dist/colors/pink.d.ts +1 -5
- package/dist/colors/pink.js +0 -4
- package/dist/colors/plum.d.ts +1 -5
- package/dist/colors/plum.js +0 -4
- package/dist/colors/purple.d.ts +1 -5
- package/dist/colors/purple.js +0 -4
- package/dist/colors/red.d.ts +1 -5
- package/dist/colors/red.js +0 -4
- package/dist/colors/ruby.d.ts +1 -5
- package/dist/colors/ruby.js +0 -4
- package/dist/colors/sage.d.ts +1 -5
- package/dist/colors/sage.js +0 -4
- package/dist/colors/sand.d.ts +1 -5
- package/dist/colors/sand.js +0 -4
- package/dist/colors/sky.d.ts +1 -5
- package/dist/colors/sky.js +0 -4
- package/dist/colors/slate.d.ts +1 -5
- package/dist/colors/slate.js +0 -4
- package/dist/colors/teal.d.ts +1 -5
- package/dist/colors/teal.js +0 -4
- package/dist/colors/tomato.d.ts +1 -5
- package/dist/colors/tomato.js +0 -4
- package/dist/colors/violet.d.ts +1 -5
- package/dist/colors/violet.js +0 -4
- package/dist/colors/yellow.d.ts +1 -5
- package/dist/colors/yellow.js +0 -4
- package/dist/css.d.ts +2 -2
- package/dist/css.js +0 -6
- package/dist/index.d.ts +3754 -3846
- package/dist/index.js +3 -2
- package/dist/types.d.ts +7 -7
- package/package.json +4 -4
- package/dist/cli/clit.d.ts +0 -1
- package/dist/cli/clit.js +0 -21
- package/dist/cli.js +0 -100
- /package/dist/{cli.d.ts → cli/cli.d.ts} +0 -0
package/dist/cli/cli.js
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { cli } from 'cleye';
|
|
2
|
+
import { generate } from "./commands/generate.js";
|
|
3
|
+
import { list } from "./commands/list.js";
|
|
4
|
+
const arg = cli({
|
|
5
|
+
name: 'palette',
|
|
6
|
+
// version: pkg.version,
|
|
7
|
+
commands: [generate, list],
|
|
8
|
+
});
|
|
9
|
+
if (!arg.command) {
|
|
10
|
+
arg.showHelp();
|
|
11
|
+
}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
export declare const generate: import("cleye").Command<{
|
|
2
|
+
name: "generate";
|
|
3
|
+
alias: "gen";
|
|
4
|
+
parameters: "[colors]"[];
|
|
5
|
+
flags: {
|
|
6
|
+
grays: {
|
|
7
|
+
type: StringConstructor;
|
|
8
|
+
alias: string;
|
|
9
|
+
description: string;
|
|
10
|
+
};
|
|
11
|
+
accents: {
|
|
12
|
+
type: BooleanConstructor;
|
|
13
|
+
alias: string;
|
|
14
|
+
description: string;
|
|
15
|
+
default: boolean;
|
|
16
|
+
};
|
|
17
|
+
output: {
|
|
18
|
+
type: StringConstructor;
|
|
19
|
+
alias: string;
|
|
20
|
+
description: string;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
help: {
|
|
24
|
+
description: string;
|
|
25
|
+
examples: string[];
|
|
26
|
+
};
|
|
27
|
+
}, {
|
|
28
|
+
command: "generate";
|
|
29
|
+
} & import("type-flag").TypeFlag<{
|
|
30
|
+
grays: {
|
|
31
|
+
type: StringConstructor;
|
|
32
|
+
alias: string;
|
|
33
|
+
description: string;
|
|
34
|
+
};
|
|
35
|
+
accents: {
|
|
36
|
+
type: BooleanConstructor;
|
|
37
|
+
alias: string;
|
|
38
|
+
description: string;
|
|
39
|
+
default: boolean;
|
|
40
|
+
};
|
|
41
|
+
output: {
|
|
42
|
+
type: StringConstructor;
|
|
43
|
+
alias: string;
|
|
44
|
+
description: string;
|
|
45
|
+
};
|
|
46
|
+
} & {
|
|
47
|
+
help: BooleanConstructor;
|
|
48
|
+
}> & {
|
|
49
|
+
_: {
|
|
50
|
+
colors: string | undefined;
|
|
51
|
+
};
|
|
52
|
+
showHelp: (options?: {
|
|
53
|
+
version?: string;
|
|
54
|
+
description?: string;
|
|
55
|
+
usage?: false | string | string[];
|
|
56
|
+
examples?: string | string[];
|
|
57
|
+
render?: (nodes: {
|
|
58
|
+
id?: string;
|
|
59
|
+
type: keyof import("cleye").Renderers;
|
|
60
|
+
data: any;
|
|
61
|
+
}[], renderers: import("cleye").Renderers) => string;
|
|
62
|
+
}) => void;
|
|
63
|
+
showVersion: () => void;
|
|
64
|
+
}>;
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import { command } from 'cleye';
|
|
2
|
+
import { mkdirSync, writeFileSync } from 'node:fs';
|
|
3
|
+
import { resolve } from 'node:path';
|
|
4
|
+
import { blackAlpha, whiteAlpha } from "../../colors/index.js";
|
|
5
|
+
import { css } from "../../css.js";
|
|
6
|
+
import { accentColors, colors, grayColors } from "../../index.js";
|
|
7
|
+
function parseColors(input, available) {
|
|
8
|
+
if (!input)
|
|
9
|
+
return [];
|
|
10
|
+
if (input === 'all')
|
|
11
|
+
return [...available];
|
|
12
|
+
return input.split(',').filter((c) => available.includes(c));
|
|
13
|
+
}
|
|
14
|
+
export const generate = command({
|
|
15
|
+
name: 'generate',
|
|
16
|
+
alias: 'gen',
|
|
17
|
+
parameters: ['[colors]'],
|
|
18
|
+
flags: {
|
|
19
|
+
grays: {
|
|
20
|
+
type: String,
|
|
21
|
+
alias: 'g',
|
|
22
|
+
description: 'Gray colors to generate (comma-separated or "all")',
|
|
23
|
+
},
|
|
24
|
+
accents: {
|
|
25
|
+
type: Boolean,
|
|
26
|
+
alias: 'a',
|
|
27
|
+
description: 'Generate accents.css with semantic accent tokens',
|
|
28
|
+
default: false,
|
|
29
|
+
},
|
|
30
|
+
output: {
|
|
31
|
+
type: String,
|
|
32
|
+
alias: 'o',
|
|
33
|
+
description: 'Output directory',
|
|
34
|
+
},
|
|
35
|
+
},
|
|
36
|
+
help: {
|
|
37
|
+
description: 'Generate CSS files for color palettes',
|
|
38
|
+
examples: [
|
|
39
|
+
'palette generate blue,red -g slate -a -o ./styles',
|
|
40
|
+
'palette gen all -g all -a -o ./styles',
|
|
41
|
+
],
|
|
42
|
+
},
|
|
43
|
+
}, (argv) => {
|
|
44
|
+
if (!argv.flags.output) {
|
|
45
|
+
console.error('Error: --output (-o) is required');
|
|
46
|
+
process.exit(1);
|
|
47
|
+
}
|
|
48
|
+
const selectedAccentColors = parseColors(argv._.colors, accentColors);
|
|
49
|
+
const selectedGrayColors = parseColors(argv.flags.grays, grayColors.filter((g) => g !== 'gray'));
|
|
50
|
+
const selectedColors = [...selectedAccentColors, ...selectedGrayColors];
|
|
51
|
+
if (selectedColors.length === 0) {
|
|
52
|
+
console.error('No colors selected. Use positional args or --grays flag.');
|
|
53
|
+
console.error('Run "palette list" to see available colors.');
|
|
54
|
+
process.exit(1);
|
|
55
|
+
}
|
|
56
|
+
const outputPath = resolve(process.cwd(), argv.flags.output);
|
|
57
|
+
mkdirSync(outputPath, { recursive: true });
|
|
58
|
+
for (const name of selectedColors) {
|
|
59
|
+
const palette = colors[name];
|
|
60
|
+
writeFileSync(`${outputPath}/${name}.css`, css.palette(name, palette, { schemes: ['light'], alpha: true }));
|
|
61
|
+
writeFileSync(`${outputPath}/${name}-dark.css`, css.palette(name, palette, { schemes: ['dark'], alpha: true }));
|
|
62
|
+
console.log(` ${name}.css, ${name}-dark.css`);
|
|
63
|
+
}
|
|
64
|
+
writeFileSync(`${outputPath}/black-alpha.css`, css.alpha(blackAlpha));
|
|
65
|
+
writeFileSync(`${outputPath}/white-alpha.css`, css.alpha(whiteAlpha));
|
|
66
|
+
console.log(' black-alpha.css, white-alpha.css');
|
|
67
|
+
if (argv.flags.accents) {
|
|
68
|
+
const accents = css.accents([...selectedAccentColors]);
|
|
69
|
+
const grays = css.grays(selectedGrayColors, 'diskette-palette');
|
|
70
|
+
writeFileSync(`${outputPath}/accents.css`, `${accents}\n${grays}`);
|
|
71
|
+
console.log(' accents.css');
|
|
72
|
+
}
|
|
73
|
+
const imports = [
|
|
74
|
+
...(argv.flags.accents ? ['./accents.css'] : []),
|
|
75
|
+
...selectedColors.flatMap((name) => [
|
|
76
|
+
`./${name}.css`,
|
|
77
|
+
`./${name}-dark.css`,
|
|
78
|
+
]),
|
|
79
|
+
'./black-alpha.css',
|
|
80
|
+
'./white-alpha.css',
|
|
81
|
+
]
|
|
82
|
+
.map((path) => `@import '${path}';`)
|
|
83
|
+
.join('\n');
|
|
84
|
+
writeFileSync(`${outputPath}/index.css`, `${imports}\n\n${css.tailwind(['white', 'black', 'accent', ...selectedColors])}`);
|
|
85
|
+
console.log(' index.css');
|
|
86
|
+
console.log(`\nCSS saved to ${outputPath}`);
|
|
87
|
+
});
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
export declare const list: import("cleye").Command<{
|
|
2
|
+
name: "list";
|
|
3
|
+
alias: "ls";
|
|
4
|
+
flags: {
|
|
5
|
+
accent: {
|
|
6
|
+
type: BooleanConstructor;
|
|
7
|
+
description: string;
|
|
8
|
+
default: boolean;
|
|
9
|
+
};
|
|
10
|
+
gray: {
|
|
11
|
+
type: BooleanConstructor;
|
|
12
|
+
description: string;
|
|
13
|
+
default: boolean;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
help: {
|
|
17
|
+
description: string;
|
|
18
|
+
};
|
|
19
|
+
}, {
|
|
20
|
+
command: "list";
|
|
21
|
+
} & import("type-flag").TypeFlag<{
|
|
22
|
+
accent: {
|
|
23
|
+
type: BooleanConstructor;
|
|
24
|
+
description: string;
|
|
25
|
+
default: boolean;
|
|
26
|
+
};
|
|
27
|
+
gray: {
|
|
28
|
+
type: BooleanConstructor;
|
|
29
|
+
description: string;
|
|
30
|
+
default: boolean;
|
|
31
|
+
};
|
|
32
|
+
} & {
|
|
33
|
+
help: BooleanConstructor;
|
|
34
|
+
}> & {
|
|
35
|
+
_: {};
|
|
36
|
+
showHelp: (options?: {
|
|
37
|
+
version?: string;
|
|
38
|
+
description?: string;
|
|
39
|
+
usage?: false | string | string[];
|
|
40
|
+
examples?: string | string[];
|
|
41
|
+
render?: (nodes: {
|
|
42
|
+
id?: string;
|
|
43
|
+
type: keyof import("cleye").Renderers;
|
|
44
|
+
data: any;
|
|
45
|
+
}[], renderers: import("cleye").Renderers) => string;
|
|
46
|
+
}) => void;
|
|
47
|
+
showVersion: () => void;
|
|
48
|
+
}>;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { command } from 'cleye';
|
|
2
|
+
import { accentColors, grayColors } from "../../index.js";
|
|
3
|
+
export const list = command({
|
|
4
|
+
name: 'list',
|
|
5
|
+
alias: 'ls',
|
|
6
|
+
flags: {
|
|
7
|
+
accent: {
|
|
8
|
+
type: Boolean,
|
|
9
|
+
description: 'List only accent colors',
|
|
10
|
+
default: false,
|
|
11
|
+
},
|
|
12
|
+
gray: {
|
|
13
|
+
type: Boolean,
|
|
14
|
+
description: 'List only gray colors',
|
|
15
|
+
default: false,
|
|
16
|
+
},
|
|
17
|
+
},
|
|
18
|
+
help: {
|
|
19
|
+
description: 'List available colors',
|
|
20
|
+
},
|
|
21
|
+
}, (argv) => {
|
|
22
|
+
const showAll = !argv.flags.accent && !argv.flags.gray;
|
|
23
|
+
if (showAll || argv.flags.accent) {
|
|
24
|
+
console.log('Accent colors:');
|
|
25
|
+
console.log(` ${accentColors.join(', ')}`);
|
|
26
|
+
}
|
|
27
|
+
if (showAll)
|
|
28
|
+
console.log();
|
|
29
|
+
if (showAll || argv.flags.gray) {
|
|
30
|
+
console.log('Gray colors:');
|
|
31
|
+
console.log(` ${grayColors.filter((g) => g !== 'gray').join(', ')}`);
|
|
32
|
+
}
|
|
33
|
+
});
|
package/dist/colors/amber.d.ts
CHANGED
|
@@ -25,7 +25,6 @@ declare const _default: {
|
|
|
25
25
|
amberA10: string;
|
|
26
26
|
amberA11: string;
|
|
27
27
|
amberA12: string;
|
|
28
|
-
surface: string;
|
|
29
28
|
};
|
|
30
29
|
dark: {
|
|
31
30
|
amber1: string;
|
|
@@ -52,7 +51,6 @@ declare const _default: {
|
|
|
52
51
|
amberA10: string;
|
|
53
52
|
amberA11: string;
|
|
54
53
|
amberA12: string;
|
|
55
|
-
surface: string;
|
|
56
54
|
};
|
|
57
55
|
};
|
|
58
56
|
p3: {
|
|
@@ -81,7 +79,6 @@ declare const _default: {
|
|
|
81
79
|
amberA10: string;
|
|
82
80
|
amberA11: string;
|
|
83
81
|
amberA12: string;
|
|
84
|
-
surface: string;
|
|
85
82
|
};
|
|
86
83
|
dark: {
|
|
87
84
|
amber1: string;
|
|
@@ -108,7 +105,6 @@ declare const _default: {
|
|
|
108
105
|
amberA10: string;
|
|
109
106
|
amberA11: string;
|
|
110
107
|
amberA12: string;
|
|
111
|
-
surface: string;
|
|
112
108
|
};
|
|
113
109
|
};
|
|
114
110
|
contrast: string;
|
|
@@ -124,6 +120,6 @@ declare const _default: {
|
|
|
124
120
|
dark: string;
|
|
125
121
|
};
|
|
126
122
|
};
|
|
127
|
-
name:
|
|
123
|
+
name: "amber";
|
|
128
124
|
};
|
|
129
125
|
export default _default;
|
package/dist/colors/amber.js
CHANGED
|
@@ -25,7 +25,6 @@ export default {
|
|
|
25
25
|
amberA10: '#ffb300e7',
|
|
26
26
|
amberA11: '#ab6400',
|
|
27
27
|
amberA12: '#341500dd',
|
|
28
|
-
surface: '#fefae4cc',
|
|
29
28
|
},
|
|
30
29
|
dark: {
|
|
31
30
|
amber1: '#16120c',
|
|
@@ -52,7 +51,6 @@ export default {
|
|
|
52
51
|
amberA10: '#ffd60a',
|
|
53
52
|
amberA11: '#ffca16',
|
|
54
53
|
amberA12: '#ffe7b3',
|
|
55
|
-
surface: '#271f1380',
|
|
56
54
|
},
|
|
57
55
|
},
|
|
58
56
|
p3: {
|
|
@@ -81,7 +79,6 @@ export default {
|
|
|
81
79
|
amberA10: 'color(display-p3 0.945 0.643 0 / 0.726)',
|
|
82
80
|
amberA11: 'color(display-p3 0.64 0.4 0)',
|
|
83
81
|
amberA12: 'color(display-p3 0.294 0.208 0.145)',
|
|
84
|
-
surface: 'color(display-p3 0.9922 0.9843 0.902 / 0.8)',
|
|
85
82
|
},
|
|
86
83
|
dark: {
|
|
87
84
|
amber1: 'color(display-p3 0.082 0.07 0.05)',
|
|
@@ -108,7 +105,6 @@ export default {
|
|
|
108
105
|
amberA10: 'color(display-p3 1 0.871 0.149)',
|
|
109
106
|
amberA11: 'color(display-p3 1 0.8 0.29)',
|
|
110
107
|
amberA12: 'color(display-p3 0.984 0.909 0.726)',
|
|
111
|
-
surface: 'color(display-p3 0.1412 0.1176 0.0784 / 0.5)',
|
|
112
108
|
},
|
|
113
109
|
},
|
|
114
110
|
contrast: '#21201c',
|
package/dist/colors/blue.d.ts
CHANGED
|
@@ -25,7 +25,6 @@ declare const _default: {
|
|
|
25
25
|
blueA10: string;
|
|
26
26
|
blueA11: string;
|
|
27
27
|
blueA12: string;
|
|
28
|
-
surface: string;
|
|
29
28
|
};
|
|
30
29
|
dark: {
|
|
31
30
|
blue1: string;
|
|
@@ -52,7 +51,6 @@ declare const _default: {
|
|
|
52
51
|
blueA10: string;
|
|
53
52
|
blueA11: string;
|
|
54
53
|
blueA12: string;
|
|
55
|
-
surface: string;
|
|
56
54
|
};
|
|
57
55
|
};
|
|
58
56
|
p3: {
|
|
@@ -81,7 +79,6 @@ declare const _default: {
|
|
|
81
79
|
blueA10: string;
|
|
82
80
|
blueA11: string;
|
|
83
81
|
blueA12: string;
|
|
84
|
-
surface: string;
|
|
85
82
|
};
|
|
86
83
|
dark: {
|
|
87
84
|
blue1: string;
|
|
@@ -108,7 +105,6 @@ declare const _default: {
|
|
|
108
105
|
blueA10: string;
|
|
109
106
|
blueA11: string;
|
|
110
107
|
blueA12: string;
|
|
111
|
-
surface: string;
|
|
112
108
|
};
|
|
113
109
|
};
|
|
114
110
|
contrast: string;
|
|
@@ -124,6 +120,6 @@ declare const _default: {
|
|
|
124
120
|
dark: string;
|
|
125
121
|
};
|
|
126
122
|
};
|
|
127
|
-
name:
|
|
123
|
+
name: "blue";
|
|
128
124
|
};
|
|
129
125
|
export default _default;
|
package/dist/colors/blue.js
CHANGED
|
@@ -25,7 +25,6 @@ export default {
|
|
|
25
25
|
blueA10: '#0086f0fa',
|
|
26
26
|
blueA11: '#006dcbf2',
|
|
27
27
|
blueA12: '#002359ee',
|
|
28
|
-
surface: '#f1f9ffcc',
|
|
29
28
|
},
|
|
30
29
|
dark: {
|
|
31
30
|
blue1: '#0d1520',
|
|
@@ -52,7 +51,6 @@ export default {
|
|
|
52
51
|
blueA10: '#3b9eff',
|
|
53
52
|
blueA11: '#70b8ff',
|
|
54
53
|
blueA12: '#c2e6ff',
|
|
55
|
-
surface: '#11213d80',
|
|
56
54
|
},
|
|
57
55
|
},
|
|
58
56
|
p3: {
|
|
@@ -81,7 +79,6 @@ export default {
|
|
|
81
79
|
blueA10: 'color(display-p3 0 0.376 0.886 / 0.765)',
|
|
82
80
|
blueA11: 'color(display-p3 0.15 0.44 0.84)',
|
|
83
81
|
blueA12: 'color(display-p3 0.102 0.193 0.379)',
|
|
84
|
-
surface: 'color(display-p3 0.9529 0.9765 0.9961 / 0.8)',
|
|
85
82
|
},
|
|
86
83
|
dark: {
|
|
87
84
|
blue1: 'color(display-p3 0.057 0.081 0.122)',
|
|
@@ -108,7 +105,6 @@ export default {
|
|
|
108
105
|
blueA10: 'color(display-p3 0.357 0.631 1 / 0.971)',
|
|
109
106
|
blueA11: 'color(display-p3 0.49 0.72 1)',
|
|
110
107
|
blueA12: 'color(display-p3 0.788 0.898 0.99)',
|
|
111
|
-
surface: 'color(display-p3 0.0706 0.1255 0.2196 / 0.5)',
|
|
112
108
|
},
|
|
113
109
|
},
|
|
114
110
|
contrast: 'white',
|
package/dist/colors/bronze.d.ts
CHANGED
|
@@ -25,7 +25,6 @@ declare const _default: {
|
|
|
25
25
|
bronzeA10: string;
|
|
26
26
|
bronzeA11: string;
|
|
27
27
|
bronzeA12: string;
|
|
28
|
-
surface: string;
|
|
29
28
|
};
|
|
30
29
|
dark: {
|
|
31
30
|
bronze1: string;
|
|
@@ -52,7 +51,6 @@ declare const _default: {
|
|
|
52
51
|
bronzeA10: string;
|
|
53
52
|
bronzeA11: string;
|
|
54
53
|
bronzeA12: string;
|
|
55
|
-
surface: string;
|
|
56
54
|
};
|
|
57
55
|
};
|
|
58
56
|
p3: {
|
|
@@ -81,7 +79,6 @@ declare const _default: {
|
|
|
81
79
|
bronzeA10: string;
|
|
82
80
|
bronzeA11: string;
|
|
83
81
|
bronzeA12: string;
|
|
84
|
-
surface: string;
|
|
85
82
|
};
|
|
86
83
|
dark: {
|
|
87
84
|
bronze1: string;
|
|
@@ -108,7 +105,6 @@ declare const _default: {
|
|
|
108
105
|
bronzeA10: string;
|
|
109
106
|
bronzeA11: string;
|
|
110
107
|
bronzeA12: string;
|
|
111
|
-
surface: string;
|
|
112
108
|
};
|
|
113
109
|
};
|
|
114
110
|
contrast: string;
|
|
@@ -124,6 +120,6 @@ declare const _default: {
|
|
|
124
120
|
dark: string;
|
|
125
121
|
};
|
|
126
122
|
};
|
|
127
|
-
name:
|
|
123
|
+
name: "bronze";
|
|
128
124
|
};
|
|
129
125
|
export default _default;
|
package/dist/colors/bronze.js
CHANGED
|
@@ -25,7 +25,6 @@ export default {
|
|
|
25
25
|
bronzeA10: '#4c150097',
|
|
26
26
|
bronzeA11: '#3d0f00ab',
|
|
27
27
|
bronzeA12: '#1d0600d4',
|
|
28
|
-
surface: '#fdf5f3cc',
|
|
29
28
|
},
|
|
30
29
|
dark: {
|
|
31
30
|
bronze1: '#141110',
|
|
@@ -52,7 +51,6 @@ export default {
|
|
|
52
51
|
bronzeA10: '#fecab5a9',
|
|
53
52
|
bronzeA11: '#ffd7c6d1',
|
|
54
53
|
bronzeA12: '#fff1e9ec',
|
|
55
|
-
surface: '#27211d80',
|
|
56
54
|
},
|
|
57
55
|
},
|
|
58
56
|
p3: {
|
|
@@ -81,7 +79,6 @@ export default {
|
|
|
81
79
|
bronzeA10: 'color(display-p3 0.255 0.082 0 / 0.585)',
|
|
82
80
|
bronzeA11: 'color(display-p3 0.471 0.373 0.336)',
|
|
83
81
|
bronzeA12: 'color(display-p3 0.251 0.191 0.172)',
|
|
84
|
-
surface: 'color(display-p3 0.9843 0.9608 0.9529 / 0.8)',
|
|
85
82
|
},
|
|
86
83
|
dark: {
|
|
87
84
|
bronze1: 'color(display-p3 0.076 0.067 0.063)',
|
|
@@ -108,7 +105,6 @@ export default {
|
|
|
108
105
|
bronzeA10: 'color(display-p3 1 0.839 0.761 / 0.635)',
|
|
109
106
|
bronzeA11: 'color(display-p3 0.81 0.707 0.655)',
|
|
110
107
|
bronzeA12: 'color(display-p3 0.921 0.88 0.854)',
|
|
111
|
-
surface: 'color(display-p3 0.1412 0.1255 0.1176 / 0.5)',
|
|
112
108
|
},
|
|
113
109
|
},
|
|
114
110
|
contrast: 'white',
|
package/dist/colors/brown.d.ts
CHANGED
|
@@ -25,7 +25,6 @@ declare const _default: {
|
|
|
25
25
|
brownA10: string;
|
|
26
26
|
brownA11: string;
|
|
27
27
|
brownA12: string;
|
|
28
|
-
surface: string;
|
|
29
28
|
};
|
|
30
29
|
dark: {
|
|
31
30
|
brown1: string;
|
|
@@ -52,7 +51,6 @@ declare const _default: {
|
|
|
52
51
|
brownA10: string;
|
|
53
52
|
brownA11: string;
|
|
54
53
|
brownA12: string;
|
|
55
|
-
surface: string;
|
|
56
54
|
};
|
|
57
55
|
};
|
|
58
56
|
p3: {
|
|
@@ -81,7 +79,6 @@ declare const _default: {
|
|
|
81
79
|
brownA10: string;
|
|
82
80
|
brownA11: string;
|
|
83
81
|
brownA12: string;
|
|
84
|
-
surface: string;
|
|
85
82
|
};
|
|
86
83
|
dark: {
|
|
87
84
|
brown1: string;
|
|
@@ -108,7 +105,6 @@ declare const _default: {
|
|
|
108
105
|
brownA10: string;
|
|
109
106
|
brownA11: string;
|
|
110
107
|
brownA12: string;
|
|
111
|
-
surface: string;
|
|
112
108
|
};
|
|
113
109
|
};
|
|
114
110
|
contrast: string;
|
|
@@ -124,6 +120,6 @@ declare const _default: {
|
|
|
124
120
|
dark: string;
|
|
125
121
|
};
|
|
126
122
|
};
|
|
127
|
-
name:
|
|
123
|
+
name: "brown";
|
|
128
124
|
};
|
|
129
125
|
export default _default;
|
package/dist/colors/brown.js
CHANGED
|
@@ -25,7 +25,6 @@ export default {
|
|
|
25
25
|
brownA10: '#723300ac',
|
|
26
26
|
brownA11: '#522100b9',
|
|
27
27
|
brownA12: '#140600d1',
|
|
28
|
-
surface: '#fbf8f4cc',
|
|
29
28
|
},
|
|
30
29
|
dark: {
|
|
31
30
|
brown1: '#12110f',
|
|
@@ -52,7 +51,6 @@ export default {
|
|
|
52
51
|
brownA10: '#ffc18cb3',
|
|
53
52
|
brownA11: '#fed1aad9',
|
|
54
53
|
brownA12: '#feecd4f2',
|
|
55
|
-
surface: '#271f1b80',
|
|
56
54
|
},
|
|
57
55
|
},
|
|
58
56
|
p3: {
|
|
@@ -81,7 +79,6 @@ export default {
|
|
|
81
79
|
brownA10: 'color(display-p3 0.388 0.188 0 / 0.655)',
|
|
82
80
|
brownA11: 'color(display-p3 0.485 0.374 0.288)',
|
|
83
81
|
brownA12: 'color(display-p3 0.236 0.202 0.183)',
|
|
84
|
-
surface: 'color(display-p3 0.9843 0.9725 0.9569 / 0.8)',
|
|
85
82
|
},
|
|
86
83
|
dark: {
|
|
87
84
|
brown1: 'color(display-p3 0.071 0.067 0.059)',
|
|
@@ -108,7 +105,6 @@ export default {
|
|
|
108
105
|
brownA10: 'color(display-p3 1 0.792 0.596 / 0.677)',
|
|
109
106
|
brownA11: 'color(display-p3 0.835 0.715 0.597)',
|
|
110
107
|
brownA12: 'color(display-p3 0.938 0.885 0.802)',
|
|
111
|
-
surface: 'color(display-p3 0.1412 0.1176 0.102 / 0.5)',
|
|
112
108
|
},
|
|
113
109
|
},
|
|
114
110
|
contrast: 'white',
|
package/dist/colors/crimson.d.ts
CHANGED
|
@@ -25,7 +25,6 @@ declare const _default: {
|
|
|
25
25
|
crimsonA10: string;
|
|
26
26
|
crimsonA11: string;
|
|
27
27
|
crimsonA12: string;
|
|
28
|
-
surface: string;
|
|
29
28
|
};
|
|
30
29
|
dark: {
|
|
31
30
|
crimson1: string;
|
|
@@ -52,7 +51,6 @@ declare const _default: {
|
|
|
52
51
|
crimsonA10: string;
|
|
53
52
|
crimsonA11: string;
|
|
54
53
|
crimsonA12: string;
|
|
55
|
-
surface: string;
|
|
56
54
|
};
|
|
57
55
|
};
|
|
58
56
|
p3: {
|
|
@@ -81,7 +79,6 @@ declare const _default: {
|
|
|
81
79
|
crimsonA10: string;
|
|
82
80
|
crimsonA11: string;
|
|
83
81
|
crimsonA12: string;
|
|
84
|
-
surface: string;
|
|
85
82
|
};
|
|
86
83
|
dark: {
|
|
87
84
|
crimson1: string;
|
|
@@ -108,7 +105,6 @@ declare const _default: {
|
|
|
108
105
|
crimsonA10: string;
|
|
109
106
|
crimsonA11: string;
|
|
110
107
|
crimsonA12: string;
|
|
111
|
-
surface: string;
|
|
112
108
|
};
|
|
113
109
|
};
|
|
114
110
|
contrast: string;
|
|
@@ -124,6 +120,6 @@ declare const _default: {
|
|
|
124
120
|
dark: string;
|
|
125
121
|
};
|
|
126
122
|
};
|
|
127
|
-
name:
|
|
123
|
+
name: "crimson";
|
|
128
124
|
};
|
|
129
125
|
export default _default;
|
package/dist/colors/crimson.js
CHANGED
|
@@ -25,7 +25,6 @@ export default {
|
|
|
25
25
|
crimsonA10: '#d70056cb',
|
|
26
26
|
crimsonA11: '#c4004fe2',
|
|
27
27
|
crimsonA12: '#530026e9',
|
|
28
|
-
surface: '#fef5f8cc',
|
|
29
28
|
},
|
|
30
29
|
dark: {
|
|
31
30
|
crimson1: '#191114',
|
|
@@ -52,7 +51,6 @@ export default {
|
|
|
52
51
|
crimsonA10: '#ff5693ed',
|
|
53
52
|
crimsonA11: '#ff92ad',
|
|
54
53
|
crimsonA12: '#ffd5eafd',
|
|
55
|
-
surface: '#2f151f80',
|
|
56
54
|
},
|
|
57
55
|
},
|
|
58
56
|
p3: {
|
|
@@ -81,7 +79,6 @@ export default {
|
|
|
81
79
|
crimsonA10: 'color(display-p3 0.737 0 0.275 / 0.734)',
|
|
82
80
|
crimsonA11: 'color(display-p3 0.731 0.195 0.388)',
|
|
83
81
|
crimsonA12: 'color(display-p3 0.352 0.111 0.221)',
|
|
84
|
-
surface: 'color(display-p3 0.9922 0.9608 0.9725 / 0.8)',
|
|
85
82
|
},
|
|
86
83
|
dark: {
|
|
87
84
|
crimson1: 'color(display-p3 0.093 0.068 0.078)',
|
|
@@ -108,7 +105,6 @@ export default {
|
|
|
108
105
|
crimsonA10: 'color(display-p3 1 0.42 0.62 / 0.853)',
|
|
109
106
|
crimsonA11: 'color(display-p3 1 0.56 0.66)',
|
|
110
107
|
crimsonA12: 'color(display-p3 0.966 0.834 0.906)',
|
|
111
|
-
surface: 'color(display-p3 0.1647 0.0863 0.1176 / 0.5)',
|
|
112
108
|
},
|
|
113
109
|
},
|
|
114
110
|
contrast: 'white',
|
package/dist/colors/cyan.d.ts
CHANGED
|
@@ -25,7 +25,6 @@ declare const _default: {
|
|
|
25
25
|
cyanA10: string;
|
|
26
26
|
cyanA11: string;
|
|
27
27
|
cyanA12: string;
|
|
28
|
-
surface: string;
|
|
29
28
|
};
|
|
30
29
|
dark: {
|
|
31
30
|
cyan1: string;
|
|
@@ -52,7 +51,6 @@ declare const _default: {
|
|
|
52
51
|
cyanA10: string;
|
|
53
52
|
cyanA11: string;
|
|
54
53
|
cyanA12: string;
|
|
55
|
-
surface: string;
|
|
56
54
|
};
|
|
57
55
|
};
|
|
58
56
|
p3: {
|
|
@@ -81,7 +79,6 @@ declare const _default: {
|
|
|
81
79
|
cyanA10: string;
|
|
82
80
|
cyanA11: string;
|
|
83
81
|
cyanA12: string;
|
|
84
|
-
surface: string;
|
|
85
82
|
};
|
|
86
83
|
dark: {
|
|
87
84
|
cyan1: string;
|
|
@@ -108,7 +105,6 @@ declare const _default: {
|
|
|
108
105
|
cyanA10: string;
|
|
109
106
|
cyanA11: string;
|
|
110
107
|
cyanA12: string;
|
|
111
|
-
surface: string;
|
|
112
108
|
};
|
|
113
109
|
};
|
|
114
110
|
contrast: string;
|
|
@@ -124,6 +120,6 @@ declare const _default: {
|
|
|
124
120
|
dark: string;
|
|
125
121
|
};
|
|
126
122
|
};
|
|
127
|
-
name:
|
|
123
|
+
name: "cyan";
|
|
128
124
|
};
|
|
129
125
|
export default _default;
|
package/dist/colors/cyan.js
CHANGED
|
@@ -25,7 +25,6 @@ export default {
|
|
|
25
25
|
cyanA10: '#0094b7f8',
|
|
26
26
|
cyanA11: '#007491ef',
|
|
27
27
|
cyanA12: '#00323ef2',
|
|
28
|
-
surface: '#eff9facc',
|
|
29
28
|
},
|
|
30
29
|
dark: {
|
|
31
30
|
cyan1: '#0b161a',
|
|
@@ -52,7 +51,6 @@ export default {
|
|
|
52
51
|
cyanA10: '#28d6ffcd',
|
|
53
52
|
cyanA11: '#52e1fee5',
|
|
54
53
|
cyanA12: '#bbf3fef7',
|
|
55
|
-
surface: '#11252d80',
|
|
56
54
|
},
|
|
57
55
|
},
|
|
58
56
|
p3: {
|
|
@@ -81,7 +79,6 @@ export default {
|
|
|
81
79
|
cyanA10: 'color(display-p3 0 0.435 0.608 / 0.738)',
|
|
82
80
|
cyanA11: 'color(display-p3 0.08 0.48 0.63)',
|
|
83
81
|
cyanA12: 'color(display-p3 0.108 0.232 0.277)',
|
|
84
|
-
surface: 'color(display-p3 0.9412 0.9765 0.9804 / 0.8)',
|
|
85
82
|
},
|
|
86
83
|
dark: {
|
|
87
84
|
cyan1: 'color(display-p3 0.053 0.085 0.098)',
|
|
@@ -108,7 +105,6 @@ export default {
|
|
|
108
105
|
cyanA10: 'color(display-p3 0.4 0.839 1 / 0.786)',
|
|
109
106
|
cyanA11: 'color(display-p3 0.446 0.79 0.887)',
|
|
110
107
|
cyanA12: 'color(display-p3 0.757 0.919 0.962)',
|
|
111
|
-
surface: 'color(display-p3 0.0784 0.1412 0.1725 / 0.5)',
|
|
112
108
|
},
|
|
113
109
|
},
|
|
114
110
|
contrast: 'white',
|