@inc/uchu 2.2.0 → 3.0.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 +19 -6
- package/dist/_palette.scss +164 -164
- package/dist/_pastel-palette.scss +342 -0
- package/dist/colors.d.ts +369 -165
- package/dist/index.d.ts +74 -28
- package/dist/index.js +337 -83
- package/dist/uchu-pastel-reduced.css +56 -0
- package/dist/uchu-pastel.css +168 -0
- package/dist/uchu-reduced.css +52 -52
- package/dist/uchu.css +164 -164
- package/package.json +7 -4
package/dist/index.d.ts
CHANGED
|
@@ -1,51 +1,97 @@
|
|
|
1
1
|
/*** UTILITY ------------------------------------------ ***/
|
|
2
|
-
import { palette } from "./colors";
|
|
2
|
+
import { palette, pastelPalette } from "./colors";
|
|
3
3
|
/*** EXPORT ------------------------------------------- ***/
|
|
4
|
-
export { palette, raw, yang, yin } from "./colors";
|
|
5
|
-
export type { Hue, Shade } from "./colors";
|
|
4
|
+
export { palette, pastelPalette, pastelRaw, raw, yang, yin } from "./colors";
|
|
5
|
+
export type { Hue, PastelHue, PastelShade, Shade } from "./colors";
|
|
6
6
|
export declare const color: (hue: keyof typeof palette, shade: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9) => string;
|
|
7
|
+
export declare const pastelColor: (hue: keyof typeof pastelPalette, shade: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9) => string;
|
|
7
8
|
export declare const reduced: {
|
|
8
9
|
readonly blue: {
|
|
9
|
-
readonly 1: "oklch(
|
|
10
|
-
readonly 2: "oklch(
|
|
11
|
-
readonly 3: "oklch(
|
|
10
|
+
readonly 1: "oklch(0.8966 0.046 260.67)";
|
|
11
|
+
readonly 2: "oklch(0.6239 0.181 258.33)";
|
|
12
|
+
readonly 3: "oklch(0.4348 0.17 260.2)";
|
|
12
13
|
};
|
|
13
14
|
readonly gray: {
|
|
14
|
-
readonly 1: "oklch(
|
|
15
|
-
readonly 2: "oklch(
|
|
16
|
-
readonly 3: "oklch(
|
|
15
|
+
readonly 1: "oklch(0.9557 0.003 286.35)";
|
|
16
|
+
readonly 2: "oklch(0.8468 0.002 197.12)";
|
|
17
|
+
readonly 3: "oklch(0.6312 0.004 219.55)";
|
|
17
18
|
};
|
|
18
19
|
readonly green: {
|
|
19
|
-
readonly 1: "oklch(
|
|
20
|
-
readonly 2: "oklch(
|
|
21
|
-
readonly 3: "oklch(
|
|
20
|
+
readonly 1: "oklch(0.9396 0.05 148.74)";
|
|
21
|
+
readonly 2: "oklch(0.7933 0.179 145.62)";
|
|
22
|
+
readonly 3: "oklch(0.5883 0.158 145.05)";
|
|
22
23
|
};
|
|
23
24
|
readonly orange: {
|
|
24
|
-
readonly 1: "oklch(
|
|
25
|
-
readonly 2: "oklch(
|
|
26
|
-
readonly 3: "oklch(
|
|
25
|
+
readonly 1: "oklch(0.9383 0.037 56.93)";
|
|
26
|
+
readonly 2: "oklch(0.7875 0.141 54.32)";
|
|
27
|
+
readonly 3: "oklch(0.5828 0.128 52.2)";
|
|
27
28
|
};
|
|
28
29
|
readonly pink: {
|
|
29
|
-
readonly 1: "oklch(
|
|
30
|
-
readonly 2: "oklch(
|
|
31
|
-
readonly 3: "oklch(
|
|
30
|
+
readonly 1: "oklch(0.958 0.023 354.27)";
|
|
31
|
+
readonly 2: "oklch(0.8543 0.09 354.1)";
|
|
32
|
+
readonly 3: "oklch(0.6411 0.084 353.91)";
|
|
32
33
|
};
|
|
33
34
|
readonly purple: {
|
|
34
|
-
readonly 1: "oklch(
|
|
35
|
-
readonly 2: "oklch(
|
|
36
|
-
readonly 3: "oklch(
|
|
35
|
+
readonly 1: "oklch(0.891 0.046 305.24)";
|
|
36
|
+
readonly 2: "oklch(0.5847 0.181 302.06)";
|
|
37
|
+
readonly 3: "oklch(0.3946 0.164 298.29)";
|
|
37
38
|
};
|
|
38
39
|
readonly red: {
|
|
39
|
-
readonly 1: "oklch(
|
|
40
|
-
readonly 2: "oklch(
|
|
41
|
-
readonly 3: "oklch(
|
|
40
|
+
readonly 1: "oklch(0.8898 0.052 3.28)";
|
|
41
|
+
readonly 2: "oklch(0.6273 0.209 12.37)";
|
|
42
|
+
readonly 3: "oklch(0.458 0.177 17.7)";
|
|
42
43
|
};
|
|
43
44
|
readonly yellow: {
|
|
44
|
-
readonly 1: "oklch(
|
|
45
|
-
readonly 2: "oklch(
|
|
46
|
-
readonly 3: "oklch(
|
|
45
|
+
readonly 1: "oklch(0.9705 0.039 91.2)";
|
|
46
|
+
readonly 2: "oklch(0.9092 0.125 92.56)";
|
|
47
|
+
readonly 3: "oklch(0.6914 0.109 91.04)";
|
|
47
48
|
};
|
|
48
49
|
readonly yin: {
|
|
49
|
-
readonly 1: "oklch(
|
|
50
|
+
readonly 1: "oklch(0.9187 0.003 264.54)";
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
export declare const pastelReduced: {
|
|
54
|
+
readonly blue: {
|
|
55
|
+
readonly 1: "oklch(0.9 0.028 261)";
|
|
56
|
+
readonly 2: "oklch(0.6 0.096 259)";
|
|
57
|
+
readonly 3: "oklch(0.41 0.096 262)";
|
|
58
|
+
};
|
|
59
|
+
readonly gray: {
|
|
60
|
+
readonly 1: "oklch(0.96 0.004 287)";
|
|
61
|
+
readonly 2: "oklch(0.85 0.004 195)";
|
|
62
|
+
readonly 3: "oklch(0.63 0.004 215)";
|
|
63
|
+
};
|
|
64
|
+
readonly green: {
|
|
65
|
+
readonly 1: "oklch(0.94 0.032 149)";
|
|
66
|
+
readonly 2: "oklch(0.78 0.1 146)";
|
|
67
|
+
readonly 3: "oklch(0.57 0.088 146)";
|
|
68
|
+
};
|
|
69
|
+
readonly orange: {
|
|
70
|
+
readonly 1: "oklch(0.94 0.02 55)";
|
|
71
|
+
readonly 2: "oklch(0.78 0.076 55)";
|
|
72
|
+
readonly 3: "oklch(0.57 0.068 54)";
|
|
73
|
+
};
|
|
74
|
+
readonly pink: {
|
|
75
|
+
readonly 1: "oklch(0.96 0.016 353)";
|
|
76
|
+
readonly 2: "oklch(0.85 0.048 353)";
|
|
77
|
+
readonly 3: "oklch(0.64 0.044 354)";
|
|
78
|
+
};
|
|
79
|
+
readonly purple: {
|
|
80
|
+
readonly 1: "oklch(0.89 0.028 304)";
|
|
81
|
+
readonly 2: "oklch(0.57 0.1 304)";
|
|
82
|
+
readonly 3: "oklch(0.37 0.1 303)";
|
|
83
|
+
};
|
|
84
|
+
readonly red: {
|
|
85
|
+
readonly 1: "oklch(0.89 0.032 2)";
|
|
86
|
+
readonly 2: "oklch(0.59 0.12 8)";
|
|
87
|
+
readonly 3: "oklch(0.41 0.104 12)";
|
|
88
|
+
};
|
|
89
|
+
readonly yellow: {
|
|
90
|
+
readonly 1: "oklch(0.97 0.024 94)";
|
|
91
|
+
readonly 2: "oklch(0.9 0.068 91)";
|
|
92
|
+
readonly 3: "oklch(0.69 0.064 91)";
|
|
93
|
+
};
|
|
94
|
+
readonly yin: {
|
|
95
|
+
readonly 1: "oklch(0.9187 0.003 264.54)";
|
|
50
96
|
};
|
|
51
97
|
};
|
package/dist/index.js
CHANGED
|
@@ -1,103 +1,204 @@
|
|
|
1
1
|
// src/colors.ts
|
|
2
|
+
var pastelRaw = {
|
|
3
|
+
blue: {
|
|
4
|
+
1: "0.9 0.028 261",
|
|
5
|
+
2: "0.8 0.048 260",
|
|
6
|
+
3: "0.7 0.072 259",
|
|
7
|
+
4: "0.6 0.096 259",
|
|
8
|
+
5: "0.51 0.124 262",
|
|
9
|
+
6: "0.48 0.112 261",
|
|
10
|
+
7: "0.44 0.1 261",
|
|
11
|
+
8: "0.41 0.096 262",
|
|
12
|
+
9: "0.37 0.084 261"
|
|
13
|
+
},
|
|
14
|
+
gray: {
|
|
15
|
+
1: "0.96 0.004 287",
|
|
16
|
+
2: "0.92 0.004 195",
|
|
17
|
+
3: "0.88 0.004 287",
|
|
18
|
+
4: "0.85 0.004 195",
|
|
19
|
+
5: "0.81 0.004 243",
|
|
20
|
+
6: "0.75 0.004 245",
|
|
21
|
+
7: "0.69 0.008 286",
|
|
22
|
+
8: "0.63 0.004 215",
|
|
23
|
+
9: "0.57 0.004 269"
|
|
24
|
+
},
|
|
25
|
+
green: {
|
|
26
|
+
1: "0.94 0.032 149",
|
|
27
|
+
2: "0.88 0.056 148",
|
|
28
|
+
3: "0.83 0.076 147",
|
|
29
|
+
4: "0.78 0.1 146",
|
|
30
|
+
5: "0.73 0.116 145",
|
|
31
|
+
6: "0.68 0.108 145",
|
|
32
|
+
7: "0.63 0.1 145",
|
|
33
|
+
8: "0.57 0.088 146",
|
|
34
|
+
9: "0.51 0.08 146"
|
|
35
|
+
},
|
|
36
|
+
orange: {
|
|
37
|
+
1: "0.94 0.02 55",
|
|
38
|
+
2: "0.88 0.04 56",
|
|
39
|
+
3: "0.83 0.056 57",
|
|
40
|
+
4: "0.78 0.076 55",
|
|
41
|
+
5: "0.73 0.092 53",
|
|
42
|
+
6: "0.68 0.084 54",
|
|
43
|
+
7: "0.62 0.076 54",
|
|
44
|
+
8: "0.57 0.068 54",
|
|
45
|
+
9: "0.51 0.06 53"
|
|
46
|
+
},
|
|
47
|
+
pink: {
|
|
48
|
+
1: "0.96 0.016 353",
|
|
49
|
+
2: "0.92 0.028 351",
|
|
50
|
+
3: "0.89 0.036 355",
|
|
51
|
+
4: "0.85 0.048 353",
|
|
52
|
+
5: "0.82 0.06 354",
|
|
53
|
+
6: "0.76 0.056 354",
|
|
54
|
+
7: "0.7 0.048 355",
|
|
55
|
+
8: "0.64 0.044 354",
|
|
56
|
+
9: "0.58 0.04 353"
|
|
57
|
+
},
|
|
58
|
+
purple: {
|
|
59
|
+
1: "0.89 0.028 304",
|
|
60
|
+
2: "0.79 0.052 307",
|
|
61
|
+
3: "0.68 0.072 305",
|
|
62
|
+
4: "0.57 0.1 304",
|
|
63
|
+
5: "0.46 0.128 303",
|
|
64
|
+
6: "0.43 0.116 303",
|
|
65
|
+
7: "0.4 0.108 302",
|
|
66
|
+
8: "0.37 0.1 303",
|
|
67
|
+
9: "0.34 0.084 302"
|
|
68
|
+
},
|
|
69
|
+
red: {
|
|
70
|
+
1: "0.89 0.032 2",
|
|
71
|
+
2: "0.78 0.06 3",
|
|
72
|
+
3: "0.68 0.088 5",
|
|
73
|
+
4: "0.59 0.12 8",
|
|
74
|
+
5: "0.52 0.136 14",
|
|
75
|
+
6: "0.49 0.128 13",
|
|
76
|
+
7: "0.45 0.116 13",
|
|
77
|
+
8: "0.41 0.104 12",
|
|
78
|
+
9: "0.37 0.092 11"
|
|
79
|
+
},
|
|
80
|
+
yellow: {
|
|
81
|
+
1: "0.97 0.024 94",
|
|
82
|
+
2: "0.95 0.036 92",
|
|
83
|
+
3: "0.92 0.052 92",
|
|
84
|
+
4: "0.9 0.068 91",
|
|
85
|
+
5: "0.88 0.084 92",
|
|
86
|
+
6: "0.82 0.076 92",
|
|
87
|
+
7: "0.75 0.068 92",
|
|
88
|
+
8: "0.69 0.064 91",
|
|
89
|
+
9: "0.62 0.056 90"
|
|
90
|
+
},
|
|
91
|
+
yin: {
|
|
92
|
+
1: "0.9187 0.003 264.54",
|
|
93
|
+
2: "0.8461 0.004 286.31",
|
|
94
|
+
3: "0.7689 0.004 247.87",
|
|
95
|
+
4: "0.6917 0.004 247.88",
|
|
96
|
+
5: "0.6101 0.005 271.34",
|
|
97
|
+
6: "0.5279 0.005 271.32",
|
|
98
|
+
7: "0.4387 0.005 271.3",
|
|
99
|
+
8: "0.3502 0.005 236.66",
|
|
100
|
+
9: "0.2511 0.006 258.36"
|
|
101
|
+
}
|
|
102
|
+
};
|
|
2
103
|
var raw = {
|
|
3
104
|
blue: {
|
|
4
|
-
1: "
|
|
5
|
-
2: "
|
|
6
|
-
3: "
|
|
7
|
-
4: "
|
|
8
|
-
5: "
|
|
9
|
-
6: "
|
|
10
|
-
7: "
|
|
11
|
-
8: "
|
|
12
|
-
9: "
|
|
105
|
+
1: "0.8966 0.046 260.67",
|
|
106
|
+
2: "0.8017 0.091 258.88",
|
|
107
|
+
3: "0.7094 0.136 258.06",
|
|
108
|
+
4: "0.6239 0.181 258.33",
|
|
109
|
+
5: "0.5487 0.222 260.33",
|
|
110
|
+
6: "0.5115 0.204 260.17",
|
|
111
|
+
7: "0.4736 0.185 259.89",
|
|
112
|
+
8: "0.4348 0.17 260.2",
|
|
113
|
+
9: "0.3953 0.15 259.87"
|
|
13
114
|
},
|
|
14
115
|
gray: {
|
|
15
|
-
1: "
|
|
16
|
-
2: "
|
|
17
|
-
3: "
|
|
18
|
-
4: "
|
|
19
|
-
5: "
|
|
20
|
-
6: "
|
|
21
|
-
7: "
|
|
22
|
-
8: "
|
|
23
|
-
9: "
|
|
116
|
+
1: "0.9557 0.003 286.35",
|
|
117
|
+
2: "0.9204 0.002 197.12",
|
|
118
|
+
3: "0.8828 0.003 286.34",
|
|
119
|
+
4: "0.8468 0.002 197.12",
|
|
120
|
+
5: "0.8073 0.002 247.84",
|
|
121
|
+
6: "0.7503 0.002 247.85",
|
|
122
|
+
7: "0.6901 0.003 286.32",
|
|
123
|
+
8: "0.6312 0.004 219.55",
|
|
124
|
+
9: "0.5682 0.004 247.89"
|
|
24
125
|
},
|
|
25
126
|
green: {
|
|
26
|
-
1: "
|
|
27
|
-
2: "
|
|
28
|
-
3: "
|
|
29
|
-
4: "
|
|
30
|
-
5: "
|
|
31
|
-
6: "
|
|
32
|
-
7: "
|
|
33
|
-
8: "
|
|
34
|
-
9: "
|
|
127
|
+
1: "0.9396 0.05 148.74",
|
|
128
|
+
2: "0.8877 0.096 147.71",
|
|
129
|
+
3: "0.8374 0.139 146.57",
|
|
130
|
+
4: "0.7933 0.179 145.62",
|
|
131
|
+
5: "0.7523 0.209 144.64",
|
|
132
|
+
6: "0.7003 0.194 144.71",
|
|
133
|
+
7: "0.6424 0.175 144.92",
|
|
134
|
+
8: "0.5883 0.158 145.05",
|
|
135
|
+
9: "0.5277 0.138 145.41"
|
|
35
136
|
},
|
|
36
137
|
orange: {
|
|
37
|
-
1: "
|
|
38
|
-
2: "
|
|
39
|
-
3: "
|
|
40
|
-
4: "
|
|
41
|
-
5: "
|
|
42
|
-
6: "
|
|
43
|
-
7: "
|
|
44
|
-
8: "
|
|
45
|
-
9: "
|
|
138
|
+
1: "0.9383 0.037 56.93",
|
|
139
|
+
2: "0.8837 0.072 55.8",
|
|
140
|
+
3: "0.8356 0.107 56.49",
|
|
141
|
+
4: "0.7875 0.141 54.32",
|
|
142
|
+
5: "0.7461 0.171 51.56",
|
|
143
|
+
6: "0.6933 0.157 52.18",
|
|
144
|
+
7: "0.638 0.142 52.1",
|
|
145
|
+
8: "0.5828 0.128 52.2",
|
|
146
|
+
9: "0.5249 0.113 51.98"
|
|
46
147
|
},
|
|
47
148
|
pink: {
|
|
48
|
-
1: "
|
|
49
|
-
2: "
|
|
50
|
-
3: "
|
|
51
|
-
4: "
|
|
52
|
-
5: "
|
|
53
|
-
6: "
|
|
54
|
-
7: "
|
|
55
|
-
8: "
|
|
56
|
-
9: "
|
|
149
|
+
1: "0.958 0.023 354.27",
|
|
150
|
+
2: "0.9214 0.046 352.31",
|
|
151
|
+
3: "0.889 0.066 354.39",
|
|
152
|
+
4: "0.8543 0.09 354.1",
|
|
153
|
+
5: "0.8223 0.112 355.33",
|
|
154
|
+
6: "0.7637 0.101 355.37",
|
|
155
|
+
7: "0.7023 0.092 354.96",
|
|
156
|
+
8: "0.6411 0.084 353.91",
|
|
157
|
+
9: "0.5768 0.074 353.14"
|
|
57
158
|
},
|
|
58
159
|
purple: {
|
|
59
|
-
1: "
|
|
60
|
-
2: "
|
|
61
|
-
3: "
|
|
62
|
-
4: "
|
|
63
|
-
5: "
|
|
64
|
-
6: "
|
|
65
|
-
7: "
|
|
66
|
-
8: "
|
|
67
|
-
9: "
|
|
160
|
+
1: "0.891 0.046 305.24",
|
|
161
|
+
2: "0.7868 0.091 305",
|
|
162
|
+
3: "0.685 0.136 303.78",
|
|
163
|
+
4: "0.5847 0.181 302.06",
|
|
164
|
+
5: "0.4939 0.215 298.31",
|
|
165
|
+
6: "0.4611 0.198 298.4",
|
|
166
|
+
7: "0.4277 0.181 298.49",
|
|
167
|
+
8: "0.3946 0.164 298.29",
|
|
168
|
+
9: "0.3601 0.145 298.35"
|
|
68
169
|
},
|
|
69
170
|
red: {
|
|
70
|
-
1: "
|
|
71
|
-
2: "
|
|
72
|
-
3: "
|
|
73
|
-
4: "
|
|
74
|
-
5: "
|
|
75
|
-
6: "
|
|
76
|
-
7: "
|
|
77
|
-
8: "
|
|
78
|
-
9: "
|
|
171
|
+
1: "0.8898 0.052 3.28",
|
|
172
|
+
2: "0.7878 0.109 4.54",
|
|
173
|
+
3: "0.6986 0.162 7.82",
|
|
174
|
+
4: "0.6273 0.209 12.37",
|
|
175
|
+
5: "0.5863 0.231 19.6",
|
|
176
|
+
6: "0.5441 0.214 19.06",
|
|
177
|
+
7: "0.4995 0.195 18.34",
|
|
178
|
+
8: "0.458 0.177 17.7",
|
|
179
|
+
9: "0.4117 0.157 16.58"
|
|
79
180
|
},
|
|
80
181
|
yellow: {
|
|
81
|
-
1: "
|
|
82
|
-
2: "95
|
|
83
|
-
3: "
|
|
84
|
-
4: "
|
|
85
|
-
5: "89
|
|
86
|
-
6: "
|
|
87
|
-
7: "
|
|
88
|
-
8: "
|
|
89
|
-
9: "
|
|
182
|
+
1: "0.9705 0.039 91.2",
|
|
183
|
+
2: "0.95 0.07 92.39",
|
|
184
|
+
3: "0.9276 0.098 92.58",
|
|
185
|
+
4: "0.9092 0.125 92.56",
|
|
186
|
+
5: "0.89 0.146 91.5",
|
|
187
|
+
6: "0.8239 0.133 91.5",
|
|
188
|
+
7: "0.7584 0.122 92.21",
|
|
189
|
+
8: "0.6914 0.109 91.04",
|
|
190
|
+
9: "0.6229 0.097 91.9"
|
|
90
191
|
},
|
|
91
192
|
yin: {
|
|
92
|
-
1: "
|
|
93
|
-
2: "
|
|
94
|
-
3: "
|
|
95
|
-
4: "
|
|
96
|
-
5: "
|
|
97
|
-
6: "
|
|
98
|
-
7: "
|
|
99
|
-
8: "
|
|
100
|
-
9: "
|
|
193
|
+
1: "0.9187 0.003 264.54",
|
|
194
|
+
2: "0.8461 0.004 286.31",
|
|
195
|
+
3: "0.7689 0.004 247.87",
|
|
196
|
+
4: "0.6917 0.004 247.88",
|
|
197
|
+
5: "0.6101 0.005 271.34",
|
|
198
|
+
6: "0.5279 0.005 271.32",
|
|
199
|
+
7: "0.4387 0.005 271.3",
|
|
200
|
+
8: "0.3502 0.005 236.66",
|
|
201
|
+
9: "0.2511 0.006 258.36"
|
|
101
202
|
}
|
|
102
203
|
};
|
|
103
204
|
var palette = {
|
|
@@ -201,13 +302,117 @@ var palette = {
|
|
|
201
302
|
9: `oklch(${raw.yin[9]})`
|
|
202
303
|
}
|
|
203
304
|
};
|
|
204
|
-
var
|
|
205
|
-
|
|
305
|
+
var pastelPalette = {
|
|
306
|
+
blue: {
|
|
307
|
+
1: `oklch(${pastelRaw.blue[1]})`,
|
|
308
|
+
2: `oklch(${pastelRaw.blue[2]})`,
|
|
309
|
+
3: `oklch(${pastelRaw.blue[3]})`,
|
|
310
|
+
4: `oklch(${pastelRaw.blue[4]})`,
|
|
311
|
+
5: `oklch(${pastelRaw.blue[5]})`,
|
|
312
|
+
6: `oklch(${pastelRaw.blue[6]})`,
|
|
313
|
+
7: `oklch(${pastelRaw.blue[7]})`,
|
|
314
|
+
8: `oklch(${pastelRaw.blue[8]})`,
|
|
315
|
+
9: `oklch(${pastelRaw.blue[9]})`
|
|
316
|
+
},
|
|
317
|
+
gray: {
|
|
318
|
+
1: `oklch(${pastelRaw.gray[1]})`,
|
|
319
|
+
2: `oklch(${pastelRaw.gray[2]})`,
|
|
320
|
+
3: `oklch(${pastelRaw.gray[3]})`,
|
|
321
|
+
4: `oklch(${pastelRaw.gray[4]})`,
|
|
322
|
+
5: `oklch(${pastelRaw.gray[5]})`,
|
|
323
|
+
6: `oklch(${pastelRaw.gray[6]})`,
|
|
324
|
+
7: `oklch(${pastelRaw.gray[7]})`,
|
|
325
|
+
8: `oklch(${pastelRaw.gray[8]})`,
|
|
326
|
+
9: `oklch(${pastelRaw.gray[9]})`
|
|
327
|
+
},
|
|
328
|
+
green: {
|
|
329
|
+
1: `oklch(${pastelRaw.green[1]})`,
|
|
330
|
+
2: `oklch(${pastelRaw.green[2]})`,
|
|
331
|
+
3: `oklch(${pastelRaw.green[3]})`,
|
|
332
|
+
4: `oklch(${pastelRaw.green[4]})`,
|
|
333
|
+
5: `oklch(${pastelRaw.green[5]})`,
|
|
334
|
+
6: `oklch(${pastelRaw.green[6]})`,
|
|
335
|
+
7: `oklch(${pastelRaw.green[7]})`,
|
|
336
|
+
8: `oklch(${pastelRaw.green[8]})`,
|
|
337
|
+
9: `oklch(${pastelRaw.green[9]})`
|
|
338
|
+
},
|
|
339
|
+
orange: {
|
|
340
|
+
1: `oklch(${pastelRaw.orange[1]})`,
|
|
341
|
+
2: `oklch(${pastelRaw.orange[2]})`,
|
|
342
|
+
3: `oklch(${pastelRaw.orange[3]})`,
|
|
343
|
+
4: `oklch(${pastelRaw.orange[4]})`,
|
|
344
|
+
5: `oklch(${pastelRaw.orange[5]})`,
|
|
345
|
+
6: `oklch(${pastelRaw.orange[6]})`,
|
|
346
|
+
7: `oklch(${pastelRaw.orange[7]})`,
|
|
347
|
+
8: `oklch(${pastelRaw.orange[8]})`,
|
|
348
|
+
9: `oklch(${pastelRaw.orange[9]})`
|
|
349
|
+
},
|
|
350
|
+
pink: {
|
|
351
|
+
1: `oklch(${pastelRaw.pink[1]})`,
|
|
352
|
+
2: `oklch(${pastelRaw.pink[2]})`,
|
|
353
|
+
3: `oklch(${pastelRaw.pink[3]})`,
|
|
354
|
+
4: `oklch(${pastelRaw.pink[4]})`,
|
|
355
|
+
5: `oklch(${pastelRaw.pink[5]})`,
|
|
356
|
+
6: `oklch(${pastelRaw.pink[6]})`,
|
|
357
|
+
7: `oklch(${pastelRaw.pink[7]})`,
|
|
358
|
+
8: `oklch(${pastelRaw.pink[8]})`,
|
|
359
|
+
9: `oklch(${pastelRaw.pink[9]})`
|
|
360
|
+
},
|
|
361
|
+
purple: {
|
|
362
|
+
1: `oklch(${pastelRaw.purple[1]})`,
|
|
363
|
+
2: `oklch(${pastelRaw.purple[2]})`,
|
|
364
|
+
3: `oklch(${pastelRaw.purple[3]})`,
|
|
365
|
+
4: `oklch(${pastelRaw.purple[4]})`,
|
|
366
|
+
5: `oklch(${pastelRaw.purple[5]})`,
|
|
367
|
+
6: `oklch(${pastelRaw.purple[6]})`,
|
|
368
|
+
7: `oklch(${pastelRaw.purple[7]})`,
|
|
369
|
+
8: `oklch(${pastelRaw.purple[8]})`,
|
|
370
|
+
9: `oklch(${pastelRaw.purple[9]})`
|
|
371
|
+
},
|
|
372
|
+
red: {
|
|
373
|
+
1: `oklch(${pastelRaw.red[1]})`,
|
|
374
|
+
2: `oklch(${pastelRaw.red[2]})`,
|
|
375
|
+
3: `oklch(${pastelRaw.red[3]})`,
|
|
376
|
+
4: `oklch(${pastelRaw.red[4]})`,
|
|
377
|
+
5: `oklch(${pastelRaw.red[5]})`,
|
|
378
|
+
6: `oklch(${pastelRaw.red[6]})`,
|
|
379
|
+
7: `oklch(${pastelRaw.red[7]})`,
|
|
380
|
+
8: `oklch(${pastelRaw.red[8]})`,
|
|
381
|
+
9: `oklch(${pastelRaw.red[9]})`
|
|
382
|
+
},
|
|
383
|
+
yellow: {
|
|
384
|
+
1: `oklch(${pastelRaw.yellow[1]})`,
|
|
385
|
+
2: `oklch(${pastelRaw.yellow[2]})`,
|
|
386
|
+
3: `oklch(${pastelRaw.yellow[3]})`,
|
|
387
|
+
4: `oklch(${pastelRaw.yellow[4]})`,
|
|
388
|
+
5: `oklch(${pastelRaw.yellow[5]})`,
|
|
389
|
+
6: `oklch(${pastelRaw.yellow[6]})`,
|
|
390
|
+
7: `oklch(${pastelRaw.yellow[7]})`,
|
|
391
|
+
8: `oklch(${pastelRaw.yellow[8]})`,
|
|
392
|
+
9: `oklch(${pastelRaw.yellow[9]})`
|
|
393
|
+
},
|
|
394
|
+
yin: {
|
|
395
|
+
1: `oklch(${pastelRaw.yin[1]})`,
|
|
396
|
+
2: `oklch(${pastelRaw.yin[2]})`,
|
|
397
|
+
3: `oklch(${pastelRaw.yin[3]})`,
|
|
398
|
+
4: `oklch(${pastelRaw.yin[4]})`,
|
|
399
|
+
5: `oklch(${pastelRaw.yin[5]})`,
|
|
400
|
+
6: `oklch(${pastelRaw.yin[6]})`,
|
|
401
|
+
7: `oklch(${pastelRaw.yin[7]})`,
|
|
402
|
+
8: `oklch(${pastelRaw.yin[8]})`,
|
|
403
|
+
9: `oklch(${pastelRaw.yin[9]})`
|
|
404
|
+
}
|
|
405
|
+
};
|
|
406
|
+
var yang = "oklch(0.994 0 0)";
|
|
407
|
+
var yin = "oklch(0.1438 0.007 256.88)";
|
|
206
408
|
|
|
207
409
|
// src/index.ts
|
|
208
410
|
var color = (hue, shade) => {
|
|
209
411
|
return palette[hue][shade];
|
|
210
412
|
};
|
|
413
|
+
var pastelColor = (hue, shade) => {
|
|
414
|
+
return palette[hue][shade];
|
|
415
|
+
};
|
|
211
416
|
var reduced = {
|
|
212
417
|
blue: {
|
|
213
418
|
1: palette.blue[1],
|
|
@@ -253,11 +458,60 @@ var reduced = {
|
|
|
253
458
|
1: palette.yin[1]
|
|
254
459
|
}
|
|
255
460
|
};
|
|
461
|
+
var pastelReduced = {
|
|
462
|
+
blue: {
|
|
463
|
+
1: pastelPalette.blue[1],
|
|
464
|
+
2: pastelPalette.blue[4],
|
|
465
|
+
3: pastelPalette.blue[8]
|
|
466
|
+
},
|
|
467
|
+
gray: {
|
|
468
|
+
1: pastelPalette.gray[1],
|
|
469
|
+
2: pastelPalette.gray[4],
|
|
470
|
+
3: pastelPalette.gray[8]
|
|
471
|
+
},
|
|
472
|
+
green: {
|
|
473
|
+
1: pastelPalette.green[1],
|
|
474
|
+
2: pastelPalette.green[4],
|
|
475
|
+
3: pastelPalette.green[8]
|
|
476
|
+
},
|
|
477
|
+
orange: {
|
|
478
|
+
1: pastelPalette.orange[1],
|
|
479
|
+
2: pastelPalette.orange[4],
|
|
480
|
+
3: pastelPalette.orange[8]
|
|
481
|
+
},
|
|
482
|
+
pink: {
|
|
483
|
+
1: pastelPalette.pink[1],
|
|
484
|
+
2: pastelPalette.pink[4],
|
|
485
|
+
3: pastelPalette.pink[8]
|
|
486
|
+
},
|
|
487
|
+
purple: {
|
|
488
|
+
1: pastelPalette.purple[1],
|
|
489
|
+
2: pastelPalette.purple[4],
|
|
490
|
+
3: pastelPalette.purple[8]
|
|
491
|
+
},
|
|
492
|
+
red: {
|
|
493
|
+
1: pastelPalette.red[1],
|
|
494
|
+
2: pastelPalette.red[4],
|
|
495
|
+
3: pastelPalette.red[8]
|
|
496
|
+
},
|
|
497
|
+
yellow: {
|
|
498
|
+
1: pastelPalette.yellow[1],
|
|
499
|
+
2: pastelPalette.yellow[4],
|
|
500
|
+
3: pastelPalette.yellow[8]
|
|
501
|
+
},
|
|
502
|
+
yin: {
|
|
503
|
+
1: pastelPalette.yin[1]
|
|
504
|
+
}
|
|
505
|
+
};
|
|
256
506
|
export {
|
|
257
507
|
yin,
|
|
258
508
|
yang,
|
|
259
509
|
reduced,
|
|
260
510
|
raw,
|
|
511
|
+
pastelReduced,
|
|
512
|
+
pastelRaw,
|
|
513
|
+
pastelPalette,
|
|
514
|
+
pastelColor,
|
|
261
515
|
palette,
|
|
262
516
|
color
|
|
263
517
|
};
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
/* Generated from src/index.ts — do not edit by hand */
|
|
2
|
+
|
|
3
|
+
:root {
|
|
4
|
+
--uchu-light-blue-raw: 0.8966 0.046 260.67;
|
|
5
|
+
--uchu-light-blue: oklch(0.9 0.028 261);
|
|
6
|
+
--uchu-blue-raw: 0.8017 0.091 258.88;
|
|
7
|
+
--uchu-blue: oklch(0.6 0.096 259);
|
|
8
|
+
--uchu-dark-blue-raw: 0.7094 0.136 258.06;
|
|
9
|
+
--uchu-dark-blue: oklch(0.41 0.096 262);
|
|
10
|
+
--uchu-light-gray-raw: 0.9557 0.003 286.35;
|
|
11
|
+
--uchu-light-gray: oklch(0.96 0.004 287);
|
|
12
|
+
--uchu-gray-raw: 0.9204 0.002 197.12;
|
|
13
|
+
--uchu-gray: oklch(0.85 0.004 195);
|
|
14
|
+
--uchu-dark-gray-raw: 0.8828 0.003 286.34;
|
|
15
|
+
--uchu-dark-gray: oklch(0.63 0.004 215);
|
|
16
|
+
--uchu-light-green-raw: 0.9396 0.05 148.74;
|
|
17
|
+
--uchu-light-green: oklch(0.94 0.032 149);
|
|
18
|
+
--uchu-green-raw: 0.8877 0.096 147.71;
|
|
19
|
+
--uchu-green: oklch(0.78 0.1 146);
|
|
20
|
+
--uchu-dark-green-raw: 0.8374 0.139 146.57;
|
|
21
|
+
--uchu-dark-green: oklch(0.57 0.088 146);
|
|
22
|
+
--uchu-light-orange-raw: 0.9383 0.037 56.93;
|
|
23
|
+
--uchu-light-orange: oklch(0.94 0.02 55);
|
|
24
|
+
--uchu-orange-raw: 0.8837 0.072 55.8;
|
|
25
|
+
--uchu-orange: oklch(0.78 0.076 55);
|
|
26
|
+
--uchu-dark-orange-raw: 0.8356 0.107 56.49;
|
|
27
|
+
--uchu-dark-orange: oklch(0.57 0.068 54);
|
|
28
|
+
--uchu-light-pink-raw: 0.958 0.023 354.27;
|
|
29
|
+
--uchu-light-pink: oklch(0.96 0.016 353);
|
|
30
|
+
--uchu-pink-raw: 0.9214 0.046 352.31;
|
|
31
|
+
--uchu-pink: oklch(0.85 0.048 353);
|
|
32
|
+
--uchu-dark-pink-raw: 0.889 0.066 354.39;
|
|
33
|
+
--uchu-dark-pink: oklch(0.64 0.044 354);
|
|
34
|
+
--uchu-light-purple-raw: 0.891 0.046 305.24;
|
|
35
|
+
--uchu-light-purple: oklch(0.89 0.028 304);
|
|
36
|
+
--uchu-purple-raw: 0.7868 0.091 305;
|
|
37
|
+
--uchu-purple: oklch(0.57 0.1 304);
|
|
38
|
+
--uchu-dark-purple-raw: 0.685 0.136 303.78;
|
|
39
|
+
--uchu-dark-purple: oklch(0.37 0.1 303);
|
|
40
|
+
--uchu-light-red-raw: 0.8898 0.052 3.28;
|
|
41
|
+
--uchu-light-red: oklch(0.89 0.032 2);
|
|
42
|
+
--uchu-red-raw: 0.7878 0.109 4.54;
|
|
43
|
+
--uchu-red: oklch(0.59 0.12 8);
|
|
44
|
+
--uchu-dark-red-raw: 0.6986 0.162 7.82;
|
|
45
|
+
--uchu-dark-red: oklch(0.41 0.104 12);
|
|
46
|
+
--uchu-light-yellow-raw: 0.9705 0.039 91.2;
|
|
47
|
+
--uchu-light-yellow: oklch(0.97 0.024 94);
|
|
48
|
+
--uchu-yellow-raw: 0.95 0.07 92.39;
|
|
49
|
+
--uchu-yellow: oklch(0.9 0.068 91);
|
|
50
|
+
--uchu-dark-yellow-raw: 0.9276 0.098 92.58;
|
|
51
|
+
--uchu-dark-yellow: oklch(0.69 0.064 91);
|
|
52
|
+
--uchu-light-yin-raw: 0.9187 0.003 264.54;
|
|
53
|
+
--uchu-light-yin: oklch(0.9187 0.003 264.54);
|
|
54
|
+
--uchu-yang: oklch(0.994 0 0);
|
|
55
|
+
--uchu-yin: oklch(0.1438 0.007 256.88);
|
|
56
|
+
}
|