@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
- teal1: string;
5
- teal2: string;
6
- teal3: string;
7
- teal4: string;
8
- teal5: string;
9
- teal6: string;
10
- teal7: string;
11
- teal8: string;
12
- teal9: string;
13
- teal10: string;
14
- teal11: string;
15
- teal12: string;
16
- tealA1: string;
17
- tealA2: string;
18
- tealA3: string;
19
- tealA4: string;
20
- tealA5: string;
21
- tealA6: string;
22
- tealA7: string;
23
- tealA8: string;
24
- tealA9: string;
25
- tealA10: string;
26
- tealA11: string;
27
- tealA12: string;
28
- };
29
- dark: {
30
- teal1: string;
31
- teal2: string;
32
- teal3: string;
33
- teal4: string;
34
- teal5: string;
35
- teal6: string;
36
- teal7: string;
37
- teal8: string;
38
- teal9: string;
39
- teal10: string;
40
- teal11: string;
41
- teal12: string;
42
- tealA1: string;
43
- tealA2: string;
44
- tealA3: string;
45
- tealA4: string;
46
- tealA5: string;
47
- tealA6: string;
48
- tealA7: string;
49
- tealA8: string;
50
- tealA9: string;
51
- tealA10: string;
52
- tealA11: string;
53
- tealA12: string;
54
- };
55
- };
56
- p3: {
57
- light: {
58
- teal1: string;
59
- teal2: string;
60
- teal3: string;
61
- teal4: string;
62
- teal5: string;
63
- teal6: string;
64
- teal7: string;
65
- teal8: string;
66
- teal9: string;
67
- teal10: string;
68
- teal11: string;
69
- teal12: string;
70
- tealA1: string;
71
- tealA2: string;
72
- tealA3: string;
73
- tealA4: string;
74
- tealA5: string;
75
- tealA6: string;
76
- tealA7: string;
77
- tealA8: string;
78
- tealA9: string;
79
- tealA10: string;
80
- tealA11: string;
81
- tealA12: string;
82
- };
83
- dark: {
84
- teal1: string;
85
- teal2: string;
86
- teal3: string;
87
- teal4: string;
88
- teal5: string;
89
- teal6: string;
90
- teal7: string;
91
- teal8: string;
92
- teal9: string;
93
- teal10: string;
94
- teal11: string;
95
- teal12: string;
96
- tealA1: string;
97
- tealA2: string;
98
- tealA3: string;
99
- tealA4: string;
100
- tealA5: string;
101
- tealA6: string;
102
- tealA7: string;
103
- tealA8: string;
104
- tealA9: string;
105
- tealA10: string;
106
- tealA11: string;
107
- tealA12: string;
108
- };
109
- };
110
- contrast: string;
2
+ name: "teal";
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: "teal";
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
- teal1: '#fafefd',
5
- teal2: '#f3fbf9',
6
- teal3: '#e0f8f3',
7
- teal4: '#ccf3ea',
8
- teal5: '#b8eae0',
9
- teal6: '#a1ded2',
10
- teal7: '#83cdc1',
11
- teal8: '#53b9ab',
12
- teal9: '#12a594',
13
- teal10: '#0d9b8a',
14
- teal11: '#008573',
15
- teal12: '#0d3d38',
16
- tealA1: '#00cc9905',
17
- tealA2: '#00aa800c',
18
- tealA3: '#00c69d1f',
19
- tealA4: '#00c39633',
20
- tealA5: '#00b49047',
21
- tealA6: '#00a6855e',
22
- tealA7: '#0099807c',
23
- tealA8: '#009783ac',
24
- tealA9: '#009e8ced',
25
- tealA10: '#009684f2',
26
- tealA11: '#008573',
27
- tealA12: '#00332df2',
28
- },
29
- dark: {
30
- teal1: '#0d1514',
31
- teal2: '#111c1b',
32
- teal3: '#0d2d2a',
33
- teal4: '#023b37',
34
- teal5: '#084843',
35
- teal6: '#145750',
36
- teal7: '#1c6961',
37
- teal8: '#207e73',
38
- teal9: '#12a594',
39
- teal10: '#0eb39e',
40
- teal11: '#0bd8b6',
41
- teal12: '#adf0dd',
42
- tealA1: '#00deab05',
43
- tealA2: '#12fbe60c',
44
- tealA3: '#00ffe61e',
45
- tealA4: '#00ffe92d',
46
- tealA5: '#00ffea3b',
47
- tealA6: '#1cffe84b',
48
- tealA7: '#2efde85f',
49
- tealA8: '#32ffe775',
50
- tealA9: '#13ffe49f',
51
- tealA10: '#0dffe0ae',
52
- tealA11: '#0afed5d6',
53
- tealA12: '#b8ffebef',
54
- },
55
- },
56
- p3: {
57
- light: {
58
- teal1: 'color(display-p3 0.983 0.996 0.992)',
59
- teal2: 'color(display-p3 0.958 0.983 0.976)',
60
- teal3: 'color(display-p3 0.895 0.971 0.952)',
61
- teal4: 'color(display-p3 0.831 0.949 0.92)',
62
- teal5: 'color(display-p3 0.761 0.914 0.878)',
63
- teal6: 'color(display-p3 0.682 0.864 0.825)',
64
- teal7: 'color(display-p3 0.581 0.798 0.756)',
65
- teal8: 'color(display-p3 0.433 0.716 0.671)',
66
- teal9: 'color(display-p3 0.297 0.637 0.581)',
67
- teal10: 'color(display-p3 0.275 0.599 0.542)',
68
- teal11: 'color(display-p3 0.08 0.5 0.43)',
69
- teal12: 'color(display-p3 0.11 0.235 0.219)',
70
- tealA1: 'color(display-p3 0.024 0.757 0.514 / 0.016)',
71
- tealA2: 'color(display-p3 0.02 0.647 0.467 / 0.044)',
72
- tealA3: 'color(display-p3 0.004 0.741 0.557 / 0.106)',
73
- tealA4: 'color(display-p3 0.004 0.702 0.537 / 0.169)',
74
- tealA5: 'color(display-p3 0.004 0.643 0.494 / 0.24)',
75
- tealA6: 'color(display-p3 0.004 0.569 0.447 / 0.318)',
76
- tealA7: 'color(display-p3 0.004 0.518 0.424 / 0.42)',
77
- tealA8: 'color(display-p3 0 0.506 0.424 / 0.569)',
78
- tealA9: 'color(display-p3 0 0.482 0.404 / 0.702)',
79
- tealA10: 'color(display-p3 0 0.451 0.369 / 0.726)',
80
- tealA11: 'color(display-p3 0.08 0.5 0.43)',
81
- tealA12: 'color(display-p3 0.11 0.235 0.219)',
82
- },
83
- dark: {
84
- teal1: 'color(display-p3 0.059 0.083 0.079)',
85
- teal2: 'color(display-p3 0.075 0.11 0.107)',
86
- teal3: 'color(display-p3 0.087 0.175 0.165)',
87
- teal4: 'color(display-p3 0.087 0.227 0.214)',
88
- teal5: 'color(display-p3 0.12 0.277 0.261)',
89
- teal6: 'color(display-p3 0.162 0.335 0.314)',
90
- teal7: 'color(display-p3 0.205 0.406 0.379)',
91
- teal8: 'color(display-p3 0.245 0.489 0.453)',
92
- teal9: 'color(display-p3 0.297 0.637 0.581)',
93
- teal10: 'color(display-p3 0.319 0.69 0.62)',
94
- teal11: 'color(display-p3 0.388 0.835 0.719)',
95
- teal12: 'color(display-p3 0.734 0.934 0.87)',
96
- tealA1: 'color(display-p3 0 0.992 0.761 / 0.017)',
97
- tealA2: 'color(display-p3 0.235 0.988 0.902 / 0.047)',
98
- tealA3: 'color(display-p3 0.235 1 0.898 / 0.118)',
99
- tealA4: 'color(display-p3 0.18 0.996 0.929 / 0.173)',
100
- tealA5: 'color(display-p3 0.31 1 0.933 / 0.227)',
101
- tealA6: 'color(display-p3 0.396 1 0.933 / 0.286)',
102
- tealA7: 'color(display-p3 0.443 1 0.925 / 0.366)',
103
- tealA8: 'color(display-p3 0.459 1 0.925 / 0.454)',
104
- tealA9: 'color(display-p3 0.443 0.996 0.906 / 0.61)',
105
- tealA10: 'color(display-p3 0.439 0.996 0.89 / 0.669)',
106
- tealA11: 'color(display-p3 0.388 0.835 0.719)',
107
- tealA12: 'color(display-p3 0.734 0.934 0.87)',
108
- },
109
- },
110
- contrast: 'white',
3
+ name: 'teal',
111
4
  indicator: 'teal9',
