anentrypoint-design 1.0.20 → 1.0.22
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/colors_and_type.css +23 -4
- package/dist/247420.css +33 -11
- package/dist/247420.js +27 -27
- package/package.json +1 -1
- package/src/css/app-shell/files.css +2 -2
- package/src/css/app-shell/primitives.css +8 -5
package/colors_and_type.css
CHANGED
|
@@ -24,10 +24,17 @@
|
|
|
24
24
|
color-mix()/oklch() derivation in this file keeps its formula and only
|
|
25
25
|
the ROOT input changes -- see restyle-tokens-webjsx-toolkit-look and
|
|
26
26
|
restyle-contrast-reverification-all-tokens for the swap rationale and
|
|
27
|
-
the re-verification this requires.
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
27
|
+
the re-verification this requires.
|
|
28
|
+
Subtle warm off-white retune (2026-08): pure #FFFFFF read as stark/cold
|
|
29
|
+
against reference material using a warm off-white. Shift is deliberately
|
|
30
|
+
tiny -- a few points toward warm gray, not a cream -- to stay a safe,
|
|
31
|
+
low-risk change on a token used everywhere. Contrast re-verified against
|
|
32
|
+
every paired text tone: --ink 16.84:1, --ink-2 12.16:1, --ink-3 7.56:1 on
|
|
33
|
+
--paper (all far clear of AA 4.5:1); --ink-3 on --paper-2/--paper-3 also
|
|
34
|
+
re-measured at 6.87:1 / 6.04:1, both still clear. */
|
|
35
|
+
--paper: #FDFBF7;
|
|
36
|
+
--paper-2: #F2F0EC;
|
|
37
|
+
--paper-3: #E5E2DC;
|
|
31
38
|
--ink: #1A1A1A;
|
|
32
39
|
--ink-2: #333338;
|
|
33
40
|
--ink-3: #525252; /* WCAG-verified 2026 restyle: npm run a11y caught 4.10:1 at #58585F against --paper-3 (#c6c5c5-equivalent surfaces); #525252 clears 4.54:1 there and 7.81:1 against pure paper */
|
|
@@ -92,6 +99,12 @@
|
|
|
92
99
|
thebird warm-paper preset (5.25:1) while staying visually a clear
|
|
93
100
|
warm red. */
|
|
94
101
|
--warn: #C41C0C;
|
|
102
|
+
/* Paired foreground for --warn used as a FILL (a danger button background),
|
|
103
|
+
not as text-on-paper (--warn's own tuning above). --paper clears 5.97:1
|
|
104
|
+
on this --warn -- --warn was tuned dark specifically for the text-on-paper
|
|
105
|
+
direction, so re-using it for the opposite direction (paper text on this
|
|
106
|
+
as a fill) needs its own token, not a re-derivation of --warn itself. */
|
|
107
|
+
--warn-fg: var(--paper);
|
|
95
108
|
/* Syntax-token aliases: light values pass 4.5:1 on paper; the dark blocks
|
|
96
109
|
restore the bright dark-tuned originals. Components reference ONLY these. */
|
|
97
110
|
--code-string: var(--green);
|
|
@@ -543,6 +556,10 @@ select:focus-visible {
|
|
|
543
556
|
/* warn/sky dark-tuned pairs (mirror flame/amber): the :root paper values
|
|
544
557
|
(#E0241A / #3A6EFF) are too dark on ink; these clear AA 4.5:1 on --ink. */
|
|
545
558
|
--warn: #FF5A52;
|
|
559
|
+
/* Paired foreground for --warn-as-fill (see :root's --warn-fg comment) --
|
|
560
|
+
dark theme's --warn is the lighter tuned red, so its fill needs the dark
|
|
561
|
+
--ink text, the opposite pairing from :root. */
|
|
562
|
+
--warn-fg: var(--ink);
|
|
546
563
|
--sky: #6E9BFF;
|
|
547
564
|
/* Category/heritage dark-tuned pairs (same convention as flame/amber/warn/
|
|
548
565
|
sky above): the :root values are the PAPER tones and go dark-on-dark here.
|
|
@@ -631,6 +648,7 @@ select:focus-visible {
|
|
|
631
648
|
--flame: #FF5A1F;
|
|
632
649
|
--amber: #D9A93A;
|
|
633
650
|
--warn: #FF5A52;
|
|
651
|
+
--warn-fg: var(--ink);
|
|
634
652
|
--sky: #6E9BFF;
|
|
635
653
|
/* Mirrors the [data-theme="ink"] category retune above token-for-token —
|
|
636
654
|
see that block for the measured before/after ratios. */
|
|
@@ -761,6 +779,7 @@ select:focus-visible {
|
|
|
761
779
|
--flame: #ff7b72;
|
|
762
780
|
--amber: #d29922;
|
|
763
781
|
--warn: #ff7b72;
|
|
782
|
+
--warn-fg: #0d1117;
|
|
764
783
|
--sky: #58a6ff;
|
|
765
784
|
--mascot-deep: #ff7b72;
|
|
766
785
|
--purple-2: #d2a8ff;
|
package/dist/247420.css
CHANGED
|
@@ -26,10 +26,17 @@
|
|
|
26
26
|
color-mix()/oklch() derivation in this file keeps its formula and only
|
|
27
27
|
the ROOT input changes -- see restyle-tokens-webjsx-toolkit-look and
|
|
28
28
|
restyle-contrast-reverification-all-tokens for the swap rationale and
|
|
29
|
-
the re-verification this requires.
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
29
|
+
the re-verification this requires.
|
|
30
|
+
Subtle warm off-white retune (2026-08): pure #FFFFFF read as stark/cold
|
|
31
|
+
against reference material using a warm off-white. Shift is deliberately
|
|
32
|
+
tiny -- a few points toward warm gray, not a cream -- to stay a safe,
|
|
33
|
+
low-risk change on a token used everywhere. Contrast re-verified against
|
|
34
|
+
every paired text tone: --ink 16.84:1, --ink-2 12.16:1, --ink-3 7.56:1 on
|
|
35
|
+
--paper (all far clear of AA 4.5:1); --ink-3 on --paper-2/--paper-3 also
|
|
36
|
+
re-measured at 6.87:1 / 6.04:1, both still clear. */
|
|
37
|
+
--paper: #FDFBF7;
|
|
38
|
+
--paper-2: #F2F0EC;
|
|
39
|
+
--paper-3: #E5E2DC;
|
|
33
40
|
--ink: #1A1A1A;
|
|
34
41
|
--ink-2: #333338;
|
|
35
42
|
--ink-3: #525252; /* WCAG-verified 2026 restyle: npm run a11y caught 4.10:1 at #58585F against --paper-3 (#c6c5c5-equivalent surfaces); #525252 clears 4.54:1 there and 7.81:1 against pure paper */
|
|
@@ -94,6 +101,12 @@
|
|
|
94
101
|
thebird warm-paper preset (5.25:1) while staying visually a clear
|
|
95
102
|
warm red. */
|
|
96
103
|
--warn: #C41C0C;
|
|
104
|
+
/* Paired foreground for --warn used as a FILL (a danger button background),
|
|
105
|
+
not as text-on-paper (--warn's own tuning above). --paper clears 5.97:1
|
|
106
|
+
on this --warn -- --warn was tuned dark specifically for the text-on-paper
|
|
107
|
+
direction, so re-using it for the opposite direction (paper text on this
|
|
108
|
+
as a fill) needs its own token, not a re-derivation of --warn itself. */
|
|
109
|
+
--warn-fg: var(--paper);
|
|
97
110
|
/* Syntax-token aliases: light values pass 4.5:1 on paper; the dark blocks
|
|
98
111
|
restore the bright dark-tuned originals. Components reference ONLY these. */
|
|
99
112
|
--code-string: var(--green);
|
|
@@ -545,6 +558,10 @@
|
|
|
545
558
|
/* warn/sky dark-tuned pairs (mirror flame/amber): the :root paper values
|
|
546
559
|
(#E0241A / #3A6EFF) are too dark on ink; these clear AA 4.5:1 on --ink. */
|
|
547
560
|
--warn: #FF5A52;
|
|
561
|
+
/* Paired foreground for --warn-as-fill (see :root's --warn-fg comment) --
|
|
562
|
+
dark theme's --warn is the lighter tuned red, so its fill needs the dark
|
|
563
|
+
--ink text, the opposite pairing from :root. */
|
|
564
|
+
--warn-fg: var(--ink);
|
|
548
565
|
--sky: #6E9BFF;
|
|
549
566
|
/* Category/heritage dark-tuned pairs (same convention as flame/amber/warn/
|
|
550
567
|
sky above): the :root values are the PAPER tones and go dark-on-dark here.
|
|
@@ -633,6 +650,7 @@
|
|
|
633
650
|
--flame: #FF5A1F;
|
|
634
651
|
--amber: #D9A93A;
|
|
635
652
|
--warn: #FF5A52;
|
|
653
|
+
--warn-fg: var(--ink);
|
|
636
654
|
--sky: #6E9BFF;
|
|
637
655
|
/* Mirrors the [data-theme="ink"] category retune above token-for-token —
|
|
638
656
|
see that block for the measured before/after ratios. */
|
|
@@ -763,6 +781,7 @@
|
|
|
763
781
|
--flame: #ff7b72;
|
|
764
782
|
--amber: #d29922;
|
|
765
783
|
--warn: #ff7b72;
|
|
784
|
+
--warn-fg: #0d1117;
|
|
766
785
|
--sky: #58a6ff;
|
|
767
786
|
--mascot-deep: #ff7b72;
|
|
768
787
|
--purple-2: #d2a8ff;
|
|
@@ -1757,10 +1776,13 @@
|
|
|
1757
1776
|
.ds-247420 .ds-icon-btn-ghost:hover { background: var(--fg); color: var(--bg); }
|
|
1758
1777
|
.ds-247420 .ds-icon-btn-primary { background: var(--accent); color: var(--accent-fg); }
|
|
1759
1778
|
.ds-247420 .ds-icon-btn-primary:hover { background: var(--fg); color: var(--accent-ink); }
|
|
1760
|
-
/* --
|
|
1761
|
-
--warn (#FF5A52
|
|
1762
|
-
|
|
1763
|
-
.
|
|
1779
|
+
/* --warn-fg (not a bare --ink/--on-color literal): --ink only clears AA
|
|
1780
|
+
against dark theme's lighter --warn (#FF5A52, 6.27:1); light theme's
|
|
1781
|
+
--warn is a darker red (#C41C0C) where --ink measures just 2.92:1, well
|
|
1782
|
+
under the 4.5:1 floor. --warn-fg is the theme-paired token (light: paper
|
|
1783
|
+
text 5.97:1, dark: ink text 6.27:1) -- same fix as .btn-primary.danger in
|
|
1784
|
+
app-shell/files.css, which had this exact light-theme regression live. */
|
|
1785
|
+
.ds-247420 .ds-icon-btn-danger { background: var(--warn); color: var(--warn-fg); }
|
|
1764
1786
|
.ds-247420 .ds-icon-btn-danger:hover { filter: brightness(0.92); }
|
|
1765
1787
|
.ds-247420 .ds-icon-btn:active { transform: translateY(1px); }
|
|
1766
1788
|
.ds-247420 .ds-icon-btn:disabled, .ds-247420 .ds-icon-btn.is-disabled {
|
|
@@ -1966,7 +1988,7 @@
|
|
|
1966
1988
|
.ds-247420 .ds-tooltip[data-placement^="bottom"]::after { top: -3px; left: 50%; margin-left: -3px; }
|
|
1967
1989
|
.ds-247420 .ds-tooltip[data-placement^="left"]::after { right: -3px; top: 50%; margin-top: -3px; }
|
|
1968
1990
|
.ds-247420 .ds-tooltip[data-placement^="right"]::after { left: -3px; top: 50%; margin-top: -3px; }
|
|
1969
|
-
.ds-247420 .ds-tooltip.kind-danger { background: var(--warn); color: var(--
|
|
1991
|
+
.ds-247420 .ds-tooltip.kind-danger { background: var(--warn); color: var(--warn-fg); }
|
|
1970
1992
|
.ds-247420 .ds-tooltip.kind-danger::after { background: var(--warn); }
|
|
1971
1993
|
@media (prefers-reduced-motion: reduce) {
|
|
1972
1994
|
.ds-247420 .ds-tooltip { transition: none; }
|
|
@@ -3943,8 +3965,8 @@
|
|
|
3943
3965
|
.ds-247420 .btn-primary.danger {
|
|
3944
3966
|
background: var(--warn);
|
|
3945
3967
|
border-color: var(--warn);
|
|
3946
|
-
color: var(--
|
|
3947
|
-
box-shadow: inset 0 0 0 var(--bw-hair, 1px) color-mix(in oklab, var(--
|
|
3968
|
+
color: var(--warn-fg);
|
|
3969
|
+
box-shadow: inset 0 0 0 var(--bw-hair, 1px) color-mix(in oklab, var(--warn-fg) 25%, transparent);
|
|
3948
3970
|
font-weight: 700;
|
|
3949
3971
|
letter-spacing: 0.01em;
|
|
3950
3972
|
}
|