anentrypoint-design 0.0.391 → 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.
@@ -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;
@@ -555,6 +561,7 @@ select:focus-visible {
555
561
  --cat-green-ink: inherit;
556
562
  --cat-purple-ink: inherit;
557
563
  --cat-mascot-ink: inherit;
564
+ --mascot-on-ink: inherit;
558
565
  --cat-sun: inherit;
559
566
  --cat-flame: inherit;
560
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;
@@ -557,6 +563,7 @@
557
563
  --cat-green-ink: inherit;
558
564
  --cat-purple-ink: inherit;
559
565
  --cat-mascot-ink: inherit;
566
+ --mascot-on-ink: inherit;
560
567
  --cat-sun: inherit;
561
568
  --cat-flame: inherit;
562
569
  --cat-sky: inherit;
@@ -3039,10 +3046,15 @@
3039
3046
  background: color-mix(in oklab, var(--flame) 12%, var(--bg));
3040
3047
  color: var(--flame); font-size: var(--fs-xs);
3041
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. */
3042
3054
  .ds-247420 .btn-primary.danger {
3043
3055
  background: var(--warn);
3044
3056
  border-color: var(--warn);
3045
- color: var(--on-color);
3057
+ color: var(--ink);
3046
3058
  }
3047
3059
  .ds-247420 .btn-primary.danger:hover { filter: brightness(0.92); border-color: var(--warn); }
3048
3060
 
@@ -6030,12 +6042,23 @@
6030
6042
  /* --- terminal kit ------------------------------------------ */
6031
6043
  .ds-247420 .ds-section-pad-sm { padding: var(--space-2); }
6032
6044
  .ds-247420 .ds-kit-head-row { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); flex-wrap: wrap; }
6033
- .ds-247420 .ds-cli-cmt .cmd { color: var(--fg-3); }
6034
- .ds-247420 .ds-cli-out .cmd { color: var(--fg-2); }
6035
- .ds-247420 .ds-cli-ok .prompt, .ds-247420 .ds-cli-ok .cmd { color: var(--accent-ink); }
6036
- .ds-247420 .ds-cli-warn .prompt, .ds-247420 .ds-cli-warn .cmd { color: var(--mascot-deep); }
6037
- .ds-247420 .ds-cli-log .prompt { color: var(--fg-3); }
6038
- .ds-247420 .ds-cli-log .cmd { color: var(--fg-2); font-family: var(--ff-mono); }
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); }
6039
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); }
6040
6063
  .ds-247420 .ds-term-body--tall { min-height: 280px; }
6041
6064
  .ds-247420 .ds-term-input-row { margin-top: var(--space-1-75); }