anentrypoint-design 1.0.19 → 1.0.21

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.
@@ -92,6 +92,12 @@
92
92
  thebird warm-paper preset (5.25:1) while staying visually a clear
93
93
  warm red. */
94
94
  --warn: #C41C0C;
95
+ /* Paired foreground for --warn used as a FILL (a danger button background),
96
+ not as text-on-paper (--warn's own tuning above). --paper clears 5.97:1
97
+ on this --warn -- --warn was tuned dark specifically for the text-on-paper
98
+ direction, so re-using it for the opposite direction (paper text on this
99
+ as a fill) needs its own token, not a re-derivation of --warn itself. */
100
+ --warn-fg: var(--paper);
95
101
  /* Syntax-token aliases: light values pass 4.5:1 on paper; the dark blocks
96
102
  restore the bright dark-tuned originals. Components reference ONLY these. */
97
103
  --code-string: var(--green);
@@ -180,6 +186,13 @@
180
186
  --panel-text-3: var(--fg-3);
181
187
  --panel-accent-2: var(--accent-bright, var(--accent));
182
188
  --panel-shadow: 0 1px 0 color-mix(in oklab, var(--fg) 6%, transparent), 0 4px 14px color-mix(in oklab, var(--fg) 8%, transparent);
189
+ /* Single-layer, half-strength companion to --shadow-1, used ONLY by .panel.
190
+ .panel already carries a tonal --panel-1 fill and a --rule border; a
191
+ full --shadow-1 on top made three simultaneous edge/surface signals
192
+ read as boxed/cardy rather than PilotDeck's flat, near-borderless look.
193
+ --shadow-1/2/3 stay untouched — they are the real elevation scale for
194
+ things that must read as floating (dialog/dropdown/tooltip/toast). */
195
+ --panel-shadow-1: 0 1px 2px color-mix(in oklab, var(--fg) 4%, transparent);
183
196
 
184
197
  /* Type — system-font stack, no custom web fonts loaded. */
185
198
  --ff-display: system-ui, sans-serif;
@@ -214,7 +227,7 @@
214
227
  --fs-h4: clamp(24px, 2cqi, 28px);
215
228
  --fs-h3: clamp(26px, 2.6cqi, 34px);
216
229
  --fs-h2: clamp(28px, 3.6cqi, 44px);
217
- --fs-h1: clamp(34px, 5cqi, 64px);
230
+ --fs-h1: clamp(34px, 4.4cqi, 52px);
218
231
  --fs-hero: clamp(42px, 7cqi, 96px);
219
232
  --fs-mega: clamp(56px, 11cqi, 168px);
220
233
  /* Bridges the fixed --fs-* ladder (tops out at --fs-xl, 21px) and the fluid
@@ -234,9 +247,9 @@
234
247
  marketing/hero layouts (h1 up to 64px). Application chrome — page titles,
235
248
  panel headers — needs a compact ceiling so a PageHeader title doesn't
236
249
  dwarf the content. Opt in with `data-typescale="app"` on a container. */
237
- --fs-h1-app: clamp(22px, 2.4cqi, 30px);
238
- --fs-h2-app: clamp(19px, 2cqi, 24px);
239
- --fs-h3-app: clamp(17px, 1.8cqi, 20px);
250
+ --fs-h1-app: clamp(22px, 2cqi, 26px);
251
+ --fs-h2-app: clamp(18px, 1.6cqi, 21px);
252
+ --fs-h3-app: clamp(16px, 1.5cqi, 18px);
240
253
  --fs-h4-app: clamp(15px, 1.6cqi, 17px);
241
254
 
242
255
  --lh-tight: 1.05;
@@ -283,7 +296,14 @@
283
296
  --bw-chunk: 4px;
284
297
  --bw-slab: 8px;
285
298
 
