anentrypoint-design 0.0.390 → 0.0.392
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 +31 -0
- package/dist/247420.css +54 -7
- package/dist/247420.js +24 -24
- package/package.json +1 -1
- package/scripts/lint-css.mjs +2 -0
- package/src/components/content/table.js +18 -1
- package/src/css/app-shell/files.css +6 -1
- package/src/css/app-shell/kits-appended.css +17 -6
package/colors_and_type.css
CHANGED
|
@@ -43,6 +43,12 @@
|
|
|
43
43
|
--mascot-2: #FF3CA7;
|
|
44
44
|
--mascot-tint: #F7CEDD;
|
|
45
45
|
--mascot-deep: #B81F63;
|
|
46
|
+
/* Fixed ink-surface mascot text tone (6.67:1 on --ink). Unlike
|
|
47
|
+
--mascot-deep, this NEVER follows the theme: it is for always-dark
|
|
48
|
+
surfaces like the .cli card, which stay ink under a light theme and so
|
|
49
|
+
need a tone chosen for ink rather than for the active theme. Same role
|
|
50
|
+
--paper-3-dark plays for the tier-3 text ramp. */
|
|
51
|
+
--mascot-on-ink: #FF5C9E;
|
|
46
52
|
|
|
47
53
|
/* Signals */
|
|
48
54
|
--sun: #F5C344;
|
|
@@ -125,6 +131,17 @@
|
|
|
125
131
|
--cat-flame: var(--flame);
|
|
126
132
|
--cat-sky: var(--sky);
|
|
127
133
|
|
|
134
|
+
/* Readable TEXT tones for the category hues — the same FILL/TEXT split the
|
|
135
|
+
lead accent already draws with --accent (fill) vs --accent-ink (text).
|
|
136
|
+
The bare --cat-* values are chroma-matched to sit behind ink on a swatch,
|
|
137
|
+
avatar, or tag; as `color:` on newsprint paper they land at ~3.1:1, under
|
|
138
|
+
the 4.5:1 floor. Any `color:` use of a category hue takes the -ink tone;
|
|
139
|
+
only background/border-color take the bare one. Each -deep source is
|
|
140
|
+
already remapped per-theme below, so these follow the theme too. */
|
|
141
|
+
--cat-green-ink: var(--green-deep);
|
|
142
|
+
--cat-purple-ink: var(--purple-deep);
|
|
143
|
+
--cat-mascot-ink: var(--mascot-deep);
|
|
144
|
+
|
|
128
145
|
--panel-bg: var(--bg);
|
|
129
146
|
--panel-bg-2: var(--bg-2);
|
|
130
147
|
--panel-accent: var(--accent);
|
|
@@ -433,6 +450,14 @@ select:focus-visible {
|
|
|
433
450
|
--mascot-deep: #FF5C9E;
|
|
434
451
|
--purple-2: #C277FF;
|
|
435
452
|
--green: #5CBF52;
|
|
453
|
+
/* --cat-*-ink text tones for dark. The :root sources (--green-deep #133F10,
|
|
454
|
+
--purple-deep #220026) are near-black PAPER tones — on ink they land at
|
|
455
|
+
1.60:1 / 1.01:1, i.e. invisible. Repoint them at the dark-tuned values
|
|
456
|
+
already proven above: #5CBF52 8.28:1 on ink / 7.04:1 on --bg-2, #C277FF
|
|
457
|
+
6.77:1 / 5.75:1. --cat-mascot-ink needs no entry here: it tracks
|
|
458
|
+
--mascot-deep, which this same block already remaps to #FF5C9E. */
|
|
459
|
+
--cat-green-ink: #5CBF52;
|
|
460
|
+
--cat-purple-ink: #C277FF;
|
|
436
461
|
--code-string: var(--green-2);
|
|
437
462
|
--code-keyword: var(--sky);
|
|
438
463
|
--code-fn: var(--flame);
|
|
@@ -486,6 +511,8 @@ select:focus-visible {
|
|
|
486
511
|
--mascot-deep: #FF5C9E;
|
|
487
512
|
--purple-2: #C277FF;
|
|
488
513
|
--green: #5CBF52;
|
|
514
|
+
--cat-green-ink: #5CBF52;
|
|
515
|
+
--cat-purple-ink: #C277FF;
|
|
489
516
|
--code-string: var(--green-2);
|
|
490
517
|
--code-keyword: var(--sky);
|
|
491
518
|
--code-fn: var(--flame);
|
|
@@ -531,6 +558,10 @@ select:focus-visible {
|
|
|
531
558
|
--cat-green: inherit;
|
|
532
559
|
--cat-purple: inherit;
|
|
533
560
|
--cat-mascot: inherit;
|
|
561
|
+
--cat-green-ink: inherit;
|
|
562
|
+
--cat-purple-ink: inherit;
|
|
563
|
+
--cat-mascot-ink: inherit;
|
|
564
|
+
--mascot-on-ink: inherit;
|
|
534
565
|
--cat-sun: inherit;
|
|
535
566
|
--cat-flame: inherit;
|
|
536
567
|
--cat-sky: inherit;
|
package/dist/247420.css
CHANGED
|
@@ -45,6 +45,12 @@
|
|
|
45
45
|
--mascot-2: #FF3CA7;
|
|
46
46
|
--mascot-tint: #F7CEDD;
|
|
47
47
|
--mascot-deep: #B81F63;
|
|
48
|
+
/* Fixed ink-surface mascot text tone (6.67:1 on --ink). Unlike
|
|
49
|
+
--mascot-deep, this NEVER follows the theme: it is for always-dark
|
|
50
|
+
surfaces like the .cli card, which stay ink under a light theme and so
|
|
51
|
+
need a tone chosen for ink rather than for the active theme. Same role
|
|
52
|
+
--paper-3-dark plays for the tier-3 text ramp. */
|
|
53
|
+
--mascot-on-ink: #FF5C9E;
|
|
48
54
|
|
|
49
55
|
/* Signals */
|
|
50
56
|
--sun: #F5C344;
|
|
@@ -127,6 +133,17 @@
|
|
|
127
133
|
--cat-flame: var(--flame);
|
|
128
134
|
--cat-sky: var(--sky);
|
|
129
135
|
|
|
136
|
+
/* Readable TEXT tones for the category hues — the same FILL/TEXT split the
|
|
137
|
+
lead accent already draws with --accent (fill) vs --accent-ink (text).
|
|
138
|
+
The bare --cat-* values are chroma-matched to sit behind ink on a swatch,
|
|
139
|
+
avatar, or tag; as `color:` on newsprint paper they land at ~3.1:1, under
|
|
140
|
+
the 4.5:1 floor. Any `color:` use of a category hue takes the -ink tone;
|
|
141
|
+
only background/border-color take the bare one. Each -deep source is
|
|
142
|
+
already remapped per-theme below, so these follow the theme too. */
|
|
143
|
+
--cat-green-ink: var(--green-deep);
|
|
144
|
+
--cat-purple-ink: var(--purple-deep);
|
|
145
|
+
--cat-mascot-ink: var(--mascot-deep);
|
|
146
|
+
|
|
130
147
|
--panel-bg: var(--bg);
|
|
131
148
|
--panel-bg-2: var(--bg-2);
|
|
132
149
|
--panel-accent: var(--accent);
|
|
@@ -435,6 +452,14 @@
|
|
|
435
452
|
--mascot-deep: #FF5C9E;
|
|
436
453
|
--purple-2: #C277FF;
|
|
437
454
|
--green: #5CBF52;
|
|
455
|
+
/* --cat-*-ink text tones for dark. The :root sources (--green-deep #133F10,
|
|
456
|
+
--purple-deep #220026) are near-black PAPER tones — on ink they land at
|
|
457
|
+
1.60:1 / 1.01:1, i.e. invisible. Repoint them at the dark-tuned values
|
|
458
|
+
already proven above: #5CBF52 8.28:1 on ink / 7.04:1 on --bg-2, #C277FF
|
|
459
|
+
6.77:1 / 5.75:1. --cat-mascot-ink needs no entry here: it tracks
|
|
460
|
+
--mascot-deep, which this same block already remaps to #FF5C9E. */
|
|
461
|
+
--cat-green-ink: #5CBF52;
|
|
462
|
+
--cat-purple-ink: #C277FF;
|
|
438
463
|
--code-string: var(--green-2);
|
|
439
464
|
--code-keyword: var(--sky);
|
|
440
465
|
--code-fn: var(--flame);
|
|
@@ -488,6 +513,8 @@
|
|
|
488
513
|
--mascot-deep: #FF5C9E;
|
|
489
514
|
--purple-2: #C277FF;
|
|
490
515
|
--green: #5CBF52;
|
|
516
|
+
--cat-green-ink: #5CBF52;
|
|
517
|
+
--cat-purple-ink: #C277FF;
|
|
491
518
|
--code-string: var(--green-2);
|
|
492
519
|
--code-keyword: var(--sky);
|
|
493
520
|
--code-fn: var(--flame);
|
|
@@ -533,6 +560,10 @@
|
|
|
533
560
|
--cat-green: inherit;
|
|
534
561
|
--cat-purple: inherit;
|
|
535
562
|
--cat-mascot: inherit;
|
|
563
|
+
--cat-green-ink: inherit;
|
|
564
|
+
--cat-purple-ink: inherit;
|
|
565
|
+
--cat-mascot-ink: inherit;
|
|
566
|
+
--mascot-on-ink: inherit;
|
|
536
567
|
--cat-sun: inherit;
|
|
537
568
|
--cat-flame: inherit;
|
|
538
569
|
--cat-sky: inherit;
|
|
@@ -3015,10 +3046,15 @@
|
|
|
3015
3046
|
background: color-mix(in oklab, var(--flame) 12%, var(--bg));
|
|
3016
3047
|
color: var(--flame); font-size: var(--fs-xs);
|
|
3017
3048
|
}
|
|
3049
|
+
/* --ink, not --on-color: --on-color is a fixed #fff, which reads fine on a dark
|
|
3050
|
+
fill but measures 3.07:1 on --warn (#FF5A52, a light red) -- below the 4.5:1
|
|
3051
|
+
floor. --ink on the same fill measures 6.27:1. Same principle as the
|
|
3052
|
+
--accent/--accent-ink split the token layer documents: a light saturated fill
|
|
3053
|
+
takes the dark text tone. Measured in a live browser. */
|
|
3018
3054
|
.ds-247420 .btn-primary.danger {
|
|
3019
3055
|
background: var(--warn);
|
|
3020
3056
|
border-color: var(--warn);
|
|
3021
|
-
color: var(--
|
|
3057
|
+
color: var(--ink);
|
|
3022
3058
|
}
|
|
3023
3059
|
.ds-247420 .btn-primary.danger:hover { filter: brightness(0.92); border-color: var(--warn); }
|
|
3024
3060
|
|
|
@@ -6006,12 +6042,23 @@
|
|
|
6006
6042
|
/* --- terminal kit ------------------------------------------ */
|
|
6007
6043
|
.ds-247420 .ds-section-pad-sm { padding: var(--space-2); }
|
|
6008
6044
|
.ds-247420 .ds-kit-head-row { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); flex-wrap: wrap; }
|
|
6009
|
-
|
|
6010
|
-
|
|
6011
|
-
|
|
6012
|
-
|
|
6013
|
-
|
|
6014
|
-
|
|
6045
|
+
/* `.cli` (hero-content.css) is an ALWAYS-INK card: it sets a var(--ink)
|
|
6046
|
+
background with var(--paper) text in every theme, by design. So its text
|
|
6047
|
+
tones must be ink-surface tones, NOT the theme-relative fg / accent-ink /
|
|
6048
|
+
mascot-deep ramps. Those resolve to the PAPER tier under a light theme and
|
|
6049
|
+
paint dark text on this permanently dark card: --fg-3 lands at 2.48:1,
|
|
6050
|
+
--fg-2 at 1.18:1, --mascot-deep at 3.13:1 — all failing AA, and all
|
|
6051
|
+
invisible on a machine whose browser defaults to a dark color-scheme.
|
|
6052
|
+
The tones below are theme-independent and measured on --ink:
|
|
6053
|
+
--paper-3-dark 9.35:1, --paper-2 13.26:1, --acid 15.88:1, and the dark
|
|
6054
|
+
mascot tone 6.67:1. Same FILL-vs-TEXT discipline --accent/--accent-ink
|
|
6055
|
+
draws, applied to a surface that never follows the theme. */
|
|
6056
|
+
.ds-247420 .ds-cli-cmt .cmd { color: var(--paper-3-dark); }
|
|
6057
|
+
.ds-247420 .ds-cli-out .cmd { color: var(--paper-2); }
|
|
6058
|
+
.ds-247420 .ds-cli-ok .prompt, .ds-247420 .ds-cli-ok .cmd { color: var(--acid); }
|
|
6059
|
+
.ds-247420 .ds-cli-warn .prompt, .ds-247420 .ds-cli-warn .cmd { color: var(--mascot-on-ink); }
|
|
6060
|
+
.ds-247420 .ds-cli-log .prompt { color: var(--paper-3-dark); }
|
|
6061
|
+
.ds-247420 .ds-cli-log .cmd { color: var(--paper-2); font-family: var(--ff-mono); }
|
|
6015
6062
|
.ds-247420 .ds-term-body { padding: var(--space-2-75) var(--space-3-5); display: flex; flex-direction: column; gap: var(--space-1); background: var(--bg-2); border-radius: var(--r-1); }
|
|
6016
6063
|
.ds-247420 .ds-term-body--tall { min-height: 280px; }
|
|
6017
6064
|
.ds-247420 .ds-term-input-row { margin-top: var(--space-1-75); }
|