@grida/tailwindcss-colors 4.0.0 → 4.0.2
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 +78 -6
- package/css/hex.css +1 -1
- package/css/oklch.css +243 -243
- package/css/rgb.css +1 -1
- package/css/rgba.css +1 -1
- package/json/hex.d.cts +14 -0
- package/json/hex.json +2 -2
- package/json/oklch.d.cts +15 -0
- package/json/oklch.json +1 -1
- package/json/rgb.d.cts +13 -0
- package/json/rgb.json +5 -5
- package/json/rgba.d.cts +15 -0
- package/json/rgba.json +5 -5
- package/json/rgbf.d.cts +14 -0
- package/json/rgbf.json +82 -82
- package/package.json +45 -15
- package/types.d.ts +96 -0
- package/json/hex.json.d.ts +0 -53
- package/json/oklch.json.d.ts +0 -65
- package/json/rgb.json.d.ts +0 -62
- package/json/rgba.json.d.ts +0 -65
- package/json/rgbf.json.d.ts +0 -63
package/README.md
CHANGED
|
@@ -98,16 +98,58 @@ The CSS files in this package are only provided for edge cases where you need CS
|
|
|
98
98
|
|
|
99
99
|
#### TypeScript Setup
|
|
100
100
|
|
|
101
|
-
|
|
101
|
+
Types are resolved through the package's explicit `exports` with
|
|
102
|
+
`moduleResolution: "bundler"`, `"node16"`, or `"nodenext"`. These package imports
|
|
103
|
+
do not require `resolveJsonModule` or `allowArbitraryExtensions`.
|
|
104
|
+
|
|
105
|
+
For a bundler project:
|
|
102
106
|
|
|
103
107
|
```json
|
|
104
108
|
{
|
|
105
109
|
"compilerOptions": {
|
|
106
|
-
"
|
|
110
|
+
"module": "preserve",
|
|
111
|
+
"moduleResolution": "bundler",
|
|
112
|
+
"target": "ES2022"
|
|
107
113
|
}
|
|
108
114
|
}
|
|
109
115
|
```
|
|
110
116
|
|
|
117
|
+
For code that runs directly in Node.js, use `module: "nodenext"` and standard
|
|
118
|
+
JSON import attributes in ESM:
|
|
119
|
+
|
|
120
|
+
```typescript
|
|
121
|
+
import rgbColors from "@grida/tailwindcss-colors/json/rgb.json"
|
|
122
|
+
with { type: "json" };
|
|
123
|
+
|
|
124
|
+
const slate500 = rgbColors.slate["500"];
|
|
125
|
+
```
|
|
126
|
+
|
|
127
|
+
Choose the resolution mode that matches your runtime. See the
|
|
128
|
+
[TypeScript module reference](https://www.typescriptlang.org/docs/handbook/modules/reference.html)
|
|
129
|
+
and [Node.js JSON modules](https://nodejs.org/api/esm.html#json-modules).
|
|
130
|
+
|
|
131
|
+
#### Reusable Types
|
|
132
|
+
|
|
133
|
+
Import color keys and tuple types from the type-only `types` entrypoint.
|
|
134
|
+
JSON modules export the palette as their default value; reusable types have
|
|
135
|
+
their own entrypoint for consistent Node.js and bundler resolution.
|
|
136
|
+
|
|
137
|
+
```typescript
|
|
138
|
+
import type {
|
|
139
|
+
ColorName,
|
|
140
|
+
ColorShade,
|
|
141
|
+
Hex,
|
|
142
|
+
RGB,
|
|
143
|
+
RGBF,
|
|
144
|
+
RGBA,
|
|
145
|
+
OKLCH,
|
|
146
|
+
} from "@grida/tailwindcss-colors/types";
|
|
147
|
+
|
|
148
|
+
const family: ColorName = "slate";
|
|
149
|
+
const shade: ColorShade = "500";
|
|
150
|
+
const rgb: RGB = [98, 116, 142];
|
|
151
|
+
```
|
|
152
|
+
|
|
111
153
|
#### Importing Colors
|
|
112
154
|
|
|
113
155
|
Import JSON files for programmatic access. The package provides TypeScript types automatically:
|
|
@@ -137,9 +179,9 @@ const slate500Oklch = oklchColors.slate["500"]; // [0.384, 0.015, 255.59]
|
|
|
137
179
|
const allSlateColors = rgbColors.slate; // { "50": [...], "100": [...], ... }
|
|
138
180
|
|
|
139
181
|
// Iterate over color families
|
|
140
|
-
Object.
|
|
182
|
+
Object.entries(rgbColors).forEach(([family, shades]) => {
|
|
141
183
|
console.log(`Color family: ${family}`);
|
|
142
|
-
console.log(`Available shades:`, Object.keys(
|
|
184
|
+
console.log(`Available shades:`, Object.keys(shades));
|
|
143
185
|
});
|
|
144
186
|
```
|
|
145
187
|
|
|
@@ -151,6 +193,13 @@ const rgbColors = require("@grida/tailwindcss-colors/json/rgb.json");
|
|
|
151
193
|
const slate500 = rgbColors.slate["500"]; // [98, 116, 142]
|
|
152
194
|
```
|
|
153
195
|
|
|
196
|
+
For TypeScript that emits CommonJS, use `import = require`:
|
|
197
|
+
|
|
198
|
+
```typescript
|
|
199
|
+
import rgbColors = require("@grida/tailwindcss-colors/json/rgb.json");
|
|
200
|
+
const slate500 = rgbColors.slate["500"];
|
|
201
|
+
```
|
|
202
|
+
|
|
154
203
|
#### Tree-shaking
|
|
155
204
|
|
|
156
205
|
This package is fully tree-shakable. When you import a specific format, bundlers (webpack, Rollup, Vite, etc.) will only include that file in your bundle:
|
|
@@ -174,8 +223,9 @@ The `exports` field in `package.json` ensures that only explicitly imported file
|
|
|
174
223
|
|
|
175
224
|
```typescript
|
|
176
225
|
import hexColors from "@grida/tailwindcss-colors/json/hex.json";
|
|
226
|
+
import type { ColorName, ColorShade } from "@grida/tailwindcss-colors/types";
|
|
177
227
|
|
|
178
|
-
function ColorSwatch({ family, shade }: { family:
|
|
228
|
+
function ColorSwatch({ family, shade }: { family: ColorName; shade: ColorShade }) {
|
|
179
229
|
const color = hexColors[family]?.[shade];
|
|
180
230
|
return (
|
|
181
231
|
<div style={{ backgroundColor: color }}>
|
|
@@ -200,8 +250,13 @@ ctx.fillRect(0, 0, 100, 100);
|
|
|
200
250
|
|
|
201
251
|
```typescript
|
|
202
252
|
import rgbColors from "@grida/tailwindcss-colors/json/rgb.json";
|
|
253
|
+
import type {
|
|
254
|
+
ColorName,
|
|
255
|
+
ColorShade,
|
|
256
|
+
RGB,
|
|
257
|
+
} from "@grida/tailwindcss-colors/types";
|
|
203
258
|
|
|
204
|
-
function getColor(family:
|
|
259
|
+
function getColor(family: ColorName, shade: ColorShade): RGB {
|
|
205
260
|
return rgbColors[family]?.[shade] ?? [0, 0, 0];
|
|
206
261
|
}
|
|
207
262
|
|
|
@@ -271,3 +326,20 @@ Choose the format that best fits your use case:
|
|
|
271
326
|
- Package version matches Tailwind CSS version for consistency
|
|
272
327
|
- Alpha channel (`a`) is always `1` for all colors in Tailwind CSS v4 colors
|
|
273
328
|
- Use the format that best suits your rendering needs (RGBA for canvas, HEX for web, OKLCH for modern color spaces)
|
|
329
|
+
|
|
330
|
+
## Development
|
|
331
|
+
|
|
332
|
+
```bash
|
|
333
|
+
pnpm --filter @grida/tailwindcss-colors typecheck
|
|
334
|
+
pnpm --filter @grida/tailwindcss-colors test
|
|
335
|
+
```
|
|
336
|
+
|
|
337
|
+
The consumer tests pack the package and check every JSON format and reusable
|
|
338
|
+
type under bundler, Node ESM, and CommonJS resolution. They also run the emitted
|
|
339
|
+
Node consumers. Tests use the committed color data without fetching or
|
|
340
|
+
regenerating the palette.
|
|
341
|
+
|
|
342
|
+
Each JSON subpath explicitly selects a `.d.cts` declaration using `export =`
|
|
343
|
+
to describe the object returned by CommonJS `require`. Node ESM exposes that
|
|
344
|
+
same JSON object as its default export. This models both import styles with
|
|
345
|
+
one declaration per format; reusable types live separately in `types.d.ts`.
|
package/css/hex.css
CHANGED
package/css/oklch.css
CHANGED
|
@@ -1,244 +1,244 @@
|
|
|
1
1
|
:root {
|
|
2
|
-
--amber-50: oklch(0.
|
|
3
|
-
--amber-100: oklch(0.
|
|
4
|
-
--amber-200: oklch(0.
|
|
5
|
-
--amber-300: oklch(0.
|
|
6
|
-
--amber-400: oklch(0.
|
|
7
|
-
--amber-500: oklch(0.
|
|
8
|
-
--amber-600: oklch(0.
|
|
9
|
-
--amber-700: oklch(0.
|
|
10
|
-
--amber-800: oklch(0.
|
|
11
|
-
--amber-900: oklch(0.
|
|
12
|
-
--amber-950: oklch(0.
|
|
13
|
-
--blue-50: oklch(0.
|
|
14
|
-
--blue-100: oklch(0.
|
|
15
|
-
--blue-200: oklch(0.
|
|
16
|
-
--blue-300: oklch(0.
|
|
17
|
-
--blue-400: oklch(0.
|
|
18
|
-
--blue-500: oklch(0.
|
|
19
|
-
--blue-600: oklch(0.
|
|
20
|
-
--blue-700: oklch(0.
|
|
21
|
-
--blue-800: oklch(0.
|
|
22
|
-
--blue-900: oklch(0.
|
|
23
|
-
--blue-950: oklch(0.
|
|
24
|
-
--cyan-50: oklch(0.
|
|
25
|
-
--cyan-100: oklch(0.
|
|
26
|
-
--cyan-200: oklch(0.
|
|
27
|
-
--cyan-300: oklch(0.
|
|
28
|
-
--cyan-400: oklch(0.
|
|
29
|
-
--cyan-500: oklch(0.
|
|
30
|
-
--cyan-600: oklch(0.
|
|
31
|
-
--cyan-700: oklch(0.
|
|
32
|
-
--cyan-800: oklch(0.
|
|
33
|
-
--cyan-900: oklch(0.
|
|
34
|
-
--cyan-950: oklch(0.
|
|
35
|
-
--emerald-50: oklch(0.
|
|
36
|
-
--emerald-100: oklch(0.
|
|
37
|
-
--emerald-200: oklch(0.
|
|
38
|
-
--emerald-300: oklch(0.
|
|
39
|
-
--emerald-400: oklch(0.
|
|
40
|
-
--emerald-500: oklch(0.
|
|
41
|
-
--emerald-600: oklch(0.
|
|
42
|
-
--emerald-700: oklch(0.
|
|
43
|
-
--emerald-800: oklch(0.
|
|
44
|
-
--emerald-900: oklch(0.
|
|
45
|
-
--emerald-950: oklch(0.
|
|
46
|
-
--fuchsia-50: oklch(0.
|
|
47
|
-
--fuchsia-100: oklch(0.
|
|
48
|
-
--fuchsia-200: oklch(0.
|
|
49
|
-
--fuchsia-300: oklch(0.
|
|
50
|
-
--fuchsia-400: oklch(0.
|
|
51
|
-
--fuchsia-500: oklch(0.
|
|
52
|
-
--fuchsia-600: oklch(0.
|
|
53
|
-
--fuchsia-700: oklch(0.
|
|
54
|
-
--fuchsia-800: oklch(0.
|
|
55
|
-
--fuchsia-900: oklch(0.
|
|
56
|
-
--fuchsia-950: oklch(0.
|
|
57
|
-
--gray-50: oklch(0.
|
|
58
|
-
--gray-100: oklch(0.
|
|
59
|
-
--gray-200: oklch(0.
|
|
60
|
-
--gray-300: oklch(0.
|
|
61
|
-
--gray-400: oklch(0.
|
|
62
|
-
--gray-500: oklch(0.
|
|
63
|
-
--gray-600: oklch(0.
|
|
64
|
-
--gray-700: oklch(0.
|
|
65
|
-
--gray-800: oklch(0.
|
|
66
|
-
--gray-900: oklch(0.
|
|
67
|
-
--gray-950: oklch(0.
|
|
68
|
-
--green-50: oklch(0.
|
|
69
|
-
--green-100: oklch(0.
|
|
70
|
-
--green-200: oklch(0.
|
|
71
|
-
--green-300: oklch(0.
|
|
72
|
-
--green-400: oklch(0.
|
|
73
|
-
--green-500: oklch(0.
|
|
74
|
-
--green-600: oklch(0.
|
|
75
|
-
--green-700: oklch(0.
|
|
76
|
-
--green-800: oklch(0.
|
|
77
|
-
--green-900: oklch(0.
|
|
78
|
-
--green-950: oklch(0.
|
|
79
|
-
--indigo-50: oklch(0.
|
|
80
|
-
--indigo-100: oklch(0.
|
|
81
|
-
--indigo-200: oklch(0.
|
|
82
|
-
--indigo-300: oklch(0.
|
|
83
|
-
--indigo-400: oklch(0.
|
|
84
|
-
--indigo-500: oklch(0.
|
|
85
|
-
--indigo-600: oklch(0.
|
|
86
|
-
--indigo-700: oklch(0.
|
|
87
|
-
--indigo-800: oklch(0.
|
|
88
|
-
--indigo-900: oklch(0.
|
|
89
|
-
--indigo-950: oklch(0.
|
|
90
|
-
--lime-50: oklch(0.
|
|
91
|
-
--lime-100: oklch(0.
|
|
92
|
-
--lime-200: oklch(0.
|
|
93
|
-
--lime-300: oklch(0.
|
|
94
|
-
--lime-400: oklch(0.
|
|
95
|
-
--lime-500: oklch(0.
|
|
96
|
-
--lime-600: oklch(0.
|
|
97
|
-
--lime-700: oklch(0.
|
|
98
|
-
--lime-800: oklch(0.
|
|
99
|
-
--lime-900: oklch(0.
|
|
100
|
-
--lime-950: oklch(0.
|
|
101
|
-
--neutral-50: oklch(0.
|
|
102
|
-
--neutral-100: oklch(0.
|
|
103
|
-
--neutral-200: oklch(0.
|
|
104
|
-
--neutral-300: oklch(0.
|
|
105
|
-
--neutral-400: oklch(0.
|
|
106
|
-
--neutral-500: oklch(0.
|
|
107
|
-
--neutral-600: oklch(0.
|
|
108
|
-
--neutral-700: oklch(0.
|
|
109
|
-
--neutral-800: oklch(0.
|
|
110
|
-
--neutral-900: oklch(0.
|
|
111
|
-
--neutral-950: oklch(0.
|
|
112
|
-
--orange-50: oklch(0.
|
|
113
|
-
--orange-100: oklch(0.
|
|
114
|
-
--orange-200: oklch(0.
|
|
115
|
-
--orange-300: oklch(0.
|
|
116
|
-
--orange-400: oklch(0.
|
|
117
|
-
--orange-500: oklch(0.
|
|
118
|
-
--orange-600: oklch(0.
|
|
119
|
-
--orange-700: oklch(0.
|
|
120
|
-
--orange-800: oklch(0.
|
|
121
|
-
--orange-900: oklch(0.
|
|
122
|
-
--orange-950: oklch(0.
|
|
123
|
-
--pink-50: oklch(0.
|
|
124
|
-
--pink-100: oklch(0.
|
|
125
|
-
--pink-200: oklch(0.
|
|
126
|
-
--pink-300: oklch(0.
|
|
127
|
-
--pink-400: oklch(0.
|
|
128
|
-
--pink-500: oklch(0.
|
|
129
|
-
--pink-600: oklch(0.
|
|
130
|
-
--pink-700: oklch(0.
|
|
131
|
-
--pink-800: oklch(0.
|
|
132
|
-
--pink-900: oklch(0.
|
|
133
|
-
--pink-950: oklch(0.
|
|
134
|
-
--purple-50: oklch(0.
|
|
135
|
-
--purple-100: oklch(0.
|
|
136
|
-
--purple-200: oklch(0.
|
|
137
|
-
--purple-300: oklch(0.
|
|
138
|
-
--purple-400: oklch(0.
|
|
139
|
-
--purple-500: oklch(0.
|
|
140
|
-
--purple-600: oklch(0.
|
|
141
|
-
--purple-700: oklch(0.
|
|
142
|
-
--purple-800: oklch(0.
|
|
143
|
-
--purple-900: oklch(0.
|
|
144
|
-
--purple-950: oklch(0.
|
|
145
|
-
--red-50: oklch(0.
|
|
146
|
-
--red-100: oklch(0.
|
|
147
|
-
--red-200: oklch(0.
|
|
148
|
-
--red-300: oklch(0.
|
|
149
|
-
--red-400: oklch(0.
|
|
150
|
-
--red-500: oklch(0.
|
|
151
|
-
--red-600: oklch(0.
|
|
152
|
-
--red-700: oklch(0.
|
|
153
|
-
--red-800: oklch(0.
|
|
154
|
-
--red-900: oklch(0.
|
|
155
|
-
--red-950: oklch(0.
|
|
156
|
-
--rose-50: oklch(0.
|
|
157
|
-
--rose-100: oklch(0.
|
|
158
|
-
--rose-200: oklch(0.
|
|
159
|
-
--rose-300: oklch(0.
|
|
160
|
-
--rose-400: oklch(0.
|
|
161
|
-
--rose-500: oklch(0.
|
|
162
|
-
--rose-600: oklch(0.
|
|
163
|
-
--rose-700: oklch(0.
|
|
164
|
-
--rose-800: oklch(0.
|
|
165
|
-
--rose-900: oklch(0.
|
|
166
|
-
--rose-950: oklch(0.
|
|
167
|
-
--sky-50: oklch(0.
|
|
168
|
-
--sky-100: oklch(0.
|
|
169
|
-
--sky-200: oklch(0.
|
|
170
|
-
--sky-300: oklch(0.
|
|
171
|
-
--sky-400: oklch(0.
|
|
172
|
-
--sky-500: oklch(0.
|
|
173
|
-
--sky-600: oklch(0.
|
|
174
|
-
--sky-700: oklch(0.
|
|
175
|
-
--sky-800: oklch(0.
|
|
176
|
-
--sky-900: oklch(0.
|
|
177
|
-
--sky-950: oklch(0.
|
|
178
|
-
--slate-50: oklch(0.
|
|
179
|
-
--slate-100: oklch(0.
|
|
180
|
-
--slate-200: oklch(0.
|
|
181
|
-
--slate-300: oklch(0.
|
|
182
|
-
--slate-400: oklch(0.
|
|
183
|
-
--slate-500: oklch(0.
|
|
184
|
-
--slate-600: oklch(0.
|
|
185
|
-
--slate-700: oklch(0.
|
|
186
|
-
--slate-800: oklch(0.
|
|
187
|
-
--slate-900: oklch(0.
|
|
188
|
-
--slate-950: oklch(0.
|
|
189
|
-
--stone-50: oklch(0.
|
|
190
|
-
--stone-100: oklch(0.
|
|
191
|
-
--stone-200: oklch(0.
|
|
192
|
-
--stone-300: oklch(0.
|
|
193
|
-
--stone-400: oklch(0.
|
|
194
|
-
--stone-500: oklch(0.
|
|
195
|
-
--stone-600: oklch(0.
|
|
196
|
-
--stone-700: oklch(0.
|
|
197
|
-
--stone-800: oklch(0.
|
|
198
|
-
--stone-900: oklch(0.
|
|
199
|
-
--stone-950: oklch(0.
|
|
200
|
-
--teal-50: oklch(0.
|
|
201
|
-
--teal-100: oklch(0.
|
|
202
|
-
--teal-200: oklch(0.
|
|
203
|
-
--teal-300: oklch(0.
|
|
204
|
-
--teal-400: oklch(0.
|
|
205
|
-
--teal-500: oklch(0.
|
|
206
|
-
--teal-600: oklch(0.
|
|
207
|
-
--teal-700: oklch(0.
|
|
208
|
-
--teal-800: oklch(0.
|
|
209
|
-
--teal-900: oklch(0.
|
|
210
|
-
--teal-950: oklch(0.
|
|
211
|
-
--violet-50: oklch(0.
|
|
212
|
-
--violet-100: oklch(0.
|
|
213
|
-
--violet-200: oklch(0.
|
|
214
|
-
--violet-300: oklch(0.
|
|
215
|
-
--violet-400: oklch(0.
|
|
216
|
-
--violet-500: oklch(0.
|
|
217
|
-
--violet-600: oklch(0.
|
|
218
|
-
--violet-700: oklch(0.
|
|
219
|
-
--violet-800: oklch(0.
|
|
220
|
-
--violet-900: oklch(0.
|
|
221
|
-
--violet-950: oklch(0.
|
|
222
|
-
--yellow-50: oklch(0.
|
|
223
|
-
--yellow-100: oklch(0.
|
|
224
|
-
--yellow-200: oklch(0.
|
|
225
|
-
--yellow-300: oklch(0.
|
|
226
|
-
--yellow-400: oklch(0.
|
|
227
|
-
--yellow-500: oklch(0.
|
|
228
|
-
--yellow-600: oklch(0.
|
|
229
|
-
--yellow-700: oklch(0.
|
|
230
|
-
--yellow-800: oklch(0.
|
|
231
|
-
--yellow-900: oklch(0.
|
|
232
|
-
--yellow-950: oklch(0.
|
|
233
|
-
--zinc-50: oklch(0.
|
|
234
|
-
--zinc-100: oklch(0.
|
|
235
|
-
--zinc-200: oklch(0.
|
|
236
|
-
--zinc-300: oklch(0.
|
|
237
|
-
--zinc-400: oklch(0.
|
|
238
|
-
--zinc-500: oklch(0.
|
|
239
|
-
--zinc-600: oklch(0.
|
|
240
|
-
--zinc-700: oklch(0.
|
|
241
|
-
--zinc-800: oklch(0.
|
|
242
|
-
--zinc-900: oklch(0.
|
|
243
|
-
--zinc-950: oklch(0.
|
|
244
|
-
}
|
|
2
|
+
--amber-50: oklch(0.987 0.022 95.28);
|
|
3
|
+
--amber-100: oklch(0.962 0.059 95.62);
|
|
4
|
+
--amber-200: oklch(0.924 0.12 95.75);
|
|
5
|
+
--amber-300: oklch(0.879 0.169 91.61);
|
|
6
|
+
--amber-400: oklch(0.828 0.189 84.43);
|
|
7
|
+
--amber-500: oklch(0.769 0.188 70.08);
|
|
8
|
+
--amber-600: oklch(0.666 0.179 58.32);
|
|
9
|
+
--amber-700: oklch(0.555 0.163 49);
|
|
10
|
+
--amber-800: oklch(0.473 0.137 46.2);
|
|
11
|
+
--amber-900: oklch(0.414 0.112 45.9);
|
|
12
|
+
--amber-950: oklch(0.279 0.077 45.63);
|
|
13
|
+
--blue-50: oklch(0.97 0.014 254.6);
|
|
14
|
+
--blue-100: oklch(0.932 0.032 255.59);
|
|
15
|
+
--blue-200: oklch(0.882 0.059 254.13);
|
|
16
|
+
--blue-300: oklch(0.809 0.105 251.81);
|
|
17
|
+
--blue-400: oklch(0.707 0.165 254.62);
|
|
18
|
+
--blue-500: oklch(0.623 0.214 259.81);
|
|
19
|
+
--blue-600: oklch(0.546 0.245 262.88);
|
|
20
|
+
--blue-700: oklch(0.488 0.243 264.38);
|
|
21
|
+
--blue-800: oklch(0.424 0.199 265.64);
|
|
22
|
+
--blue-900: oklch(0.379 0.146 265.52);
|
|
23
|
+
--blue-950: oklch(0.282 0.091 267.94);
|
|
24
|
+
--cyan-50: oklch(0.984 0.019 200.87);
|
|
25
|
+
--cyan-100: oklch(0.956 0.045 203.39);
|
|
26
|
+
--cyan-200: oklch(0.917 0.08 205.04);
|
|
27
|
+
--cyan-300: oklch(0.865 0.127 207.08);
|
|
28
|
+
--cyan-400: oklch(0.789 0.154 211.53);
|
|
29
|
+
--cyan-500: oklch(0.715 0.143 215.22);
|
|
30
|
+
--cyan-600: oklch(0.609 0.126 221.72);
|
|
31
|
+
--cyan-700: oklch(0.52 0.105 223.13);
|
|
32
|
+
--cyan-800: oklch(0.45 0.085 224.28);
|
|
33
|
+
--cyan-900: oklch(0.398 0.07 227.39);
|
|
34
|
+
--cyan-950: oklch(0.302 0.056 229.69);
|
|
35
|
+
--emerald-50: oklch(0.979 0.021 166.11);
|
|
36
|
+
--emerald-100: oklch(0.95 0.052 163.05);
|
|
37
|
+
--emerald-200: oklch(0.905 0.093 164.15);
|
|
38
|
+
--emerald-300: oklch(0.845 0.143 164.98);
|
|
39
|
+
--emerald-400: oklch(0.765 0.177 163.22);
|
|
40
|
+
--emerald-500: oklch(0.696 0.17 162.48);
|
|
41
|
+
--emerald-600: oklch(0.596 0.145 163.22);
|
|
42
|
+
--emerald-700: oklch(0.508 0.118 165.61);
|
|
43
|
+
--emerald-800: oklch(0.432 0.095 166.91);
|
|
44
|
+
--emerald-900: oklch(0.378 0.077 168.94);
|
|
45
|
+
--emerald-950: oklch(0.262 0.051 172.55);
|
|
46
|
+
--fuchsia-50: oklch(0.977 0.017 320.06);
|
|
47
|
+
--fuchsia-100: oklch(0.952 0.037 318.85);
|
|
48
|
+
--fuchsia-200: oklch(0.903 0.076 319.62);
|
|
49
|
+
--fuchsia-300: oklch(0.833 0.145 321.43);
|
|
50
|
+
--fuchsia-400: oklch(0.74 0.238 322.16);
|
|
51
|
+
--fuchsia-500: oklch(0.667 0.295 322.15);
|
|
52
|
+
--fuchsia-600: oklch(0.591 0.293 322.9);
|
|
53
|
+
--fuchsia-700: oklch(0.518 0.253 323.95);
|
|
54
|
+
--fuchsia-800: oklch(0.452 0.211 324.59);
|
|
55
|
+
--fuchsia-900: oklch(0.401 0.17 325.61);
|
|
56
|
+
--fuchsia-950: oklch(0.293 0.136 325.66);
|
|
57
|
+
--gray-50: oklch(0.985 0.002 247.84);
|
|
58
|
+
--gray-100: oklch(0.967 0.003 264.54);
|
|
59
|
+
--gray-200: oklch(0.928 0.006 264.53);
|
|
60
|
+
--gray-300: oklch(0.872 0.01 258.34);
|
|
61
|
+
--gray-400: oklch(0.707 0.022 261.32);
|
|
62
|
+
--gray-500: oklch(0.551 0.027 264.36);
|
|
63
|
+
--gray-600: oklch(0.446 0.03 256.8);
|
|
64
|
+
--gray-700: oklch(0.373 0.034 259.73);
|
|
65
|
+
--gray-800: oklch(0.278 0.033 256.85);
|
|
66
|
+
--gray-900: oklch(0.21 0.034 264.67);
|
|
67
|
+
--gray-950: oklch(0.13 0.028 261.69);
|
|
68
|
+
--green-50: oklch(0.982 0.018 155.83);
|
|
69
|
+
--green-100: oklch(0.962 0.044 156.74);
|
|
70
|
+
--green-200: oklch(0.925 0.084 156);
|
|
71
|
+
--green-300: oklch(0.871 0.15 154.45);
|
|
72
|
+
--green-400: oklch(0.792 0.209 151.71);
|
|
73
|
+
--green-500: oklch(0.723 0.219 149.58);
|
|
74
|
+
--green-600: oklch(0.627 0.194 149.21);
|
|
75
|
+
--green-700: oklch(0.527 0.154 150.07);
|
|
76
|
+
--green-800: oklch(0.448 0.119 151.33);
|
|
77
|
+
--green-900: oklch(0.393 0.095 152.53);
|
|
78
|
+
--green-950: oklch(0.266 0.065 152.93);
|
|
79
|
+
--indigo-50: oklch(0.962 0.018 272.31);
|
|
80
|
+
--indigo-100: oklch(0.93 0.034 272.79);
|
|
81
|
+
--indigo-200: oklch(0.87 0.065 274.04);
|
|
82
|
+
--indigo-300: oklch(0.785 0.115 274.71);
|
|
83
|
+
--indigo-400: oklch(0.673 0.182 276.94);
|
|
84
|
+
--indigo-500: oklch(0.585 0.233 277.12);
|
|
85
|
+
--indigo-600: oklch(0.511 0.262 276.97);
|
|
86
|
+
--indigo-700: oklch(0.457 0.24 277.02);
|
|
87
|
+
--indigo-800: oklch(0.398 0.195 277.37);
|
|
88
|
+
--indigo-900: oklch(0.359 0.144 278.7);
|
|
89
|
+
--indigo-950: oklch(0.257 0.09 281.29);
|
|
90
|
+
--lime-50: oklch(0.986 0.031 120.76);
|
|
91
|
+
--lime-100: oklch(0.967 0.067 122.33);
|
|
92
|
+
--lime-200: oklch(0.938 0.127 124.32);
|
|
93
|
+
--lime-300: oklch(0.897 0.196 126.67);
|
|
94
|
+
--lime-400: oklch(0.841 0.238 128.85);
|
|
95
|
+
--lime-500: oklch(0.768 0.233 130.85);
|
|
96
|
+
--lime-600: oklch(0.648 0.2 131.68);
|
|
97
|
+
--lime-700: oklch(0.532 0.157 131.59);
|
|
98
|
+
--lime-800: oklch(0.453 0.124 130.93);
|
|
99
|
+
--lime-900: oklch(0.405 0.101 131.06);
|
|
100
|
+
--lime-950: oklch(0.274 0.072 132.11);
|
|
101
|
+
--neutral-50: oklch(0.985 0 0);
|
|
102
|
+
--neutral-100: oklch(0.97 0 0);
|
|
103
|
+
--neutral-200: oklch(0.922 0 0);
|
|
104
|
+
--neutral-300: oklch(0.87 0 0);
|
|
105
|
+
--neutral-400: oklch(0.708 0 0);
|
|
106
|
+
--neutral-500: oklch(0.556 0 0);
|
|
107
|
+
--neutral-600: oklch(0.439 0 0);
|
|
108
|
+
--neutral-700: oklch(0.371 0 0);
|
|
109
|
+
--neutral-800: oklch(0.269 0 0);
|
|
110
|
+
--neutral-900: oklch(0.205 0 0);
|
|
111
|
+
--neutral-950: oklch(0.145 0 0);
|
|
112
|
+
--orange-50: oklch(0.98 0.016 73.68);
|
|
113
|
+
--orange-100: oklch(0.954 0.038 75.16);
|
|
114
|
+
--orange-200: oklch(0.901 0.076 70.7);
|
|
115
|
+
--orange-300: oklch(0.837 0.128 66.29);
|
|
116
|
+
--orange-400: oklch(0.75 0.183 55.93);
|
|
117
|
+
--orange-500: oklch(0.705 0.213 47.6);
|
|
118
|
+
--orange-600: oklch(0.646 0.222 41.12);
|
|
119
|
+
--orange-700: oklch(0.553 0.195 38.4);
|
|
120
|
+
--orange-800: oklch(0.47 0.157 37.3);
|
|
121
|
+
--orange-900: oklch(0.408 0.123 38.17);
|
|
122
|
+
--orange-950: oklch(0.266 0.079 36.26);
|
|
123
|
+
--pink-50: oklch(0.971 0.014 343.2);
|
|
124
|
+
--pink-100: oklch(0.948 0.028 342.26);
|
|
125
|
+
--pink-200: oklch(0.899 0.061 343.23);
|
|
126
|
+
--pink-300: oklch(0.823 0.12 346.02);
|
|
127
|
+
--pink-400: oklch(0.718 0.202 349.76);
|
|
128
|
+
--pink-500: oklch(0.656 0.241 354.31);
|
|
129
|
+
--pink-600: oklch(0.592 0.249 0.58);
|
|
130
|
+
--pink-700: oklch(0.525 0.223 3.96);
|
|
131
|
+
--pink-800: oklch(0.459 0.187 3.81);
|
|
132
|
+
--pink-900: oklch(0.408 0.153 2.43);
|
|
133
|
+
--pink-950: oklch(0.284 0.109 3.91);
|
|
134
|
+
--purple-50: oklch(0.977 0.014 308.3);
|
|
135
|
+
--purple-100: oklch(0.946 0.033 307.17);
|
|
136
|
+
--purple-200: oklch(0.902 0.063 306.7);
|
|
137
|
+
--purple-300: oklch(0.827 0.119 306.38);
|
|
138
|
+
--purple-400: oklch(0.714 0.203 305.5);
|
|
139
|
+
--purple-500: oklch(0.627 0.265 303.9);
|
|
140
|
+
--purple-600: oklch(0.558 0.288 302.32);
|
|
141
|
+
--purple-700: oklch(0.496 0.265 301.92);
|
|
142
|
+
--purple-800: oklch(0.438 0.218 303.72);
|
|
143
|
+
--purple-900: oklch(0.381 0.176 304.99);
|
|
144
|
+
--purple-950: oklch(0.291 0.149 302.72);
|
|
145
|
+
--red-50: oklch(0.971 0.013 17.38);
|
|
146
|
+
--red-100: oklch(0.936 0.032 17.72);
|
|
147
|
+
--red-200: oklch(0.885 0.062 18.33);
|
|
148
|
+
--red-300: oklch(0.808 0.114 19.57);
|
|
149
|
+
--red-400: oklch(0.704 0.191 22.22);
|
|
150
|
+
--red-500: oklch(0.637 0.237 25.33);
|
|
151
|
+
--red-600: oklch(0.577 0.245 27.32);
|
|
152
|
+
--red-700: oklch(0.505 0.213 27.52);
|
|
153
|
+
--red-800: oklch(0.444 0.177 26.9);
|
|
154
|
+
--red-900: oklch(0.396 0.141 25.72);
|
|
155
|
+
--red-950: oklch(0.258 0.092 26.04);
|
|
156
|
+
--rose-50: oklch(0.969 0.015 12.42);
|
|
157
|
+
--rose-100: oklch(0.941 0.03 12.58);
|
|
158
|
+
--rose-200: oklch(0.892 0.058 10);
|
|
159
|
+
--rose-300: oklch(0.81 0.117 11.64);
|
|
160
|
+
--rose-400: oklch(0.712 0.194 13.43);
|
|
161
|
+
--rose-500: oklch(0.645 0.246 16.44);
|
|
162
|
+
--rose-600: oklch(0.586 0.253 17.59);
|
|
163
|
+
--rose-700: oklch(0.514 0.222 16.93);
|
|
164
|
+
--rose-800: oklch(0.455 0.188 13.7);
|
|
165
|
+
--rose-900: oklch(0.41 0.159 10.27);
|
|
166
|
+
--rose-950: oklch(0.271 0.105 12.09);
|
|
167
|
+
--sky-50: oklch(0.977 0.013 236.62);
|
|
168
|
+
--sky-100: oklch(0.951 0.026 236.82);
|
|
169
|
+
--sky-200: oklch(0.901 0.058 230.9);
|
|
170
|
+
--sky-300: oklch(0.828 0.111 230.32);
|
|
171
|
+
--sky-400: oklch(0.746 0.16 232.66);
|
|
172
|
+
--sky-500: oklch(0.685 0.169 237.32);
|
|
173
|
+
--sky-600: oklch(0.588 0.158 241.97);
|
|
174
|
+
--sky-700: oklch(0.5 0.134 242.75);
|
|
175
|
+
--sky-800: oklch(0.443 0.11 240.79);
|
|
176
|
+
--sky-900: oklch(0.391 0.09 240.88);
|
|
177
|
+
--sky-950: oklch(0.293 0.066 243.16);
|
|
178
|
+
--slate-50: oklch(0.984 0.003 247.86);
|
|
179
|
+
--slate-100: oklch(0.968 0.007 247.9);
|
|
180
|
+
--slate-200: oklch(0.929 0.013 255.51);
|
|
181
|
+
--slate-300: oklch(0.869 0.022 252.89);
|
|
182
|
+
--slate-400: oklch(0.704 0.04 256.79);
|
|
183
|
+
--slate-500: oklch(0.554 0.046 257.42);
|
|
184
|
+
--slate-600: oklch(0.446 0.043 257.28);
|
|
185
|
+
--slate-700: oklch(0.372 0.044 257.29);
|
|
186
|
+
--slate-800: oklch(0.279 0.041 260.03);
|
|
187
|
+
--slate-900: oklch(0.208 0.042 265.75);
|
|
188
|
+
--slate-950: oklch(0.129 0.042 264.69);
|
|
189
|
+
--stone-50: oklch(0.985 0.001 106.42);
|
|
190
|
+
--stone-100: oklch(0.97 0.001 106.42);
|
|
191
|
+
--stone-200: oklch(0.923 0.003 48.72);
|
|
192
|
+
--stone-300: oklch(0.869 0.005 56.37);
|
|
193
|
+
--stone-400: oklch(0.709 0.01 56.26);
|
|
194
|
+
--stone-500: oklch(0.553 0.013 58.07);
|
|
195
|
+
--stone-600: oklch(0.444 0.011 73.64);
|
|
196
|
+
--stone-700: oklch(0.374 0.01 67.56);
|
|
197
|
+
--stone-800: oklch(0.268 0.007 34.3);
|
|
198
|
+
--stone-900: oklch(0.216 0.006 56.04);
|
|
199
|
+
--stone-950: oklch(0.147 0.004 49.25);
|
|
200
|
+
--teal-50: oklch(0.984 0.014 180.72);
|
|
201
|
+
--teal-100: oklch(0.953 0.051 180.8);
|
|
202
|
+
--teal-200: oklch(0.91 0.096 180.43);
|
|
203
|
+
--teal-300: oklch(0.855 0.138 181.07);
|
|
204
|
+
--teal-400: oklch(0.777 0.152 181.91);
|
|
205
|
+
--teal-500: oklch(0.704 0.14 182.5);
|
|
206
|
+
--teal-600: oklch(0.6 0.118 184.7);
|
|
207
|
+
--teal-700: oklch(0.511 0.096 186.39);
|
|
208
|
+
--teal-800: oklch(0.437 0.078 188.22);
|
|
209
|
+
--teal-900: oklch(0.386 0.063 188.42);
|
|
210
|
+
--teal-950: oklch(0.277 0.046 192.52);
|
|
211
|
+
--violet-50: oklch(0.969 0.016 293.76);
|
|
212
|
+
--violet-100: oklch(0.943 0.029 294.59);
|
|
213
|
+
--violet-200: oklch(0.894 0.057 293.28);
|
|
214
|
+
--violet-300: oklch(0.811 0.111 293.57);
|
|
215
|
+
--violet-400: oklch(0.702 0.183 293.54);
|
|
216
|
+
--violet-500: oklch(0.606 0.25 292.72);
|
|
217
|
+
--violet-600: oklch(0.541 0.281 293.01);
|
|
218
|
+
--violet-700: oklch(0.491 0.27 292.58);
|
|
219
|
+
--violet-800: oklch(0.432 0.232 292.76);
|
|
220
|
+
--violet-900: oklch(0.38 0.189 293.75);
|
|
221
|
+
--violet-950: oklch(0.283 0.141 291.09);
|
|
222
|
+
--yellow-50: oklch(0.987 0.026 102.21);
|
|
223
|
+
--yellow-100: oklch(0.973 0.071 103.19);
|
|
224
|
+
--yellow-200: oklch(0.945 0.129 101.54);
|
|
225
|
+
--yellow-300: oklch(0.905 0.182 98.11);
|
|
226
|
+
--yellow-400: oklch(0.852 0.199 91.94);
|
|
227
|
+
--yellow-500: oklch(0.795 0.184 86.05);
|
|
228
|
+
--yellow-600: oklch(0.681 0.162 75.83);
|
|
229
|
+
--yellow-700: oklch(0.554 0.135 66.44);
|
|
230
|
+
--yellow-800: oklch(0.476 0.114 61.91);
|
|
231
|
+
--yellow-900: oklch(0.421 0.095 57.71);
|
|
232
|
+
--yellow-950: oklch(0.286 0.066 53.81);
|
|
233
|
+
--zinc-50: oklch(0.985 0 0);
|
|
234
|
+
--zinc-100: oklch(0.967 0.001 286.38);
|
|
235
|
+
--zinc-200: oklch(0.92 0.004 286.32);
|
|
236
|
+
--zinc-300: oklch(0.871 0.006 286.29);
|
|
237
|
+
--zinc-400: oklch(0.705 0.015 286.07);
|
|
238
|
+
--zinc-500: oklch(0.552 0.016 285.94);
|
|
239
|
+
--zinc-600: oklch(0.442 0.017 285.79);
|
|
240
|
+
--zinc-700: oklch(0.37 0.013 285.81);
|
|
241
|
+
--zinc-800: oklch(0.274 0.006 286.03);
|
|
242
|
+
--zinc-900: oklch(0.21 0.006 285.88);
|
|
243
|
+
--zinc-950: oklch(0.141 0.005 285.82);
|
|
244
|
+
}
|
package/css/rgb.css
CHANGED
package/css/rgba.css
CHANGED