286
- --rule: color-mix(in oklab, currentColor 14%, transparent);
299
+ /* Retuned toward PilotDeck's near-borderless whisper: 14% read as a visibly
300
+ drawn line, not a hairline. 8% keeps the edge perceptible (still enough to
301
+ separate a --panel-1-filled surface from its --bg backdrop) without
302
+ competing with the fill + shadow already doing the container-definition
303
+ work in .panel. --rule-strong is untouched — it is the deliberate
304
+ stronger variant for places that need a visible seam (table rules, active
305
+ tab underline), not the ambient panel/card edge. */
306
+ --rule: color-mix(in oklab, currentColor 8%, transparent);
287
307
  --rule-strong: color-mix(in oklab, currentColor 28%, transparent);
288
308
 
289
309
  /* Micro rungs below --r-1 — chips, badges, scrollbar thumbs, tick marks
@@ -529,6 +549,10 @@ select:focus-visible {
529
549
  /* warn/sky dark-tuned pairs (mirror flame/amber): the :root paper values
530
550
  (#E0241A / #3A6EFF) are too dark on ink; these clear AA 4.5:1 on --ink. */
531
551
  --warn: #FF5A52;
552
+ /* Paired foreground for --warn-as-fill (see :root's --warn-fg comment) --
553
+ dark theme's --warn is the lighter tuned red, so its fill needs the dark
554
+ --ink text, the opposite pairing from :root. */
555
+ --warn-fg: var(--ink);
532
556
  --sky: #6E9BFF;
533
557
  /* Category/heritage dark-tuned pairs (same convention as flame/amber/warn/
534
558
  sky above): the :root values are the PAPER tones and go dark-on-dark here.
@@ -617,6 +641,7 @@ select:focus-visible {
617
641
  --flame: #FF5A1F;
618
642
  --amber: #D9A93A;
619
643
  --warn: #FF5A52;
644
+ --warn-fg: var(--ink);
620
645
  --sky: #6E9BFF;
621
646
  /* Mirrors the [data-theme="ink"] category retune above token-for-token —
622
647
  see that block for the measured before/after ratios. */
@@ -662,6 +687,7 @@ select:focus-visible {
662
687
  --panel-text-3: inherit;
663
688
  --panel-accent-2: inherit;
664
689
  --panel-shadow: inherit;
690
+ --panel-shadow-1: inherit;
665
691
  --on-accent: inherit;
666
692
  --on-color: inherit;
667
693
  --scrim: inherit;
@@ -746,6 +772,7 @@ select:focus-visible {
746
772
  --flame: #ff7b72;
747
773
  --amber: #d29922;
748
774
  --warn: #ff7b72;
775
+ --warn-fg: #0d1117;
749
776
  --sky: #58a6ff;
750
777
  --mascot-deep: #ff7b72;
751
778
  --purple-2: #d2a8ff;
@@ -781,14 +808,14 @@ select:focus-visible {
781
808
  --fs-h4: clamp(22px, 1.9cqi, 24px);
782
809
  --fs-h3: clamp(23px, 2.4cqi, 32px);
783
810
  --fs-h2: clamp(26px, 3.4cqi, 41px);
784
- --fs-h1: clamp(32px, 4.7cqi, 60px);
811
+ --fs-h1: clamp(32px, 4.2cqi, 48px);
785
812
  }
786
813
  [data-typescale="lg"] {
787
814
  --fs-body: 17px; --fs-lg: 20px; --fs-xl: 24px;
788
815
  --fs-h4: clamp(27px, 2.2cqi, 31px);
789
816
  --fs-h3: clamp(28px, 2.9cqi, 38px);
790
817
  --fs-h2: clamp(31px, 4cqi, 49px);
791
- --fs-h1: clamp(38px, 5.6cqi, 71px);
818
+ --fs-h1: clamp(38px, 4.8cqi, 58px);
792
819
  }
793
820
 
794
821
  /* Debug grid overlay — 8px mascot grid. Toggle via class on any container. */