5
+ contrast: 'white',
112
6
  track: 'teal9',
113
7
  surface: {
114
- srgb: {
115
- light: '#f0faf8cc',
116
- dark: '#13272580',
117
- },
118
8
  p3: {
119
9
  light: 'color(display-p3 0.9451 0.9804 0.9725 / 0.8)',
120
10
  dark: 'color(display-p3 0.0863 0.149 0.1412 / 0.5)',
121
11
  },
12
+ srgb: {
13
+ light: '#f0faf8cc',
14
+ dark: '#13272580',
15
+ },
16
+ },
17
+ srgb: {
18
+ light: [
19
+ '#fafefd',
20
+ '#f3fbf9',
21
+ '#e0f8f3',
22
+ '#ccf3ea',
23
+ '#b8eae0',
24
+ '#a1ded2',
25
+ '#83cdc1',
26
+ '#53b9ab',
27
+ '#12a594',
28
+ '#0d9b8a',
29
+ '#008573',
30
+ '#0d3d38',
31
+ '#00cc9905',
32
+ '#00aa800c',
33
+ '#00c69d1f',
34
+ '#00c39633',
35
+ '#00b49047',
36
+ '#00a6855e',
37
+ '#0099807c',
38
+ '#009783ac',
39
+ '#009e8ced',
40
+ '#009684f2',
41
+ '#008573',
42
+ '#00332df2',
43
+ ],
44
+ dark: [
45
+ '#0d1514',
46
+ '#111c1b',
47
+ '#0d2d2a',
48
+ '#023b37',
49
+ '#084843',
50
+ '#145750',
51
+ '#1c6961',
52
+ '#207e73',
53
+ '#12a594',
54
+ '#0eb39e',
55
+ '#0bd8b6',
56
+ '#adf0dd',
57
+ '#00deab05',
58
+ '#12fbe60c',
59
+ '#00ffe61e',
60
+ '#00ffe92d',
61
+ '#00ffea3b',
62
+ '#1cffe84b',
63
+ '#2efde85f',
64
+ '#32ffe775',
65
+ '#13ffe49f',
66
+ '#0dffe0ae',
67
+ '#0afed5d6',
68
+ '#b8ffebef',
69
+ ],
70
+ },
71
+ p3: {
72
+ light: [
73
+ 'color(display-p3 0.983 0.996 0.992)',
74
+ 'color(display-p3 0.958 0.983 0.976)',
75
+ 'color(display-p3 0.895 0.971 0.952)',
76
+ 'color(display-p3 0.831 0.949 0.92)',
77
+ 'color(display-p3 0.761 0.914 0.878)',
78
+ 'color(display-p3 0.682 0.864 0.825)',
79
+ 'color(display-p3 0.581 0.798 0.756)',
80
+ 'color(display-p3 0.433 0.716 0.671)',
81
+ 'color(display-p3 0.297 0.637 0.581)',
82
+ 'color(display-p3 0.275 0.599 0.542)',
83
+ 'color(display-p3 0.08 0.5 0.43)',
84
+ 'color(display-p3 0.11 0.235 0.219)',
85
+ 'color(display-p3 0.024 0.757 0.514 / 0.016)',
86
+ 'color(display-p3 0.02 0.647 0.467 / 0.044)',
87
+ 'color(display-p3 0.004 0.741 0.557 / 0.106)',
88
+ 'color(display-p3 0.004 0.702 0.537 / 0.169)',
89
+ 'color(display-p3 0.004 0.643 0.494 / 0.24)',
90
+ 'color(display-p3 0.004 0.569 0.447 / 0.318)',
91
+ 'color(display-p3 0.004 0.518 0.424 / 0.42)',
92
+ 'color(display-p3 0 0.506 0.424 / 0.569)',
93
+ 'color(display-p3 0 0.482 0.404 / 0.702)',
94
+ 'color(display-p3 0 0.451 0.369 / 0.726)',
95
+ 'color(display-p3 0.08 0.5 0.43)',
96
+ 'color(display-p3 0.11 0.235 0.219)',
97
+ ],
98
+ dark: [
99
+ 'color(display-p3 0.059 0.083 0.079)',
100
+ 'color(display-p3 0.075 0.11 0.107)',
101
+ 'color(display-p3 0.087 0.175 0.165)',
102
+ 'color(display-p3 0.087 0.227 0.214)',
103
+ 'color(display-p3 0.12 0.277 0.261)',
104
+ 'color(display-p3 0.162 0.335 0.314)',
105
+ 'color(display-p3 0.205 0.406 0.379)',
106
+ 'color(display-p3 0.245 0.489 0.453)',
107
+ 'color(display-p3 0.297 0.637 0.581)',
108
+ 'color(display-p3 0.319 0.69 0.62)',
109
+ 'color(display-p3 0.388 0.835 0.719)',
110
+ 'color(display-p3 0.734 0.934 0.87)',
111
+ 'color(display-p3 0 0.992 0.761 / 0.017)',
112
+ 'color(display-p3 0.235 0.988 0.902 / 0.047)',
113
+ 'color(display-p3 0.235 1 0.898 / 0.118)',
114
+ 'color(display-p3 0.18 0.996 0.929 / 0.173)',
115
+ 'color(display-p3 0.31 1 0.933 / 0.227)',
116
+ 'color(display-p3 0.396 1 0.933 / 0.286)',
117
+ 'color(display-p3 0.443 1 0.925 / 0.366)',
118
+ 'color(display-p3 0.459 1 0.925 / 0.454)',
119
+ 'color(display-p3 0.443 0.996 0.906 / 0.61)',
120
+ 'color(display-p3 0.439 0.996 0.89 / 0.669)',
121
+ 'color(display-p3 0.388 0.835 0.719)',
122
+ 'color(display-p3 0.734 0.934 0.87)',
123
+ ],
122
124
  },
