@tangle-network/brand 1.24.0 → 1.24.1
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
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.24.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- ea4b052: Hospitality dark field border #868f87 → #939c94: it measured 2.99:1 on the raised plane (a Select in a card in a card on Connections). Now 4.6:1 on the card and 3.5:1 on raised.
|
|
8
|
+
|
|
3
9
|
## 1.24.0
|
|
4
10
|
|
|
5
11
|
### Minor Changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* GENERATED by scripts/gen-compat.mjs. Do not edit.
|
|
2
2
|
* Source: tokens.css + named-themes.css
|
|
3
|
-
* SHA-256:
|
|
3
|
+
* SHA-256: 6316c513b7feb4a21006744fa33c56971c00ba6b0d971b1e4b95b0343b497fcc
|
|
4
4
|
* Light-default compatibility; all explicit modes remain canonical.
|
|
5
5
|
*/
|
|
6
6
|
:where(:root),
|
|
@@ -1476,8 +1476,8 @@
|
|
|
1476
1476
|
--border-subtle: rgba(227, 233, 229, 0.10);
|
|
1477
1477
|
--border-default: rgba(227, 233, 229, 0.16);
|
|
1478
1478
|
--border-hover: rgba(227, 233, 229, 0.28);
|
|
1479
|
-
--border-strong: #
|
|
1480
|
-
--field-border: #
|
|
1479
|
+
--border-strong: #939c94;
|
|
1480
|
+
--field-border: #939c94;
|
|
1481
1481
|
--border-accent: rgba(118, 183, 145, 0.35);
|
|
1482
1482
|
--border-accent-hover: rgba(118, 183, 145, 0.50);
|
|
1483
1483
|
--shadow-card: 0 1px 2px rgba(0, 0, 0, 0.45), 0 10px 24px -14px rgba(0, 0, 0, 0.6);
|
|
@@ -349,7 +349,7 @@
|
|
|
349
349
|
* well (field fill) on page / in card / in raised / in raised-2:
|
|
350
350
|
* 100 / 94.9 / 100 / 94.9 12.4 / 12.4 / 22.1 / 22.1
|
|
351
351
|
* hairline 85.0 #c9d0c7 42.0 #494f4a
|
|
352
|
-
* field border 60.0 #798479
|
|
352
|
+
* field border 60.0 #798479 68.3 #939c94 (light 3.9:1 on the card; dark 4.6:1 on the card, 3.5:1 on raised)
|
|
353
353
|
* A well is always the opposite step from its parent in light and always
|
|
354
354
|
* deeper in dark; tokens.css carries the `--well` context that picks one.
|
|
355
355
|
*
|
|
@@ -448,8 +448,8 @@
|
|
|
448
448
|
--well-page: #050705; --well-card: #050705; --well-raised: #181c18; --well-raised-2: #181c18;
|
|
449
449
|
--bg-hover: rgba(118, 183, 145, 0.07); --bg-selection: rgba(118, 183, 145, 0.28);
|
|
450
450
|
--border-subtle: rgba(227, 233, 229, 0.10); --border-default: rgba(227, 233, 229, 0.16);
|
|
451
|
-
--border-hover: rgba(227, 233, 229, 0.28); --border-strong: #
|
|
452
|
-
--field-border: #
|
|
451
|
+
--border-hover: rgba(227, 233, 229, 0.28); --border-strong: #939c94;
|
|
452
|
+
--field-border: #939c94;
|
|
453
453
|
--border-accent: rgba(118, 183, 145, 0.35); --border-accent-hover: rgba(118, 183, 145, 0.50);
|
|
454
454
|
--shadow-card: 0 1px 2px rgba(0, 0, 0, 0.45), 0 10px 24px -14px rgba(0, 0, 0, 0.6);
|
|
455
455
|
--shadow-raised: 0 1px 2px rgba(0, 0, 0, 0.35);
|
|
@@ -39,7 +39,7 @@ const ladder: Array<[role: string, token: string, light: number, dark: number]>
|
|
|
39
39
|
["well in raised", "well-raised", 100, 22.1],
|
|
40
40
|
["well in raised-2", "well-raised-2", 94.9, 22.1],
|
|
41
41
|
["hairline", "hsl-border", 85.0, 42.0],
|
|
42
|
-
["field border", "field-border", 60.0,
|
|
42
|
+
["field border", "field-border", 60.0, 68.3],
|
|
43
43
|
];
|
|
44
44
|
|
|
45
45
|
describe("Hospitality surface ladder", () => {
|
|
@@ -88,6 +88,9 @@ describe("Hospitality surface ladder", () => {
|
|
|
88
88
|
const border = rgbOf(css, "field-border");
|
|
89
89
|
expect(contrastRatio(border, rgbOf(css, "hsl-card")), "on the card").toBeGreaterThanOrEqual(3);
|
|
90
90
|
expect(contrastRatio(border, rgbOf(css, "well-card")), "on the well in a card").toBeGreaterThanOrEqual(3);
|
|
91
|
+
// A field in a card in a card sits on the raised plane: production measured
|
|
92
|
+
// the dark Select edge at 2.99:1 there before #939c94.
|
|
93
|
+
expect(contrastRatio(border, rgbOf(css, "hsl-raised")), "on the raised plane").toBeGreaterThanOrEqual(3);
|
|
91
94
|
expect(declIn(css, "border-strong")).toBe(declIn(css, "field-border"));
|
|
92
95
|
});
|
|
93
96
|
|