@rookcom/monarch-tokens 0.2.2 → 0.2.3
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/CHANGELOG.md +6 -0
- package/dist/contrast-report.json +0 -48
- package/dist/generated/products.d.ts +0 -5
- package/dist/generated/products.d.ts.map +1 -1
- package/dist/generated/products.js +0 -1
- package/dist/generated/products.js.map +1 -1
- package/package.json +1 -1
- package/dist/css/products/developers.css +0 -85
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @rookcom/monarch-tokens
|
|
2
2
|
|
|
3
|
+
## 0.2.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Rook Developers is out of Monarch's scope (owner decision), so its product accent is no longer generated: `css/products/developers.css` is removed. No Rook app imports it.
|
|
8
|
+
|
|
3
9
|
## 0.2.2
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
|
@@ -323,54 +323,6 @@
|
|
|
323
323
|
}
|
|
324
324
|
}
|
|
325
325
|
},
|
|
326
|
-
"developers": {
|
|
327
|
-
"light": {
|
|
328
|
-
"base": "0 0% 9%",
|
|
329
|
-
"adjustments": [],
|
|
330
|
-
"ratios": {
|
|
331
|
-
"onSolid": 17.93,
|
|
332
|
-
"strongOnCanvas": 17.49,
|
|
333
|
-
"strongOnSurface": 17.93,
|
|
334
|
-
"strongOnSubtle": 16.59
|
|
335
|
-
}
|
|
336
|
-
},
|
|
337
|
-
"dark": {
|
|
338
|
-
"base": "0 0% 9%",
|
|
339
|
-
"adjustments": [
|
|
340
|
-
"achromatic brand inverted to a light fill for dark theme",
|
|
341
|
-
"dark text used on solid (white would fail contrast)"
|
|
342
|
-
],
|
|
343
|
-
"ratios": {
|
|
344
|
-
"onSolid": 16.82,
|
|
345
|
-
"strongOnCanvas": 11.94,
|
|
346
|
-
"strongOnSurface": 11.07,
|
|
347
|
-
"strongOnSubtle": 9.67
|
|
348
|
-
}
|
|
349
|
-
},
|
|
350
|
-
"hc-light": {
|
|
351
|
-
"base": "0 0% 9%",
|
|
352
|
-
"adjustments": [],
|
|
353
|
-
"ratios": {
|
|
354
|
-
"onSolid": 17.93,
|
|
355
|
-
"strongOnCanvas": 17.93,
|
|
356
|
-
"strongOnSurface": 17.93,
|
|
357
|
-
"strongOnSubtle": 16.73
|
|
358
|
-
}
|
|
359
|
-
},
|
|
360
|
-
"hc-dark": {
|
|
361
|
-
"base": "0 0% 9%",
|
|
362
|
-
"adjustments": [
|
|
363
|
-
"achromatic brand inverted to a light fill for dark theme",
|
|
364
|
-
"dark text used on solid (white would fail contrast)"
|
|
365
|
-
],
|
|
366
|
-
"ratios": {
|
|
367
|
-
"onSolid": 16.82,
|
|
368
|
-
"strongOnCanvas": 13.08,
|
|
369
|
-
"strongOnSurface": 13.08,
|
|
370
|
-
"strongOnSubtle": 10.84
|
|
371
|
-
}
|
|
372
|
-
}
|
|
373
|
-
},
|
|
374
326
|
"dossier": {
|
|
375
327
|
"light": {
|
|
376
328
|
"base": "175 84% 32%",
|
|
@@ -30,11 +30,6 @@ export declare const products: {
|
|
|
30
30
|
readonly name: "Rook Chat";
|
|
31
31
|
readonly accent: Hsl;
|
|
32
32
|
};
|
|
33
|
-
readonly developers: {
|
|
34
|
-
readonly id: "developers";
|
|
35
|
-
readonly name: "Rook Developers";
|
|
36
|
-
readonly accent: Hsl;
|
|
37
|
-
};
|
|
38
33
|
readonly dossier: {
|
|
39
34
|
readonly id: "dossier";
|
|
40
35
|
readonly name: "Rook Dossier";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"products.d.ts","sourceRoot":"","sources":["../../src/generated/products.ts"],"names":[],"mappings":"AACA,OAAO,EAAO,KAAK,GAAG,EAAE,MAAM,aAAa,CAAC;AAE5C,MAAM,WAAW,aAAa;IAC5B,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,MAAM,EAAE,GAAG,CAAC;CACtB;AAED,eAAO,MAAM,QAAQ
|
|
1
|
+
{"version":3,"file":"products.d.ts","sourceRoot":"","sources":["../../src/generated/products.ts"],"names":[],"mappings":"AACA,OAAO,EAAO,KAAK,GAAG,EAAE,MAAM,aAAa,CAAC;AAE5C,MAAM,WAAW,aAAa;IAC5B,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,MAAM,EAAE,GAAG,CAAC;CACtB;AAED,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoB6B,CAAC;AAEnD,MAAM,MAAM,SAAS,GAAG,MAAM,OAAO,QAAQ,CAAC;AAC9C,eAAO,MAAM,UAAU,EAA4B,SAAS,EAAE,CAAC"}
|
|
@@ -6,7 +6,6 @@ export const products = {
|
|
|
6
6
|
"base": { id: "base", name: "Rook Base", accent: hsl(44, 100, 48) },
|
|
7
7
|
"calendar": { id: "calendar", name: "Rook Calendar", accent: hsl(198, 100, 42) },
|
|
8
8
|
"chat": { id: "chat", name: "Rook Chat", accent: hsl(239, 84, 67) },
|
|
9
|
-
"developers": { id: "developers", name: "Rook Developers", accent: hsl(0, 0, 9) },
|
|
10
9
|
"dossier": { id: "dossier", name: "Rook Dossier", accent: hsl(175, 84, 32) },
|
|
11
10
|
"dots": { id: "dots", name: "Rook Dots", accent: hsl(354, 70, 52) },
|
|
12
11
|
"friends": { id: "friends", name: "Rook Friends", accent: hsl(0, 0, 0) },
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"products.js","sourceRoot":"","sources":["../../src/generated/products.ts"],"names":[],"mappings":"AAAA,wEAAwE;AACxE,OAAO,EAAE,GAAG,EAAY,MAAM,aAAa,CAAC;AAQ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|
|
1
|
-
/*! Monarch product accent: developers. Generated by @rookcom/monarch-tokens. Do not edit. */
|
|
2
|
-
@layer monarch.tokens, monarch.base, monarch.components;
|
|
3
|
-
|
|
4
|
-
@layer monarch.tokens {
|
|
5
|
-
|
|
6
|
-
[data-mn-product="developers"] {
|
|
7
|
-
--mn-color-accent-solid: hsl(0 0% 9%);
|
|
8
|
-
--mn-color-accent-solid-hover: hsl(0 0% 4%);
|
|
9
|
-
--mn-color-accent-solid-active: hsl(0 0% 0%);
|
|
10
|
-
--mn-color-accent-on-solid: hsl(0 0% 100%);
|
|
11
|
-
--mn-color-accent-subtle: hsl(0 0% 96.5%);
|
|
12
|
-
--mn-color-accent-subtle-hover: hsl(0 0% 93.5%);
|
|
13
|
-
--mn-color-accent-strong: hsl(0 0% 9%);
|
|
14
|
-
--mn-color-accent-on-strong: hsl(0 0% 100%);
|
|
15
|
-
--mn-color-accent-border: hsl(0 0% 84%);
|
|
16
|
-
--primary: 0 0% 9%;
|
|
17
|
-
--primary-foreground: 0 0% 100%;
|
|
18
|
-
--ring: 0 0% 9%;
|
|
19
|
-
--sidebar-primary: 0 0% 9%;
|
|
20
|
-
--sidebar-primary-foreground: 0 0% 100%;
|
|
21
|
-
--sidebar-ring: 0 0% 9%;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
.dark[data-mn-product="developers"],
|
|
25
|
-
.dark [data-mn-product="developers"],
|
|
26
|
-
[data-mn-theme="dark"][data-mn-product="developers"],
|
|
27
|
-
[data-mn-theme="dark"] [data-mn-product="developers"] {
|
|
28
|
-
--mn-color-accent-solid: hsl(0 0% 94%);
|
|
29
|
-
--mn-color-accent-solid-hover: hsl(0 0% 99%);
|
|
30
|
-
--mn-color-accent-solid-active: hsl(0 0% 100%);
|
|
31
|
-
--mn-color-accent-on-solid: hsl(224 22% 6.5%);
|
|
32
|
-
--mn-color-accent-subtle: hsl(0 0% 14%);
|
|
33
|
-
--mn-color-accent-subtle-hover: hsl(0 0% 18%);
|
|
34
|
-
--mn-color-accent-strong: hsl(0 0% 80%);
|
|
35
|
-
--mn-color-accent-on-strong: hsl(224 22% 6.5%);
|
|
36
|
-
--mn-color-accent-border: hsl(0 0% 32%);
|
|
37
|
-
--primary: 0 0% 80%;
|
|
38
|
-
--primary-foreground: 224 22% 6.5%;
|
|
39
|
-
--ring: 0 0% 80%;
|
|
40
|
-
--sidebar-primary: 0 0% 80%;
|
|
41
|
-
--sidebar-primary-foreground: 224 22% 6.5%;
|
|
42
|
-
--sidebar-ring: 0 0% 80%;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
[data-mn-contrast="more"][data-mn-product="developers"],
|
|
46
|
-
[data-mn-contrast="more"] [data-mn-product="developers"] {
|
|
47
|
-
--mn-color-accent-solid: hsl(0 0% 9%);
|
|
48
|
-
--mn-color-accent-solid-hover: hsl(0 0% 4%);
|
|
49
|
-
--mn-color-accent-solid-active: hsl(0 0% 0%);
|
|
50
|
-
--mn-color-accent-on-solid: hsl(0 0% 100%);
|
|
51
|
-
--mn-color-accent-subtle: hsl(0 0% 97%);
|
|
52
|
-
--mn-color-accent-subtle-hover: hsl(0 0% 94%);
|
|
53
|
-
--mn-color-accent-strong: hsl(0 0% 9%);
|
|
54
|
-
--mn-color-accent-on-strong: hsl(0 0% 100%);
|
|
55
|
-
--mn-color-accent-border: hsl(0 0% 9%);
|
|
56
|
-
--primary: 0 0% 9%;
|
|
57
|
-
--primary-foreground: 0 0% 100%;
|
|
58
|
-
--ring: 0 0% 9%;
|
|
59
|
-
--sidebar-primary: 0 0% 9%;
|
|
60
|
-
--sidebar-primary-foreground: 0 0% 100%;
|
|
61
|
-
--sidebar-ring: 0 0% 9%;
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
.dark[data-mn-contrast="more"][data-mn-product="developers"],
|
|
65
|
-
.dark[data-mn-contrast="more"] [data-mn-product="developers"],
|
|
66
|
-
[data-mn-theme="dark"][data-mn-contrast="more"][data-mn-product="developers"],
|
|
67
|
-
[data-mn-theme="dark"][data-mn-contrast="more"] [data-mn-product="developers"] {
|
|
68
|
-
--mn-color-accent-solid: hsl(0 0% 94%);
|
|
69
|
-
--mn-color-accent-solid-hover: hsl(0 0% 99%);
|
|
70
|
-
--mn-color-accent-solid-active: hsl(0 0% 100%);
|
|
71
|
-
--mn-color-accent-on-solid: hsl(224 22% 6.5%);
|
|
72
|
-
--mn-color-accent-subtle: hsl(0 0% 10%);
|
|
73
|
-
--mn-color-accent-subtle-hover: hsl(0 0% 14%);
|
|
74
|
-
--mn-color-accent-strong: hsl(0 0% 80%);
|
|
75
|
-
--mn-color-accent-on-strong: hsl(224 22% 6.5%);
|
|
76
|
-
--mn-color-accent-border: hsl(0 0% 80%);
|
|
77
|
-
--primary: 0 0% 80%;
|
|
78
|
-
--primary-foreground: 224 22% 6.5%;
|
|
79
|
-
--ring: 0 0% 80%;
|
|
80
|
-
--sidebar-primary: 0 0% 80%;
|
|
81
|
-
--sidebar-primary-foreground: 224 22% 6.5%;
|
|
82
|
-
--sidebar-ring: 0 0% 80%;
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
}
|