123
- name: 'teal',
124
125
  };
@@ -1,125 +1,25 @@
1
1
  declare const _default: {
2
- srgb: {
3
- light: {
4
- tomato1: string;
5
- tomato2: string;
6
- tomato3: string;
7
- tomato4: string;
8
- tomato5: string;
9
- tomato6: string;
10
- tomato7: string;
11
- tomato8: string;
12
- tomato9: string;
13
- tomato10: string;
14
- tomato11: string;
15
- tomato12: string;
16
- tomatoA1: string;
17
- tomatoA2: string;
18
- tomatoA3: string;
19
- tomatoA4: string;
20
- tomatoA5: string;
21
- tomatoA6: string;
22
- tomatoA7: string;
23
- tomatoA8: string;
24
- tomatoA9: string;
25
- tomatoA10: string;
26
- tomatoA11: string;
27
- tomatoA12: string;
28
- };
29
- dark: {
30
- tomato1: string;
31
- tomato2: string;
32
- tomato3: string;
33
- tomato4: string;
34
- tomato5: string;
35
- tomato6: string;
36
- tomato7: string;
37
- tomato8: string;
38
- tomato9: string;
39
- tomato10: string;
40
- tomato11: string;
41
- tomato12: string;
42
- tomatoA1: string;
43
- tomatoA2: string;
44
- tomatoA3: string;
45
- tomatoA4: string;
46
- tomatoA5: string;
47
- tomatoA6: string;
48
- tomatoA7: string;
49
- tomatoA8: string;
50
- tomatoA9: string;
51
- tomatoA10: string;
52
- tomatoA11: string;
53
- tomatoA12: string;
54
- };
55
- };
56
- p3: {
57
- light: {
58
- tomato1: string;
59
- tomato2: string;
60
- tomato3: string;
61
- tomato4: string;
62
- tomato5: string;
63
- tomato6: string;
64
- tomato7: string;
65
- tomato8: string;
66
- tomato9: string;
67
- tomato10: string;
68
- tomato11: string;
69
- tomato12: string;
70
- tomatoA1: string;
71
- tomatoA2: string;
72
- tomatoA3: string;
73
- tomatoA4: string;
74
- tomatoA5: string;
75
- tomatoA6: string;
76
- tomatoA7: string;
77
- tomatoA8: string;
78
- tomatoA9: string;
79
- tomatoA10: string;
80
- tomatoA11: string;
81
- tomatoA12: string;
82
- };
83
- dark: {
84
- tomato1: string;
85
- tomato2: string;
86
- tomato3: string;
87
- tomato4: string;
88
- tomato5: string;
89
- tomato6: string;
90
- tomato7: string;
91
- tomato8: string;
92
- tomato9: string;
93
- tomato10: string;
94
- tomato11: string;
95
- tomato12: string;
96
- tomatoA1: string;
97
- tomatoA2: string;
98
- tomatoA3: string;
99
- tomatoA4: string;
100
- tomatoA5: string;
101
- tomatoA6: string;
102
- tomatoA7: string;
103
- tomatoA8: string;
104
- tomatoA9: string;
105
- tomatoA10: string;
106
- tomatoA11: string;
107
- tomatoA12: string;
108
- };
109
- };
110
- contrast: string;
2
+ name: "tomato";
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: "tomato";
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;