@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.
Files changed (72) hide show
  1. package/dist/cli/commands/generate.d.ts +0 -10
  2. package/dist/cli/commands/generate.js +22 -23
  3. package/dist/colors/amber.d.ts +12 -112
  4. package/dist/colors/amber.js +115 -114
  5. package/dist/colors/blue.d.ts +12 -112
  6. package/dist/colors/blue.js +115 -114
  7. package/dist/colors/bronze.d.ts +12 -112
  8. package/dist/colors/bronze.js +115 -114
  9. package/dist/colors/brown.d.ts +12 -112
  10. package/dist/colors/brown.js +115 -114
  11. package/dist/colors/crimson.d.ts +12 -112
  12. package/dist/colors/crimson.js +115 -114
  13. package/dist/colors/cyan.d.ts +12 -112
  14. package/dist/colors/cyan.js +115 -114
  15. package/dist/colors/gold.d.ts +12 -112
  16. package/dist/colors/gold.js +115 -114
  17. package/dist/colors/grass.d.ts +12 -112
  18. package/dist/colors/grass.js +115 -114
  19. package/dist/colors/gray.d.ts +12 -112
  20. package/dist/colors/gray.js +115 -114
  21. package/dist/colors/green.d.ts +12 -112
  22. package/dist/colors/green.js +115 -114
  23. package/dist/colors/indigo.d.ts +12 -112
  24. package/dist/colors/indigo.js +115 -114
  25. package/dist/colors/iris.d.ts +12 -112
  26. package/dist/colors/iris.js +115 -114
  27. package/dist/colors/jade.d.ts +12 -112
  28. package/dist/colors/jade.js +115 -114
  29. package/dist/colors/lime.d.ts +12 -112
  30. package/dist/colors/lime.js +115 -114
  31. package/dist/colors/mauve.d.ts +12 -112
  32. package/dist/colors/mauve.js +115 -114
  33. package/dist/colors/mint.d.ts +12 -112
  34. package/dist/colors/mint.js +115 -114
  35. package/dist/colors/olive.d.ts +12 -112
  36. package/dist/colors/olive.js +115 -114
  37. package/dist/colors/orange.d.ts +12 -112
  38. package/dist/colors/orange.js +115 -114
  39. package/dist/colors/pink.d.ts +12 -112
  40. package/dist/colors/pink.js +115 -114
  41. package/dist/colors/plum.d.ts +12 -112
  42. package/dist/colors/plum.js +115 -114
  43. package/dist/colors/purple.d.ts +12 -112
  44. package/dist/colors/purple.js +115 -114
  45. package/dist/colors/red.d.ts +12 -112
  46. package/dist/colors/red.js +115 -114
  47. package/dist/colors/ruby.d.ts +12 -112
  48. package/dist/colors/ruby.js +115 -114
  49. package/dist/colors/sage.d.ts +12 -112
  50. package/dist/colors/sage.js +115 -114
  51. package/dist/colors/sand.d.ts +12 -112
  52. package/dist/colors/sand.js +115 -114
  53. package/dist/colors/sky.d.ts +12 -112
  54. package/dist/colors/sky.js +115 -114
  55. package/dist/colors/slate.d.ts +12 -112
  56. package/dist/colors/slate.js +115 -114
  57. package/dist/colors/teal.d.ts +12 -112
  58. package/dist/colors/teal.js +115 -114
  59. package/dist/colors/tomato.d.ts +12 -112
  60. package/dist/colors/tomato.js +115 -114
  61. package/dist/colors/violet.d.ts +12 -112
  62. package/dist/colors/violet.js +115 -114
  63. package/dist/colors/yellow.d.ts +12 -112
  64. package/dist/colors/yellow.js +115 -114
  65. package/dist/css.d.ts +2 -2
  66. package/dist/css.js +6 -5
  67. package/dist/index.d.ts +314 -3414
  68. package/dist/index.js +1 -2
  69. package/dist/types.d.ts +9 -12
  70. package/dist/utils.d.ts +1 -0
  71. package/dist/utils.js +8 -0
  72. package/package.json +1 -1
