@crewlethq/tokens 0.83.0 → 0.84.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 +2 -1
- package/dist/color.d.ts +0 -7
- package/dist/color.js +0 -13
- package/dist/css/brand-scope.css +84 -56
- package/dist/css/themes/abyss.css +126 -84
- package/dist/css/themes/all.css +1134 -756
- package/dist/css/themes/dusk.css +126 -84
- package/dist/css/themes/high-contrast.css +126 -84
- package/dist/css/themes/iris.css +126 -84
- package/dist/css/themes/ledger.css +126 -84
- package/dist/css/themes/nightshade.css +126 -84
- package/dist/css/themes/nocturne.css +126 -84
- package/dist/css/themes/origin.css +126 -84
- package/dist/css/themes/violet.css +126 -84
- package/dist/css/themes.css +126 -84
- package/dist/css/tokens.css +42 -28
- package/dist/index.d.ts +42 -28
- package/dist/index.js +42 -28
- package/dist/palettes.d.ts +84 -56
- package/dist/palettes.js +84 -56
- package/package.json +1 -1
- package/test/color.mjs +1 -2
package/dist/palettes.d.ts
CHANGED
|
@@ -124,34 +124,48 @@ export declare const themes: {
|
|
|
124
124
|
readonly brandInk: "#74246a";
|
|
125
125
|
readonly brandFill: "rgba(143, 56, 132, 0.12)";
|
|
126
126
|
readonly brandLine: "rgba(143, 56, 132, 0.38)";
|
|
127
|
-
readonly docGround: "#
|
|
128
|
-
readonly docGroundStrong: "#
|
|
129
|
-
readonly docGroundEnd: "#
|
|
130
|
-
readonly docGlow: "rgba(64, 98, 167, 0.
|
|
131
|
-
readonly
|
|
132
|
-
readonly
|
|
133
|
-
readonly
|
|
134
|
-
readonly
|
|
135
|
-
readonly
|
|
136
|
-
readonly
|
|
137
|
-
readonly
|
|
138
|
-
readonly
|
|
139
|
-
readonly
|
|
140
|
-
readonly
|
|
141
|
-
readonly
|
|
142
|
-
readonly
|
|
143
|
-
readonly
|
|
144
|
-
readonly
|
|
145
|
-
readonly
|
|
146
|
-
readonly
|
|
147
|
-
readonly
|
|
148
|
-
readonly
|
|
149
|
-
readonly
|
|
150
|
-
readonly
|
|
151
|
-
readonly
|
|
152
|
-
readonly
|
|
153
|
-
readonly
|
|
154
|
-
readonly
|
|
127
|
+
readonly docGround: "#dee9ff";
|
|
128
|
+
readonly docGroundStrong: "#cfe0ff";
|
|
129
|
+
readonly docGroundEnd: "#eaf1fe";
|
|
130
|
+
readonly docGlow: "rgba(64, 98, 167, 0.24)";
|
|
131
|
+
readonly docEdge: "#4062a7";
|
|
132
|
+
readonly docEdgeStrong: "#385590";
|
|
133
|
+
readonly slidesGround: "#fae5d0";
|
|
134
|
+
readonly slidesGroundStrong: "#f8d9bb";
|
|
135
|
+
readonly slidesGroundEnd: "#fbeee2";
|
|
136
|
+
readonly slidesGlow: "rgba(134, 90, 40, 0.24)";
|
|
137
|
+
readonly slidesEdge: "#865a28";
|
|
138
|
+
readonly slidesEdgeStrong: "#724f2b";
|
|
139
|
+
readonly designGround: "#ebe5ff";
|
|
140
|
+
readonly designGroundStrong: "#e2d9ff";
|
|
141
|
+
readonly designGroundEnd: "#f2eefe";
|
|
142
|
+
readonly designGlow: "rgba(113, 80, 179, 0.24)";
|
|
143
|
+
readonly designEdge: "#7150b3";
|
|
144
|
+
readonly designEdgeStrong: "#60469a";
|
|
145
|
+
readonly dashboardGround: "#d0eef8";
|
|
146
|
+
readonly dashboardGroundStrong: "#bbe7f5";
|
|
147
|
+
readonly dashboardGroundEnd: "#e2f4fa";
|
|
148
|
+
readonly dashboardGlow: "rgba(22, 107, 128, 0.24)";
|
|
149
|
+
readonly dashboardEdge: "#166b80";
|
|
150
|
+
readonly dashboardEdgeStrong: "#195c70";
|
|
151
|
+
readonly htmlGround: "#ffe0e3";
|
|
152
|
+
readonly htmlGroundStrong: "#ffd3d6";
|
|
153
|
+
readonly htmlGroundEnd: "#feebed";
|
|
154
|
+
readonly htmlGlow: "rgba(152, 74, 85, 0.24)";
|
|
155
|
+
readonly htmlEdge: "#984a55";
|
|
156
|
+
readonly htmlEdgeStrong: "#81424d";
|
|
157
|
+
readonly sheetGround: "#d4f1dc";
|
|
158
|
+
readonly sheetGroundStrong: "#c2eacd";
|
|
159
|
+
readonly sheetGroundEnd: "#e4f5e9";
|
|
160
|
+
readonly sheetGlow: "rgba(44, 112, 70, 0.24)";
|
|
161
|
+
readonly sheetEdge: "#2c7046";
|
|
162
|
+
readonly sheetEdgeStrong: "#286142";
|
|
163
|
+
readonly brandGround: "#ffdcf8";
|
|
164
|
+
readonly brandGroundStrong: "#ffcbf5";
|
|
165
|
+
readonly brandGroundEnd: "#fee9fa";
|
|
166
|
+
readonly brandGlow: "rgba(143, 56, 132, 0.24)";
|
|
167
|
+
readonly brandEdge: "#8f3884";
|
|
168
|
+
readonly brandEdgeStrong: "#7a3374";
|
|
155
169
|
};
|
|
156
170
|
};
|
|
157
171
|
readonly scrollbar: "rgba(7, 8, 13, 0.2)";
|
|
@@ -297,34 +311,48 @@ export declare const themes: {
|
|
|
297
311
|
readonly brandInk: "#dabcdb";
|
|
298
312
|
readonly brandFill: "rgba(204, 123, 209, 0.12)";
|
|
299
313
|
readonly brandLine: "rgba(204, 123, 209, 0.38)";
|
|
300
|
-
readonly docGround: "#
|
|
301
|
-
readonly docGroundStrong: "#
|
|
302
|
-
readonly docGroundEnd: "#
|
|
303
|
-
readonly docGlow: "rgba(91, 127, 199, 0.
|
|
304
|
-
readonly
|
|
305
|
-
readonly
|
|
306
|
-
readonly
|
|
307
|
-
readonly
|
|
308
|
-
readonly
|
|
309
|
-
readonly
|
|
310
|
-
readonly
|
|
311
|
-
readonly
|
|
312
|
-
readonly
|
|
313
|
-
readonly
|
|
314
|
-
readonly
|
|
315
|
-
readonly
|
|
316
|
-
readonly
|
|
317
|
-
readonly
|
|
318
|
-
readonly
|
|
319
|
-
readonly
|
|
320
|
-
readonly
|
|
321
|
-
readonly
|
|
322
|
-
readonly
|
|
323
|
-
readonly
|
|
324
|
-
readonly
|
|
325
|
-
readonly
|
|
326
|
-
readonly
|
|
327
|
-
readonly
|
|
314
|
+
readonly docGround: "#131f37";
|
|
315
|
+
readonly docGroundStrong: "#132447";
|
|
316
|
+
readonly docGroundEnd: "#141b29";
|
|
317
|
+
readonly docGlow: "rgba(91, 127, 199, 0.24)";
|
|
318
|
+
readonly docEdge: "#5b7fc7";
|
|
319
|
+
readonly docEdgeStrong: "#7090cf";
|
|
320
|
+
readonly slidesGround: "#2f1f0e";
|
|
321
|
+
readonly slidesGroundStrong: "#3c250a";
|
|
322
|
+
readonly slidesGroundEnd: "#241b11";
|
|
323
|
+
readonly slidesGlow: "rgba(200, 152, 102, 0.24)";
|
|
324
|
+
readonly slidesEdge: "#c89866";
|
|
325
|
+
readonly slidesEdgeStrong: "#cea57d";
|
|
326
|
+
readonly designGround: "#23183a";
|
|
327
|
+
readonly designGroundStrong: "#2b194c";
|
|
328
|
+
readonly designGroundEnd: "#1d172b";
|
|
329
|
+
readonly designGlow: "rgba(142, 110, 212, 0.24)";
|
|
330
|
+
readonly designEdge: "#8e6ed4";
|
|
331
|
+
readonly designEdgeStrong: "#9b82da";
|
|
332
|
+
readonly dashboardGround: "#0c262d";
|
|
333
|
+
readonly dashboardGroundStrong: "#032f3a";
|
|
334
|
+
readonly dashboardGroundEnd: "#111f23";
|
|
335
|
+
readonly dashboardGlow: "rgba(92, 168, 190, 0.24)";
|
|
336
|
+
readonly dashboardEdge: "#5ca8be";
|
|
337
|
+
readonly dashboardEdgeStrong: "#74b3c6";
|
|
338
|
+
readonly htmlGround: "#33181b";
|
|
339
|
+
readonly htmlGroundStrong: "#41191f";
|
|
340
|
+
readonly htmlGroundEnd: "#271718";
|
|
341
|
+
readonly htmlGlow: "rgba(200, 117, 127, 0.24)";
|
|
342
|
+
readonly htmlEdge: "#c8757f";
|
|
343
|
+
readonly htmlEdgeStrong: "#cf8891";
|
|
344
|
+
readonly sheetGround: "#102718";
|
|
345
|
+
readonly sheetGroundStrong: "#0c301a";
|
|
346
|
+
readonly sheetGroundEnd: "#131f17";
|
|
347
|
+
readonly sheetGlow: "rgba(98, 165, 120, 0.24)";
|
|
348
|
+
readonly sheetEdge: "#62a578";
|
|
349
|
+
readonly sheetEdgeStrong: "#78b08b";
|
|
350
|
+
readonly brandGround: "#311633";
|
|
351
|
+
readonly brandGroundStrong: "#3f1642";
|
|
352
|
+
readonly brandGroundEnd: "#261627";
|
|
353
|
+
readonly brandGlow: "rgba(204, 123, 209, 0.24)";
|
|
354
|
+
readonly brandEdge: "#cc7bd1";
|
|
355
|
+
readonly brandEdgeStrong: "#d18dd7";
|
|
328
356
|
};
|
|
329
357
|
};
|
|
330
358
|
readonly scrollbar: "rgba(255, 255, 255, 0.16)";
|
package/dist/palettes.js
CHANGED
|
@@ -125,34 +125,48 @@ export const themes = {
|
|
|
125
125
|
"brandInk": "#74246a",
|
|
126
126
|
"brandFill": "rgba(143, 56, 132, 0.12)",
|
|
127
127
|
"brandLine": "rgba(143, 56, 132, 0.38)",
|
|
128
|
-
"docGround": "#
|
|
129
|
-
"docGroundStrong": "#
|
|
130
|
-
"docGroundEnd": "#
|
|
131
|
-
"docGlow": "rgba(64, 98, 167, 0.
|
|
132
|
-
"
|
|
133
|
-
"
|
|
134
|
-
"
|
|
135
|
-
"
|
|
136
|
-
"
|
|
137
|
-
"
|
|
138
|
-
"
|
|
139
|
-
"
|
|
140
|
-
"
|
|
141
|
-
"
|
|
142
|
-
"
|
|
143
|
-
"
|
|
144
|
-
"
|
|
145
|
-
"
|
|
146
|
-
"
|
|
147
|
-
"
|
|
148
|
-
"
|
|
149
|
-
"
|
|
150
|
-
"
|
|
151
|
-
"
|
|
152
|
-
"
|
|
153
|
-
"
|
|
154
|
-
"
|
|
155
|
-
"
|
|
128
|
+
"docGround": "#dee9ff",
|
|
129
|
+
"docGroundStrong": "#cfe0ff",
|
|
130
|
+
"docGroundEnd": "#eaf1fe",
|
|
131
|
+
"docGlow": "rgba(64, 98, 167, 0.24)",
|
|
132
|
+
"docEdge": "#4062a7",
|
|
133
|
+
"docEdgeStrong": "#385590",
|
|
134
|
+
"slidesGround": "#fae5d0",
|
|
135
|
+
"slidesGroundStrong": "#f8d9bb",
|
|
136
|
+
"slidesGroundEnd": "#fbeee2",
|
|
137
|
+
"slidesGlow": "rgba(134, 90, 40, 0.24)",
|
|
138
|
+
"slidesEdge": "#865a28",
|
|
139
|
+
"slidesEdgeStrong": "#724f2b",
|
|
140
|
+
"designGround": "#ebe5ff",
|
|
141
|
+
"designGroundStrong": "#e2d9ff",
|
|
142
|
+
"designGroundEnd": "#f2eefe",
|
|
143
|
+
"designGlow": "rgba(113, 80, 179, 0.24)",
|
|
144
|
+
"designEdge": "#7150b3",
|
|
145
|
+
"designEdgeStrong": "#60469a",
|
|
146
|
+
"dashboardGround": "#d0eef8",
|
|
147
|
+
"dashboardGroundStrong": "#bbe7f5",
|
|
148
|
+
"dashboardGroundEnd": "#e2f4fa",
|
|
149
|
+
"dashboardGlow": "rgba(22, 107, 128, 0.24)",
|
|
150
|
+
"dashboardEdge": "#166b80",
|
|
151
|
+
"dashboardEdgeStrong": "#195c70",
|
|
152
|
+
"htmlGround": "#ffe0e3",
|
|
153
|
+
"htmlGroundStrong": "#ffd3d6",
|
|
154
|
+
"htmlGroundEnd": "#feebed",
|
|
155
|
+
"htmlGlow": "rgba(152, 74, 85, 0.24)",
|
|
156
|
+
"htmlEdge": "#984a55",
|
|
157
|
+
"htmlEdgeStrong": "#81424d",
|
|
158
|
+
"sheetGround": "#d4f1dc",
|
|
159
|
+
"sheetGroundStrong": "#c2eacd",
|
|
160
|
+
"sheetGroundEnd": "#e4f5e9",
|
|
161
|
+
"sheetGlow": "rgba(44, 112, 70, 0.24)",
|
|
162
|
+
"sheetEdge": "#2c7046",
|
|
163
|
+
"sheetEdgeStrong": "#286142",
|
|
164
|
+
"brandGround": "#ffdcf8",
|
|
165
|
+
"brandGroundStrong": "#ffcbf5",
|
|
166
|
+
"brandGroundEnd": "#fee9fa",
|
|
167
|
+
"brandGlow": "rgba(143, 56, 132, 0.24)",
|
|
168
|
+
"brandEdge": "#8f3884",
|
|
169
|
+
"brandEdgeStrong": "#7a3374"
|
|
156
170
|
}
|
|
157
171
|
},
|
|
158
172
|
"scrollbar": "rgba(7, 8, 13, 0.2)",
|
|
@@ -298,34 +312,48 @@ export const themes = {
|
|
|
298
312
|
"brandInk": "#dabcdb",
|
|
299
313
|
"brandFill": "rgba(204, 123, 209, 0.12)",
|
|
300
314
|
"brandLine": "rgba(204, 123, 209, 0.38)",
|
|
301
|
-
"docGround": "#
|
|
302
|
-
"docGroundStrong": "#
|
|
303
|
-
"docGroundEnd": "#
|
|
304
|
-
"docGlow": "rgba(91, 127, 199, 0.
|
|
305
|
-
"
|
|
306
|
-
"
|
|
307
|
-
"
|
|
308
|
-
"
|
|
309
|
-
"
|
|
310
|
-
"
|
|
311
|
-
"
|
|
312
|
-
"
|
|
313
|
-
"
|
|
314
|
-
"
|
|
315
|
-
"
|
|
316
|
-
"
|
|
317
|
-
"
|
|
318
|
-
"
|
|
319
|
-
"
|
|
320
|
-
"
|
|
321
|
-
"
|
|
322
|
-
"
|
|
323
|
-
"
|
|
324
|
-
"
|
|
325
|
-
"
|
|
326
|
-
"
|
|
327
|
-
"
|
|
328
|
-
"
|
|
315
|
+
"docGround": "#131f37",
|
|
316
|
+
"docGroundStrong": "#132447",
|
|
317
|
+
"docGroundEnd": "#141b29",
|
|
318
|
+
"docGlow": "rgba(91, 127, 199, 0.24)",
|
|
319
|
+
"docEdge": "#5b7fc7",
|
|
320
|
+
"docEdgeStrong": "#7090cf",
|
|
321
|
+
"slidesGround": "#2f1f0e",
|
|
322
|
+
"slidesGroundStrong": "#3c250a",
|
|
323
|
+
"slidesGroundEnd": "#241b11",
|
|
324
|
+
"slidesGlow": "rgba(200, 152, 102, 0.24)",
|
|
325
|
+
"slidesEdge": "#c89866",
|
|
326
|
+
"slidesEdgeStrong": "#cea57d",
|
|
327
|
+
"designGround": "#23183a",
|
|
328
|
+
"designGroundStrong": "#2b194c",
|
|
329
|
+
"designGroundEnd": "#1d172b",
|
|
330
|
+
"designGlow": "rgba(142, 110, 212, 0.24)",
|
|
331
|
+
"designEdge": "#8e6ed4",
|
|
332
|
+
"designEdgeStrong": "#9b82da",
|
|
333
|
+
"dashboardGround": "#0c262d",
|
|
334
|
+
"dashboardGroundStrong": "#032f3a",
|
|
335
|
+
"dashboardGroundEnd": "#111f23",
|
|
336
|
+
"dashboardGlow": "rgba(92, 168, 190, 0.24)",
|
|
337
|
+
"dashboardEdge": "#5ca8be",
|
|
338
|
+
"dashboardEdgeStrong": "#74b3c6",
|
|
339
|
+
"htmlGround": "#33181b",
|
|
340
|
+
"htmlGroundStrong": "#41191f",
|
|
341
|
+
"htmlGroundEnd": "#271718",
|
|
342
|
+
"htmlGlow": "rgba(200, 117, 127, 0.24)",
|
|
343
|
+
"htmlEdge": "#c8757f",
|
|
344
|
+
"htmlEdgeStrong": "#cf8891",
|
|
345
|
+
"sheetGround": "#102718",
|
|
346
|
+
"sheetGroundStrong": "#0c301a",
|
|
347
|
+
"sheetGroundEnd": "#131f17",
|
|
348
|
+
"sheetGlow": "rgba(98, 165, 120, 0.24)",
|
|
349
|
+
"sheetEdge": "#62a578",
|
|
350
|
+
"sheetEdgeStrong": "#78b08b",
|
|
351
|
+
"brandGround": "#311633",
|
|
352
|
+
"brandGroundStrong": "#3f1642",
|
|
353
|
+
"brandGroundEnd": "#261627",
|
|
354
|
+
"brandGlow": "rgba(204, 123, 209, 0.24)",
|
|
355
|
+
"brandEdge": "#cc7bd1",
|
|
356
|
+
"brandEdgeStrong": "#d18dd7"
|
|
329
357
|
}
|
|
330
358
|
},
|
|
331
359
|
"scrollbar": "rgba(255, 255, 255, 0.16)",
|
package/package.json
CHANGED
package/test/color.mjs
CHANGED
|
@@ -22,7 +22,6 @@
|
|
|
22
22
|
*/
|
|
23
23
|
|
|
24
24
|
import {
|
|
25
|
-
atLightness,
|
|
26
25
|
contrast,
|
|
27
26
|
formatHex,
|
|
28
27
|
fromLinear,
|
|
@@ -37,7 +36,7 @@ import {
|
|
|
37
36
|
withAlpha,
|
|
38
37
|
} from '../dist/color.js';
|
|
39
38
|
|
|
40
|
-
export {
|
|
39
|
+
export { contrast, fromOklab, luminance, oklabHex, oklabToLinear, parseHex, parseRgba, toOklab, withAlpha };
|
|
41
40
|
export { formatHex as hex };
|
|
42
41
|
|
|
43
42
|
/** @typedef {{ r: number, g: number, b: number }} RGB */
|