@@ -1,125 +1,25 @@
1
1
  declare const _default: {
2
- srgb: {
3
- light: {
4
- red1: string;
5
- red2: string;
6
- red3: string;
7
- red4: string;
8
- red5: string;
9
- red6: string;
10
- red7: string;
11
- red8: string;
12
- red9: string;
13
- red10: string;
14
- red11: string;
15
- red12: string;
16
- redA1: string;
17
- redA2: string;
18
- redA3: string;
19
- redA4: string;
20
- redA5: string;
21
- redA6: string;
22
- redA7: string;
23
- redA8: string;
24
- redA9: string;
25
- redA10: string;
26
- redA11: string;
27
- redA12: string;
28
- };
29
- dark: {
30
- red1: string;
31
- red2: string;
32
- red3: string;
33
- red4: string;
34
- red5: string;
35
- red6: string;
36
- red7: string;
37
- red8: string;
38
- red9: string;
39
- red10: string;
40
- red11: string;
41
- red12: string;
42
- redA1: string;
43
- redA2: string;
44
- redA3: string;
45
- redA4: string;
46
- redA5: string;
47
- redA6: string;
48
- redA7: string;
49
- redA8: string;
50
- redA9: string;
51
- redA10: string;
52
- redA11: string;
53
- redA12: string;
54
- };
55
- };
56
- p3: {
57
- light: {
58
- red1: string;
59
- red2: string;
60
- red3: string;
61
- red4: string;
62
- red5: string;
63
- red6: string;
64
- red7: string;
65
- red8: string;
66
- red9: string;
67
- red10: string;
68
- red11: string;
69
- red12: string;
70
- redA1: string;
71
- redA2: string;
72
- redA3: string;
73
- redA4: string;
74
- redA5: string;
75
- redA6: string;
76
- redA7: string;
77
- redA8: string;
78
- redA9: string;
79
- redA10: string;
80
- redA11: string;
81
- redA12: string;
82
- };
83
- dark: {
84
- red1: string;
85
- red2: string;
86
- red3: string;
87
- red4: string;
88
- red5: string;
89
- red6: string;
90
- red7: string;
91
- red8: string;
92
- red9: string;
93
- red10: string;
94
- red11: string;
95
- red12: string;
96
- redA1: string;
97
- redA2: string;
98
- redA3: string;
99
- redA4: string;
100
- redA5: string;
101
- redA6: string;
102
- redA7: string;
103
- redA8: string;
104
- redA9: string;
105
- redA10: string;
106
- redA11: string;
107
- redA12: string;
108
- };
109
- };
110
- contrast: string;
2
+ name: "red";
111
3
  indicator: string;
4
+ contrast: string;
112
5
  track: string;
113
6
  surface: {
114
- srgb: {
7
+ p3: {
115
8
  light: string;
116
9
  dark: string;
117
10
  };
118
- p3: {
11
+ srgb: {
119
12
  light: string;
120
13
  dark: string;
121
14
  };
122
15
  };
123
- name: "red";
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;
@@ -1,124 +1,125 @@
1
+ import {} from "../types.js";
1
2
  export default {
2
- srgb: {
3
- light: {
4
- red1: '#fffcfc',
5
- red2: '#fff7f7',
6
- red3: '#feebec',
7
- red4: '#ffdbdc',
8
- red5: '#ffcdce',
9
- red6: '#fdbdbe',
10
- red7: '#f4a9aa',
11
- red8: '#eb8e90',
12
- red9: '#e5484d',
13
- red10: '#dc3e42',
14
- red11: '#ce2c31',
15
- red12: '#641723',
16
- redA1: '#ff000003',
17
- redA2: '#ff000008',
18
- redA3: '#f3000d14',
19
- redA4: '#ff000824',
20
- redA5: '#ff000632',
21
- redA6: '#f8000442',
22
- redA7: '#df000356',
23
- redA8: '#d2000571',
24
- redA9: '#db0007b7',
25
- redA10: '#d10005c1',
26
- redA11: '#c40006d3',
27
- redA12: '#55000de8',
28
- },
29
- dark: {
30
- red1: '#191111',
31
- red2: '#201314',
32
- red3: '#3b1219',
33
- red4: '#500f1c',
34
- red5: '#611623',
35
- red6: '#72232d',
36
- red7: '#8c333a',
37
- red8: '#b54548',
38
- red9: '#e5484d',
39
- red10: '#ec5d5e',
40
- red11: '#ff9592',
41
- red12: '#ffd1d9',
42
- redA1: '#f4121209',
43
- redA2: '#f22f3e11',
44
- redA3: '#ff173f2d',
45
- redA4: '#fe0a3b44',
46
- redA5: '#ff204756',
47
- redA6: '#ff3e5668',
48
- redA7: '#ff536184',
49
- redA8: '#ff5d61b0',
50
- redA9: '#fe4e54e4',
51
- redA10: '#ff6465eb',
52
- redA11: '#ff9592',
53
- redA12: '#ffd1d9',
54
- },
55
- },
56
- p3: {
57
- light: {
58
- red1: 'color(display-p3 0.998 0.989 0.988)',
59
- red2: 'color(display-p3 0.995 0.971 0.971)',
60
- red3: 'color(display-p3 0.985 0.925 0.925)',
61
- red4: 'color(display-p3 0.999 0.866 0.866)',
62
- red5: 'color(display-p3 0.984 0.812 0.811)',
63
- red6: 'color(display-p3 0.955 0.751 0.749)',
64
- red7: 'color(display-p3 0.915 0.675 0.672)',
65
- red8: 'color(display-p3 0.872 0.575 0.572)',
66
- red9: 'color(display-p3 0.83 0.329 0.324)',
67
- red10: 'color(display-p3 0.798 0.294 0.285)',
68
- red11: 'color(display-p3 0.744 0.234 0.222)',
69
- red12: 'color(display-p3 0.36 0.115 0.143)',
70
- redA1: 'color(display-p3 0.675 0.024 0.024 / 0.012)',
71
- redA2: 'color(display-p3 0.863 0.024 0.024 / 0.028)',
72
- redA3: 'color(display-p3 0.792 0.008 0.008 / 0.075)',
73
- redA4: 'color(display-p3 1 0.008 0.008 / 0.134)',
74
- redA5: 'color(display-p3 0.918 0.008 0.008 / 0.189)',
75
- redA6: 'color(display-p3 0.831 0.02 0.004 / 0.251)',
76
- redA7: 'color(display-p3 0.741 0.016 0.004 / 0.33)',
77
- redA8: 'color(display-p3 0.698 0.012 0.004 / 0.428)',
78
- redA9: 'color(display-p3 0.749 0.008 0 / 0.675)',
79
- redA10: 'color(display-p3 0.714 0.012 0 / 0.714)',
80
- redA11: 'color(display-p3 0.744 0.234 0.222)',
81
- redA12: 'color(display-p3 0.36 0.115 0.143)',
82
- },
83
- dark: {
84
- red1: 'color(display-p3 0.093 0.068 0.067)',
85
- red2: 'color(display-p3 0.118 0.077 0.079)',
86
- red3: 'color(display-p3 0.211 0.081 0.099)',
87
- red4: 'color(display-p3 0.287 0.079 0.113)',
88
- red5: 'color(display-p3 0.348 0.11 0.142)',
89
- red6: 'color(display-p3 0.414 0.16 0.183)',
90
- red7: 'color(display-p3 0.508 0.224 0.236)',
91
- red8: 'color(display-p3 0.659 0.298 0.297)',
92
- red9: 'color(display-p3 0.83 0.329 0.324)',
93
- red10: 'color(display-p3 0.861 0.403 0.387)',
94
- red11: 'color(display-p3 1 0.57 0.55)',
95
- red12: 'color(display-p3 0.971 0.826 0.852)',
96
- redA1: 'color(display-p3 0.984 0.071 0.071 / 0.03)',
97
- redA2: 'color(display-p3 0.996 0.282 0.282 / 0.055)',
98
- redA3: 'color(display-p3 1 0.169 0.271 / 0.156)',
99
- redA4: 'color(display-p3 1 0.118 0.267 / 0.236)',
100
- redA5: 'color(display-p3 1 0.212 0.314 / 0.303)',
101
- redA6: 'color(display-p3 1 0.318 0.38 / 0.374)',
102
- redA7: 'color(display-p3 1 0.4 0.424 / 0.475)',
103
- redA8: 'color(display-p3 1 0.431 0.431 / 0.635)',
104
- redA9: 'color(display-p3 1 0.388 0.384 / 0.82)',
105
- redA10: 'color(display-p3 1 0.463 0.447 / 0.853)',
106
- redA11: 'color(display-p3 1 0.57 0.55)',
107
- redA12: 'color(display-p3 0.971 0.826 0.852)',
108
- },
109
- },
110
- contrast: 'white',
3
+ name: 'red',
111
4
  indicator: 'red9',
5
+ contrast: 'white',
112
6
  track: 'red9',
113
7
  surface: {
114
- srgb: {
115
- light: '#fff5f5cc',
116
- dark: '#2f151780',
117
- },
118
8
  p3: {
119
9
  light: 'color(display-p3 0.9961 0.9647 0.9647 / 0.8)',
120
10
  dark: 'color(display-p3 0.1647 0.0863 0.0863 / 0.5)',
121
11
  },
12
+ srgb: {
13
+ light: '#fff5f5cc',
14
+ dark: '#2f151780',
15
+ },
16
+ },
17
+ srgb: {
18
+ light: [
19
+ '#fffcfc',
20
+ '#fff7f7',
21
+ '#feebec',
22
+ '#ffdbdc',
23
+ '#ffcdce',
24
+ '#fdbdbe',
25
+ '#f4a9aa',
26
+ '#eb8e90',
27
+ '#e5484d',
28
+ '#dc3e42',
29
+ '#ce2c31',
30
+ '#641723',
31
+ '#ff000003',
32
+ '#ff000008',
33
+ '#f3000d14',
34
+ '#ff000824',
35
+ '#ff000632',
36
+ '#f8000442',
37
+ '#df000356',
38
+ '#d2000571',
39
+ '#db0007b7',
40
+ '#d10005c1',
41
+ '#c40006d3',
42
+ '#55000de8',
43
+ ],
44
+ dark: [
45
+ '#191111',
46
+ '#201314',
47
+ '#3b1219',
48
+ '#500f1c',
49
+ '#611623',
50
+ '#72232d',
51
+ '#8c333a',
52
+ '#b54548',
53
+ '#e5484d',
54
+ '#ec5d5e',
55
+ '#ff9592',
56
+ '#ffd1d9',
57
+ '#f4121209',
58
+ '#f22f3e11',
59
+ '#ff173f2d',
60
+ '#fe0a3b44',
61
+ '#ff204756',
62
+ '#ff3e5668',
63
+ '#ff536184',
64
+ '#ff5d61b0',
65
+ '#fe4e54e4',
66
+ '#ff6465eb',
67
+ '#ff9592',
68
+ '#ffd1d9',
69
+ ],
70
+ },
71
+ p3: {
72
+ light: [
73
+ 'color(display-p3 0.998 0.989 0.988)',
74
+ 'color(display-p3 0.995 0.971 0.971)',
75
+ 'color(display-p3 0.985 0.925 0.925)',
76
+ 'color(display-p3 0.999 0.866 0.866)',
77
+ 'color(display-p3 0.984 0.812 0.811)',
78
+ 'color(display-p3 0.955 0.751 0.749)',
79
+ 'color(display-p3 0.915 0.675 0.672)',
80
+ 'color(display-p3 0.872 0.575 0.572)',
81
+ 'color(display-p3 0.83 0.329 0.324)',
82
+ 'color(display-p3 0.798 0.294 0.285)',
83
+ 'color(display-p3 0.744 0.234 0.222)',
84
+ 'color(display-p3 0.36 0.115 0.143)',
85
+ 'color(display-p3 0.675 0.024 0.024 / 0.012)',
86
+ 'color(display-p3 0.863 0.024 0.024 / 0.028)',
87
+ 'color(display-p3 0.792 0.008 0.008 / 0.075)',
88
+ 'color(display-p3 1 0.008 0.008 / 0.134)',
89
+ 'color(display-p3 0.918 0.008 0.008 / 0.189)',
90
+ 'color(display-p3 0.831 0.02 0.004 / 0.251)',
91
+ 'color(display-p3 0.741 0.016 0.004 / 0.33)',
92
+ 'color(display-p3 0.698 0.012 0.004 / 0.428)',
93
+ 'color(display-p3 0.749 0.008 0 / 0.675)',
94
+ 'color(display-p3 0.714 0.012 0 / 0.714)',
95
+ 'color(display-p3 0.744 0.234 0.222)',
96
+ 'color(display-p3 0.36 0.115 0.143)',
97
+ ],
98
+ dark: [
99
+ 'color(display-p3 0.093 0.068 0.067)',
100
+ 'color(display-p3 0.118 0.077 0.079)',
101
+ 'color(display-p3 0.211 0.081 0.099)',
102
+ 'color(display-p3 0.287 0.079 0.113)',
103
+ 'color(display-p3 0.348 0.11 0.142)',
104
+ 'color(display-p3 0.414 0.16 0.183)',
105
+ 'color(display-p3 0.508 0.224 0.236)',
106
+ 'color(display-p3 0.659 0.298 0.297)',
107
+ 'color(display-p3 0.83 0.329 0.324)',
108
+ 'color(display-p3 0.861 0.403 0.387)',
109
+ 'color(display-p3 1 0.57 0.55)',
110
+ 'color(display-p3 0.971 0.826 0.852)',
111
+ 'color(display-p3 0.984 0.071 0.071 / 0.03)',
112
+ 'color(display-p3 0.996 0.282 0.282 / 0.055)',
113
+ 'color(display-p3 1 0.169 0.271 / 0.156)',
114
+ 'color(display-p3 1 0.118 0.267 / 0.236)',
115
+ 'color(display-p3 1 0.212 0.314 / 0.303)',
116
+ 'color(display-p3 1 0.318 0.38 / 0.374)',
117
+ 'color(display-p3 1 0.4 0.424 / 0.475)',
118
+ 'color(display-p3 1 0.431 0.431 / 0.635)',
119
+ 'color(display-p3 1 0.388 0.384 / 0.82)',
120
+ 'color(display-p3 1 0.463 0.447 / 0.853)',
121
+ 'color(display-p3 1 0.57 0.55)',
122
+ 'color(display-p3 0.971 0.826 0.852)',
123
+ ],
122
124
  },
123
- name: 'red',
124
125
  };
@@ -1,125 +1,25 @@
1
1
  declare const _default: {
2
- srgb: {
3
- light: {
4
- ruby1: string;
5
- ruby2: string;
6
- ruby3: string;
7
- ruby4: string;
8
- ruby5: string;
9
- ruby6: string;
10
- ruby7: string;
11
- ruby8: string;
12
- ruby9: string;
13
- ruby10: string;
14
- ruby11: string;
15
- ruby12: string;
16
- rubyA1: string;
17
- rubyA2: string;
18
- rubyA3: string;
19
- rubyA4: string;
20
- rubyA5: string;
21
- rubyA6: string;
22
- rubyA7: string;
23
- rubyA8: string;
24
- rubyA9: string;
25
- rubyA10: string;
26
- rubyA11: string;
27
- rubyA12: string;
28
- };
29
- dark: {
30
- ruby1: string;
31
- ruby2: string;
32
- ruby3: string;
33
- ruby4: string;
34
- ruby5: string;
35
- ruby6: string;
36
- ruby7: string;
37
- ruby8: string;
38
- ruby9: string;
39
- ruby10: string;
40
- ruby11: string;
41
- ruby12: string;
42
- rubyA1: string;
43
- rubyA2: string;
44
- rubyA3: string;
45
- rubyA4: string;
46
- rubyA5: string;
47
- rubyA6: string;
48
- rubyA7: string;
49
- rubyA8: string;
50
- rubyA9: string;
51
- rubyA10: string;
52
- rubyA11: string;
53
- rubyA12: string;
54
- };
55
- };
56
- p3: {
57
- light: {
58
- ruby1: string;
59
- ruby2: string;
60
- ruby3: string;
61
- ruby4: string;
62
- ruby5: string;
63
- ruby6: string;
64
- ruby7: string;
65
- ruby8: string;
66
- ruby9: string;
67
- ruby10: string;
68
- ruby11: string;
69
- ruby12: string;
70
- rubyA1: string;
71
- rubyA2: string;
72
- rubyA3: string;
73
- rubyA4: string;
74
- rubyA5: string;
75
- rubyA6: string;
76
- rubyA7: string;
77
- rubyA8: string;
78
- rubyA9: string;
79
- rubyA10: string;
80
- rubyA11: string;
81
- rubyA12: string;
82
- };
83
- dark: {
84
- ruby1: string;
85
- ruby2: string;
86
- ruby3: string;
87
- ruby4: string;
88
- ruby5: string;
89
- ruby6: string;
90
- ruby7: string;
91
- ruby8: string;
92
- ruby9: string;
93
- ruby10: string;
94
- ruby11: string;
95
- ruby12: string;
96
- rubyA1: string;
97
- rubyA2: string;
98
- rubyA3: string;
99
- rubyA4: string;
100
- rubyA5: string;
101
- rubyA6: string;
102
- rubyA7: string;
103
- rubyA8: string;
104
- rubyA9: string;
105
- rubyA10: string;
106
- rubyA11: string;
107
- rubyA12: string;
108
- };
109
- };
110
- contrast: string;
2
+ name: "ruby";
111
3
  indicator: string;
4
+ contrast: string;
112
5
  track: string;
113
6
  surface: {
114
- srgb: {
7
+ p3: {
115
8
  light: string;
116
9
  dark: string;
117
10
  };
118
- p3: {
11
+ srgb: {
119
12
  light: string;
120
13
  dark: string;
121
14
  };
122
15
  };
123
- name: "ruby";
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;