@hirobius/design-system 0.23.2 → 0.24.0
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 +39 -0
- package/DESIGN.md +8 -9
- package/README.md +24 -14
- package/UPGRADING.md +46 -1
- package/dist/css-contract.json +1 -1
- package/dist/hirobius-ui.js +253 -252
- package/dist/manifest.js +1 -1
- package/dist/styles.css +1 -1
- package/dist/tokens.css +1 -1
- package/dist/tokens.js +25 -12
- package/dist/types/src/app/design-system/generated-token-refs.d.ts +25 -12
- package/dist/types/src/app/design-system/generated-token-values.d.ts +25 -12
- package/dist/types/src/index.d.ts +48 -1
- package/dist/variables.css +44 -33
- package/docs/CONSUMING.md +7 -7
- package/hirobius.tokens.json +111 -64
- package/llms.txt +4 -13
- package/package.json +3 -2
- package/public/hds-manifest.json +189 -112
- package/public/llms/scroll.txt +2 -2
- package/public/llms-full.txt +12 -22
- package/public/llms.txt +4 -13
- package/src/app/data/component-api.json +1 -1
- package/upgrade/index.json +8 -1
- package/upgrade/releases/0.24.0.json +661 -0
package/public/hds-manifest.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "Hirobius Design System",
|
|
3
3
|
"description": "Three-tier design token system for Adrian Milsap's portfolio site. Tokens flow primitive → semantic → component. All visual decisions trace back to hirobius.tokens.json.",
|
|
4
4
|
"version": "1",
|
|
5
|
-
"generated": "2026-10-
|
|
5
|
+
"generated": "2026-10-11T21:00:30.237Z",
|
|
6
6
|
"source": "hirobius.tokens.json",
|
|
7
7
|
"format": "W3C DTCG 2025.10",
|
|
8
8
|
"docs": "https://hirobius-hds-components.vercel.app/",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"consumeTypography": "hds.typeStyles.h1 (inline style object) — never Tailwind font classes"
|
|
29
29
|
},
|
|
30
30
|
"brand": {
|
|
31
|
-
"primaryColor": "#
|
|
31
|
+
"primaryColor": "#433a3f",
|
|
32
32
|
"primaryColorToken": "semantic.accent.rest",
|
|
33
33
|
"font": "Plus Jakarta Sans variable 100–900, self-hosted",
|
|
34
34
|
"spacingBase": "4px",
|
|
@@ -8327,81 +8327,158 @@
|
|
|
8327
8327
|
"value": "#022c22"
|
|
8328
8328
|
},
|
|
8329
8329
|
{
|
|
8330
|
-
"path": "primitive.color.
|
|
8331
|
-
"cssVar": "--primitive-color-
|
|
8330
|
+
"path": "primitive.color.graphite.50",
|
|
8331
|
+
"cssVar": "--primitive-color-graphite-50",
|
|
8332
8332
|
"type": "color",
|
|
8333
|
-
"description": "
|
|
8334
|
-
"value": "#
|
|
8333
|
+
"description": "Graphite accent tint — faintest step.",
|
|
8334
|
+
"value": "#f5f4f4"
|
|
8335
8335
|
},
|
|
8336
8336
|
{
|
|
8337
|
-
"path": "primitive.color.
|
|
8338
|
-
"cssVar": "--primitive-color-
|
|
8337
|
+
"path": "primitive.color.graphite.100",
|
|
8338
|
+
"cssVar": "--primitive-color-graphite-100",
|
|
8339
8339
|
"type": "color",
|
|
8340
|
-
"description": "
|
|
8341
|
-
"value": "#
|
|
8340
|
+
"description": "Graphite accent — very light warm tint.",
|
|
8341
|
+
"value": "#e9e7e8"
|
|
8342
8342
|
},
|
|
8343
8343
|
{
|
|
8344
|
-
"path": "primitive.color.
|
|
8345
|
-
"cssVar": "--primitive-color-
|
|
8344
|
+
"path": "primitive.color.graphite.200",
|
|
8345
|
+
"cssVar": "--primitive-color-graphite-200",
|
|
8346
8346
|
"type": "color",
|
|
8347
|
-
"description": "
|
|
8348
|
-
"value": "#
|
|
8347
|
+
"description": "Graphite accent — light warm-grey; dark-mode rest accent fill.",
|
|
8348
|
+
"value": "#d4d0d2"
|
|
8349
8349
|
},
|
|
8350
8350
|
{
|
|
8351
|
-
"path": "primitive.color.
|
|
8352
|
-
"cssVar": "--primitive-color-
|
|
8351
|
+
"path": "primitive.color.graphite.300",
|
|
8352
|
+
"cssVar": "--primitive-color-graphite-300",
|
|
8353
8353
|
"type": "color",
|
|
8354
|
-
"description": "
|
|
8355
|
-
"value": "#
|
|
8354
|
+
"description": "Graphite accent — soft mid-light step; dark-mode hover/link.",
|
|
8355
|
+
"value": "#b2abae"
|
|
8356
8356
|
},
|
|
8357
8357
|
{
|
|
8358
|
-
"path": "primitive.color.
|
|
8359
|
-
"cssVar": "--primitive-color-
|
|
8358
|
+
"path": "primitive.color.graphite.400",
|
|
8359
|
+
"cssVar": "--primitive-color-graphite-400",
|
|
8360
8360
|
"type": "color",
|
|
8361
|
-
"description": "
|
|
8362
|
-
"value": "#
|
|
8361
|
+
"description": "Graphite accent — mid warm-grey step.",
|
|
8362
|
+
"value": "#8b8488"
|
|
8363
8363
|
},
|
|
8364
8364
|
{
|
|
8365
|
-
"path": "primitive.color.
|
|
8366
|
-
"cssVar": "--primitive-color-
|
|
8365
|
+
"path": "primitive.color.graphite.500",
|
|
8366
|
+
"cssVar": "--primitive-color-graphite-500",
|
|
8367
8367
|
"type": "color",
|
|
8368
|
-
"description": "
|
|
8369
|
-
"value": "#
|
|
8368
|
+
"description": "Graphite accent — mid step.",
|
|
8369
|
+
"value": "#655e62"
|
|
8370
8370
|
},
|
|
8371
8371
|
{
|
|
8372
|
-
"path": "primitive.color.
|
|
8373
|
-
"cssVar": "--primitive-color-
|
|
8372
|
+
"path": "primitive.color.graphite.600",
|
|
8373
|
+
"cssVar": "--primitive-color-graphite-600",
|
|
8374
8374
|
"type": "color",
|
|
8375
|
-
"description": "
|
|
8376
|
-
"value": "#
|
|
8375
|
+
"description": "Graphite accent — mid-dark step.",
|
|
8376
|
+
"value": "#544d51"
|
|
8377
8377
|
},
|
|
8378
8378
|
{
|
|
8379
|
-
"path": "primitive.color.
|
|
8380
|
-
"cssVar": "--primitive-color-
|
|
8379
|
+
"path": "primitive.color.graphite.700",
|
|
8380
|
+
"cssVar": "--primitive-color-graphite-700",
|
|
8381
8381
|
"type": "color",
|
|
8382
|
-
"description": "
|
|
8383
|
-
"value": "#
|
|
8382
|
+
"description": "Graphite accent rest — the warm charcoal brand accent; white text as a fill (AA).",
|
|
8383
|
+
"value": "#433a3f"
|
|
8384
8384
|
},
|
|
8385
8385
|
{
|
|
8386
|
-
"path": "primitive.color.
|
|
8387
|
-
"cssVar": "--primitive-color-
|
|
8386
|
+
"path": "primitive.color.graphite.800",
|
|
8387
|
+
"cssVar": "--primitive-color-graphite-800",
|
|
8388
8388
|
"type": "color",
|
|
8389
|
-
"description": "
|
|
8390
|
-
"value": "#
|
|
8389
|
+
"description": "Graphite accent — deep step; light-mode hover.",
|
|
8390
|
+
"value": "#352e32"
|
|
8391
8391
|
},
|
|
8392
8392
|
{
|
|
8393
|
-
"path": "primitive.color.
|
|
8394
|
-
"cssVar": "--primitive-color-
|
|
8393
|
+
"path": "primitive.color.graphite.900",
|
|
8394
|
+
"cssVar": "--primitive-color-graphite-900",
|
|
8395
8395
|
"type": "color",
|
|
8396
|
-
"description": "
|
|
8397
|
-
"value": "#
|
|
8396
|
+
"description": "Graphite accent — darkest usable step; light-mode pressed, dark-mode on-accent text.",
|
|
8397
|
+
"value": "#2a2428"
|
|
8398
8398
|
},
|
|
8399
8399
|
{
|
|
8400
|
-
"path": "primitive.color.
|
|
8401
|
-
"cssVar": "--primitive-color-
|
|
8400
|
+
"path": "primitive.color.graphite.950",
|
|
8401
|
+
"cssVar": "--primitive-color-graphite-950",
|
|
8402
8402
|
"type": "color",
|
|
8403
|
-
"description": "
|
|
8404
|
-
"value": "#
|
|
8403
|
+
"description": "Graphite accent — near-black warm substrate.",
|
|
8404
|
+
"value": "#19161a"
|
|
8405
|
+
},
|
|
8406
|
+
{
|
|
8407
|
+
"path": "primitive.color.mauve.50",
|
|
8408
|
+
"cssVar": "--primitive-color-mauve-50",
|
|
8409
|
+
"type": "color",
|
|
8410
|
+
"description": "Mauve tint, faintest step.",
|
|
8411
|
+
"value": "#fff0f6"
|
|
8412
|
+
},
|
|
8413
|
+
{
|
|
8414
|
+
"path": "primitive.color.mauve.100",
|
|
8415
|
+
"cssVar": "--primitive-color-mauve-100",
|
|
8416
|
+
"type": "color",
|
|
8417
|
+
"description": "Mauve step 100, lightness-matched to graphite 100.",
|
|
8418
|
+
"value": "#f4e2ea"
|
|
8419
|
+
},
|
|
8420
|
+
{
|
|
8421
|
+
"path": "primitive.color.mauve.200",
|
|
8422
|
+
"cssVar": "--primitive-color-mauve-200",
|
|
8423
|
+
"type": "color",
|
|
8424
|
+
"description": "Mauve step 200, lightness-matched to graphite 200.",
|
|
8425
|
+
"value": "#e1cad4"
|
|
8426
|
+
},
|
|
8427
|
+
{
|
|
8428
|
+
"path": "primitive.color.mauve.300",
|
|
8429
|
+
"cssVar": "--primitive-color-mauve-300",
|
|
8430
|
+
"type": "color",
|
|
8431
|
+
"description": "Mauve step 300, lightness-matched to graphite 300.",
|
|
8432
|
+
"value": "#c0a4b1"
|
|
8433
|
+
},
|
|
8434
|
+
{
|
|
8435
|
+
"path": "primitive.color.mauve.400",
|
|
8436
|
+
"cssVar": "--primitive-color-mauve-400",
|
|
8437
|
+
"type": "color",
|
|
8438
|
+
"description": "Mauve step 400, lightness-matched to graphite 400.",
|
|
8439
|
+
"value": "#9d7b8a"
|
|
8440
|
+
},
|
|
8441
|
+
{
|
|
8442
|
+
"path": "primitive.color.mauve.500",
|
|
8443
|
+
"cssVar": "--primitive-color-mauve-500",
|
|
8444
|
+
"type": "color",
|
|
8445
|
+
"description": "Mauve anchor (#734B5E). Reserved; not mapped to any semantic token yet.",
|
|
8446
|
+
"value": "#734b5e"
|
|
8447
|
+
},
|
|
8448
|
+
{
|
|
8449
|
+
"path": "primitive.color.mauve.600",
|
|
8450
|
+
"cssVar": "--primitive-color-mauve-600",
|
|
8451
|
+
"type": "color",
|
|
8452
|
+
"description": "Mauve step 600, lightness-matched to graphite 600.",
|
|
8453
|
+
"value": "#674254"
|
|
8454
|
+
},
|
|
8455
|
+
{
|
|
8456
|
+
"path": "primitive.color.mauve.700",
|
|
8457
|
+
"cssVar": "--primitive-color-mauve-700",
|
|
8458
|
+
"type": "color",
|
|
8459
|
+
"description": "Mauve step 700, lightness-matched to graphite 700.",
|
|
8460
|
+
"value": "#523141"
|
|
8461
|
+
},
|
|
8462
|
+
{
|
|
8463
|
+
"path": "primitive.color.mauve.800",
|
|
8464
|
+
"cssVar": "--primitive-color-mauve-800",
|
|
8465
|
+
"type": "color",
|
|
8466
|
+
"description": "Mauve step 800, lightness-matched to graphite 800.",
|
|
8467
|
+
"value": "#432634"
|
|
8468
|
+
},
|
|
8469
|
+
{
|
|
8470
|
+
"path": "primitive.color.mauve.900",
|
|
8471
|
+
"cssVar": "--primitive-color-mauve-900",
|
|
8472
|
+
"type": "color",
|
|
8473
|
+
"description": "Mauve step 900, lightness-matched to graphite 900.",
|
|
8474
|
+
"value": "#361d29"
|
|
8475
|
+
},
|
|
8476
|
+
{
|
|
8477
|
+
"path": "primitive.color.mauve.950",
|
|
8478
|
+
"cssVar": "--primitive-color-mauve-950",
|
|
8479
|
+
"type": "color",
|
|
8480
|
+
"description": "Mauve, near-black substrate.",
|
|
8481
|
+
"value": "#240f1a"
|
|
8405
8482
|
},
|
|
8406
8483
|
{
|
|
8407
8484
|
"path": "primitive.color.violet.50",
|
|
@@ -9372,24 +9449,24 @@
|
|
|
9372
9449
|
"path": "semantic.color.surface.accent",
|
|
9373
9450
|
"cssVar": "--semantic-color-surface-accent",
|
|
9374
9451
|
"type": "color",
|
|
9375
|
-
"description": "Accent
|
|
9376
|
-
"alias": "{primitive.color.
|
|
9377
|
-
"resolvedValue": "#
|
|
9452
|
+
"description": "Accent fill, warm graphite. Dark in light mode, light warm-grey in dark mode; pair with content.onAccent.",
|
|
9453
|
+
"alias": "{primitive.color.graphite.700}",
|
|
9454
|
+
"resolvedValue": "#433a3f",
|
|
9378
9455
|
"dark": {
|
|
9379
|
-
"alias": "{primitive.color.
|
|
9380
|
-
"resolvedValue": "#
|
|
9456
|
+
"alias": "{primitive.color.graphite.200}",
|
|
9457
|
+
"resolvedValue": "#d4d0d2"
|
|
9381
9458
|
}
|
|
9382
9459
|
},
|
|
9383
9460
|
{
|
|
9384
9461
|
"path": "semantic.color.surface.accentSubtle",
|
|
9385
9462
|
"cssVar": "--semantic-color-surface-accentSubtle",
|
|
9386
9463
|
"type": "color",
|
|
9387
|
-
"description": "Faint accent tint for hover states or highlights",
|
|
9388
|
-
"alias": "{primitive.color.
|
|
9389
|
-
"resolvedValue": "#
|
|
9464
|
+
"description": "Faint accent tint for hover states or highlights.",
|
|
9465
|
+
"alias": "{primitive.color.graphite.50}",
|
|
9466
|
+
"resolvedValue": "#f5f4f4",
|
|
9390
9467
|
"dark": {
|
|
9391
|
-
"alias": "{primitive.color.
|
|
9392
|
-
"resolvedValue": "#
|
|
9468
|
+
"alias": "{primitive.color.graphite.800}",
|
|
9469
|
+
"resolvedValue": "#352e32"
|
|
9393
9470
|
}
|
|
9394
9471
|
},
|
|
9395
9472
|
{
|
|
@@ -9500,24 +9577,24 @@
|
|
|
9500
9577
|
"path": "semantic.color.content.accent",
|
|
9501
9578
|
"cssVar": "--semantic-color-content-accent",
|
|
9502
9579
|
"type": "color",
|
|
9503
|
-
"description": "Accent-intent text/icon color —
|
|
9504
|
-
"alias": "{primitive.color.
|
|
9505
|
-
"resolvedValue": "#
|
|
9580
|
+
"description": "Accent-intent text/icon color — graphite, legible on page and card surfaces. Pair with underline/weight for link affordance.",
|
|
9581
|
+
"alias": "{primitive.color.graphite.700}",
|
|
9582
|
+
"resolvedValue": "#433a3f",
|
|
9506
9583
|
"dark": {
|
|
9507
|
-
"alias": "{primitive.color.
|
|
9508
|
-
"resolvedValue": "#
|
|
9584
|
+
"alias": "{primitive.color.graphite.300}",
|
|
9585
|
+
"resolvedValue": "#b2abae"
|
|
9509
9586
|
}
|
|
9510
9587
|
},
|
|
9511
9588
|
{
|
|
9512
9589
|
"path": "semantic.color.content.onAccent",
|
|
9513
9590
|
"cssVar": "--semantic-color-content-onAccent",
|
|
9514
9591
|
"type": "color",
|
|
9515
|
-
"description": "Text
|
|
9516
|
-
"alias": "{primitive.color.neutral.
|
|
9517
|
-
"resolvedValue": "#
|
|
9592
|
+
"description": "Text and icons on accent fills: near-white in light mode, dark graphite in dark mode.",
|
|
9593
|
+
"alias": "{primitive.color.neutral.50}",
|
|
9594
|
+
"resolvedValue": "#fafafa",
|
|
9518
9595
|
"dark": {
|
|
9519
|
-
"alias": "{primitive.color.
|
|
9520
|
-
"resolvedValue": "#
|
|
9596
|
+
"alias": "{primitive.color.graphite.900}",
|
|
9597
|
+
"resolvedValue": "#2a2428"
|
|
9521
9598
|
}
|
|
9522
9599
|
},
|
|
9523
9600
|
{
|
|
@@ -9617,12 +9694,12 @@
|
|
|
9617
9694
|
"path": "semantic.color.border.accent",
|
|
9618
9695
|
"cssVar": "--semantic-color-border-accent",
|
|
9619
9696
|
"type": "color",
|
|
9620
|
-
"description": "Accent border —
|
|
9621
|
-
"alias": "{primitive.color.
|
|
9622
|
-
"resolvedValue": "#
|
|
9697
|
+
"description": "Accent border — graphite, dark enough to read as a boundary on page and card surfaces.",
|
|
9698
|
+
"alias": "{primitive.color.graphite.700}",
|
|
9699
|
+
"resolvedValue": "#433a3f",
|
|
9623
9700
|
"dark": {
|
|
9624
|
-
"alias": "{primitive.color.
|
|
9625
|
-
"resolvedValue": "#
|
|
9701
|
+
"alias": "{primitive.color.graphite.300}",
|
|
9702
|
+
"resolvedValue": "#b2abae"
|
|
9626
9703
|
}
|
|
9627
9704
|
},
|
|
9628
9705
|
{
|
|
@@ -10220,12 +10297,12 @@
|
|
|
10220
10297
|
"path": "semantic.accent.rest",
|
|
10221
10298
|
"cssVar": "--semantic-accent-rest",
|
|
10222
10299
|
"type": "color",
|
|
10223
|
-
"description": "Default accent fill for interactive elements at rest —
|
|
10224
|
-
"alias": "{primitive.color.
|
|
10225
|
-
"resolvedValue": "#
|
|
10300
|
+
"description": "Default accent fill for interactive elements at rest — warm graphite. Inverts per theme; pair with content.onAccent.",
|
|
10301
|
+
"alias": "{primitive.color.graphite.700}",
|
|
10302
|
+
"resolvedValue": "#433a3f",
|
|
10226
10303
|
"dark": {
|
|
10227
|
-
"alias": "{primitive.color.
|
|
10228
|
-
"resolvedValue": "#
|
|
10304
|
+
"alias": "{primitive.color.graphite.200}",
|
|
10305
|
+
"resolvedValue": "#d4d0d2"
|
|
10229
10306
|
}
|
|
10230
10307
|
},
|
|
10231
10308
|
{
|
|
@@ -10233,11 +10310,11 @@
|
|
|
10233
10310
|
"cssVar": "--semantic-accent-hover",
|
|
10234
10311
|
"type": "color",
|
|
10235
10312
|
"description": "Accent fill on pointer hover.",
|
|
10236
|
-
"alias": "{primitive.color.
|
|
10237
|
-
"resolvedValue": "#
|
|
10313
|
+
"alias": "{primitive.color.graphite.800}",
|
|
10314
|
+
"resolvedValue": "#352e32",
|
|
10238
10315
|
"dark": {
|
|
10239
|
-
"alias": "{primitive.color.
|
|
10240
|
-
"resolvedValue": "#
|
|
10316
|
+
"alias": "{primitive.color.graphite.300}",
|
|
10317
|
+
"resolvedValue": "#b2abae"
|
|
10241
10318
|
}
|
|
10242
10319
|
},
|
|
10243
10320
|
{
|
|
@@ -10245,11 +10322,11 @@
|
|
|
10245
10322
|
"cssVar": "--semantic-accent-pressed",
|
|
10246
10323
|
"type": "color",
|
|
10247
10324
|
"description": "Accent fill during active press.",
|
|
10248
|
-
"alias": "{primitive.color.
|
|
10249
|
-
"resolvedValue": "#
|
|
10325
|
+
"alias": "{primitive.color.graphite.900}",
|
|
10326
|
+
"resolvedValue": "#2a2428",
|
|
10250
10327
|
"dark": {
|
|
10251
|
-
"alias": "{primitive.color.
|
|
10252
|
-
"resolvedValue": "#
|
|
10328
|
+
"alias": "{primitive.color.graphite.400}",
|
|
10329
|
+
"resolvedValue": "#8b8488"
|
|
10253
10330
|
}
|
|
10254
10331
|
},
|
|
10255
10332
|
{
|
|
@@ -10280,12 +10357,12 @@
|
|
|
10280
10357
|
"path": "semantic.accent.content",
|
|
10281
10358
|
"cssVar": "--semantic-accent-content",
|
|
10282
10359
|
"type": "color",
|
|
10283
|
-
"description": "Accent-intent text/icon color on neutral surfaces (
|
|
10284
|
-
"alias": "{primitive.color.
|
|
10285
|
-
"resolvedValue": "#
|
|
10360
|
+
"description": "Accent-intent text/icon color on neutral surfaces (graphite) — pair with underline/weight for link affordance.",
|
|
10361
|
+
"alias": "{primitive.color.graphite.700}",
|
|
10362
|
+
"resolvedValue": "#433a3f",
|
|
10286
10363
|
"dark": {
|
|
10287
|
-
"alias": "{primitive.color.
|
|
10288
|
-
"resolvedValue": "#
|
|
10364
|
+
"alias": "{primitive.color.graphite.300}",
|
|
10365
|
+
"resolvedValue": "#b2abae"
|
|
10289
10366
|
}
|
|
10290
10367
|
},
|
|
10291
10368
|
{
|
|
@@ -10293,11 +10370,11 @@
|
|
|
10293
10370
|
"cssVar": "--semantic-accent-contentHover",
|
|
10294
10371
|
"type": "color",
|
|
10295
10372
|
"description": "Accent content color on pointer hover.",
|
|
10296
|
-
"alias": "{primitive.color.
|
|
10297
|
-
"resolvedValue": "#
|
|
10373
|
+
"alias": "{primitive.color.graphite.800}",
|
|
10374
|
+
"resolvedValue": "#352e32",
|
|
10298
10375
|
"dark": {
|
|
10299
|
-
"alias": "{primitive.color.
|
|
10300
|
-
"resolvedValue": "#
|
|
10376
|
+
"alias": "{primitive.color.graphite.200}",
|
|
10377
|
+
"resolvedValue": "#d4d0d2"
|
|
10301
10378
|
}
|
|
10302
10379
|
},
|
|
10303
10380
|
{
|
|
@@ -10305,11 +10382,11 @@
|
|
|
10305
10382
|
"cssVar": "--semantic-accent-subtle",
|
|
10306
10383
|
"type": "color",
|
|
10307
10384
|
"description": "Low-emphasis accent tint for hover backgrounds and selection highlights.",
|
|
10308
|
-
"alias": "{primitive.color.
|
|
10309
|
-
"resolvedValue": "#
|
|
10385
|
+
"alias": "{primitive.color.graphite.50}",
|
|
10386
|
+
"resolvedValue": "#f5f4f4",
|
|
10310
10387
|
"dark": {
|
|
10311
|
-
"alias": "{primitive.color.
|
|
10312
|
-
"resolvedValue": "#
|
|
10388
|
+
"alias": "{primitive.color.graphite.800}",
|
|
10389
|
+
"resolvedValue": "#352e32"
|
|
10313
10390
|
}
|
|
10314
10391
|
},
|
|
10315
10392
|
{
|
|
@@ -10545,7 +10622,7 @@
|
|
|
10545
10622
|
"type": "color",
|
|
10546
10623
|
"description": "Nav item background fill when active or selected.",
|
|
10547
10624
|
"alias": "{semantic.accent.subtle}",
|
|
10548
|
-
"resolvedValue": "#
|
|
10625
|
+
"resolvedValue": "#f5f4f4"
|
|
10549
10626
|
},
|
|
10550
10627
|
{
|
|
10551
10628
|
"path": "component.nav.borderActive",
|
|
@@ -10553,7 +10630,7 @@
|
|
|
10553
10630
|
"type": "color",
|
|
10554
10631
|
"description": "Nav item border color when active or selected.",
|
|
10555
10632
|
"alias": "{semantic.color.surface.accent}",
|
|
10556
|
-
"resolvedValue": "#
|
|
10633
|
+
"resolvedValue": "#433a3f"
|
|
10557
10634
|
},
|
|
10558
10635
|
{
|
|
10559
10636
|
"path": "component.nav.text",
|
|
@@ -10601,7 +10678,7 @@
|
|
|
10601
10678
|
"type": "color",
|
|
10602
10679
|
"description": "Base tag surface color.",
|
|
10603
10680
|
"alias": "{semantic.accent.subtle}",
|
|
10604
|
-
"resolvedValue": "#
|
|
10681
|
+
"resolvedValue": "#f5f4f4"
|
|
10605
10682
|
},
|
|
10606
10683
|
{
|
|
10607
10684
|
"path": "component.tag.text",
|
|
@@ -10689,7 +10766,7 @@
|
|
|
10689
10766
|
"type": "color",
|
|
10690
10767
|
"description": "Text color when the tag is active.",
|
|
10691
10768
|
"alias": "{semantic.color.content.onAccent}",
|
|
10692
|
-
"resolvedValue": "#
|
|
10769
|
+
"resolvedValue": "#fafafa"
|
|
10693
10770
|
},
|
|
10694
10771
|
{
|
|
10695
10772
|
"path": "component.tag.activeBackground",
|
|
@@ -10697,7 +10774,7 @@
|
|
|
10697
10774
|
"type": "color",
|
|
10698
10775
|
"description": "Active tag fill color.",
|
|
10699
10776
|
"alias": "{semantic.accent.rest}",
|
|
10700
|
-
"resolvedValue": "#
|
|
10777
|
+
"resolvedValue": "#433a3f"
|
|
10701
10778
|
},
|
|
10702
10779
|
{
|
|
10703
10780
|
"path": "component.tag.activeBorder",
|
|
@@ -10705,7 +10782,7 @@
|
|
|
10705
10782
|
"type": "color",
|
|
10706
10783
|
"description": "Active tag border color.",
|
|
10707
10784
|
"alias": "{semantic.accent.rest}",
|
|
10708
|
-
"resolvedValue": "#
|
|
10785
|
+
"resolvedValue": "#433a3f"
|
|
10709
10786
|
},
|
|
10710
10787
|
{
|
|
10711
10788
|
"path": "component.tag.activeHover",
|
|
@@ -10713,7 +10790,7 @@
|
|
|
10713
10790
|
"type": "color",
|
|
10714
10791
|
"description": "Active tag hover fill color.",
|
|
10715
10792
|
"alias": "{semantic.accent.hover}",
|
|
10716
|
-
"resolvedValue": "#
|
|
10793
|
+
"resolvedValue": "#352e32"
|
|
10717
10794
|
},
|
|
10718
10795
|
{
|
|
10719
10796
|
"path": "component.badge.fontSize",
|
|
@@ -10797,7 +10874,7 @@
|
|
|
10797
10874
|
"type": "color",
|
|
10798
10875
|
"description": "Primary button fill.",
|
|
10799
10876
|
"alias": "{semantic.color.surface.accent}",
|
|
10800
|
-
"resolvedValue": "#
|
|
10877
|
+
"resolvedValue": "#433a3f"
|
|
10801
10878
|
},
|
|
10802
10879
|
{
|
|
10803
10880
|
"path": "component.button.bgHover",
|
|
@@ -10805,7 +10882,7 @@
|
|
|
10805
10882
|
"type": "color",
|
|
10806
10883
|
"description": "Primary button hover fill.",
|
|
10807
10884
|
"alias": "{semantic.accent.hover}",
|
|
10808
|
-
"resolvedValue": "#
|
|
10885
|
+
"resolvedValue": "#352e32"
|
|
10809
10886
|
},
|
|
10810
10887
|
{
|
|
10811
10888
|
"path": "component.button.text",
|
|
@@ -10813,7 +10890,7 @@
|
|
|
10813
10890
|
"type": "color",
|
|
10814
10891
|
"description": "Primary button text color.",
|
|
10815
10892
|
"alias": "{semantic.color.content.onAccent}",
|
|
10816
|
-
"resolvedValue": "#
|
|
10893
|
+
"resolvedValue": "#fafafa"
|
|
10817
10894
|
},
|
|
10818
10895
|
{
|
|
10819
10896
|
"path": "component.button.radius",
|
|
@@ -11227,7 +11304,7 @@
|
|
|
11227
11304
|
"type": "color",
|
|
11228
11305
|
"description": "Primary action surface. shadcn role: primary.",
|
|
11229
11306
|
"alias": "{semantic.color.surface.accent}",
|
|
11230
|
-
"resolvedValue": "#
|
|
11307
|
+
"resolvedValue": "#433a3f"
|
|
11231
11308
|
},
|
|
11232
11309
|
{
|
|
11233
11310
|
"path": "role.primary-foreground",
|
|
@@ -11235,7 +11312,7 @@
|
|
|
11235
11312
|
"type": "color",
|
|
11236
11313
|
"description": "Text/icons on primary surface. shadcn role: primary-foreground.",
|
|
11237
11314
|
"alias": "{semantic.color.content.onAccent}",
|
|
11238
|
-
"resolvedValue": "#
|
|
11315
|
+
"resolvedValue": "#fafafa"
|
|
11239
11316
|
},
|
|
11240
11317
|
{
|
|
11241
11318
|
"path": "role.secondary",
|
|
@@ -11275,7 +11352,7 @@
|
|
|
11275
11352
|
"type": "color",
|
|
11276
11353
|
"description": "Hover/active tinted bg. shadcn role: accent.",
|
|
11277
11354
|
"alias": "{semantic.color.surface.accentSubtle}",
|
|
11278
|
-
"resolvedValue": "#
|
|
11355
|
+
"resolvedValue": "#f5f4f4"
|
|
11279
11356
|
},
|
|
11280
11357
|
{
|
|
11281
11358
|
"path": "role.accent-foreground",
|
|
@@ -11283,7 +11360,7 @@
|
|
|
11283
11360
|
"type": "color",
|
|
11284
11361
|
"description": "Text on accent surface. shadcn role: accent-foreground.",
|
|
11285
11362
|
"alias": "{semantic.color.content.accent}",
|
|
11286
|
-
"resolvedValue": "#
|
|
11363
|
+
"resolvedValue": "#433a3f"
|
|
11287
11364
|
},
|
|
11288
11365
|
{
|
|
11289
11366
|
"path": "role.destructive",
|
|
@@ -11323,7 +11400,7 @@
|
|
|
11323
11400
|
"type": "color",
|
|
11324
11401
|
"description": "Focus ring color. shadcn role: ring.",
|
|
11325
11402
|
"alias": "{semantic.color.border.accent}",
|
|
11326
|
-
"resolvedValue": "#
|
|
11403
|
+
"resolvedValue": "#433a3f"
|
|
11327
11404
|
},
|
|
11328
11405
|
{
|
|
11329
11406
|
"path": "role.radius",
|
package/public/llms/scroll.txt
CHANGED
|
@@ -10,7 +10,7 @@ Canonical primitives, cheapest-first (CSS before JS, JS before an opt-in depende
|
|
|
10
10
|
2. `Pin` (`position: sticky`) for a pinned scroll scene — the dependency-free basis for the "tall section + sticky child" pattern (GSAP's `pin: true`, done with zero JS). Give the pinned element a TALLER scrolling parent (e.g. `height: 300vh`) so it has room to travel; `top` is a CSS length offset, not a spacing token.
|
|
11
11
|
3. `useScrollProgress` (from `@hirobius/design-system/scroll`) only when the 0→1 scroll value is needed in React — cross-element choreography, canvas/WebGL, or a Motion (`motion/react`) `useTransform` binding that CSS `animation-timeline` cannot express. Thin, SSR-guarded wrapper over Motion `useScroll`; adds no new dependency.
|
|
12
12
|
4. `SmoothScroll` (from `@hirobius/design-system/scroll`, `lenis` as an OPTIONAL peer dep) only for opt-in momentum ("inertia") scrolling, mounted once at the app/site root. Never imported from the main barrel — consumers who skip it pay nothing. Reduced-motion-first: Lenis is not instantiated when the user prefers reduced motion, unless `ignoreReducedMotion` is set for a deliberate art-directed exception.
|
|
13
|
-
5. Do not adopt GSAP/ScrollTrigger, and do not wire Lenis directly outside `SmoothScroll`, inside the core library — the CSS + Motion stack above covers reveal/pin/scrub without new dependencies. Bespoke GSAP/Lenis/WebGL scenes stay app-level/downstream (marketing sites, the clients factory), composed from these primitives
|
|
13
|
+
5. Do not adopt GSAP/ScrollTrigger, and do not wire Lenis directly outside `SmoothScroll`, inside the core library — the CSS + Motion stack above covers reveal/pin/scrub without new dependencies. Bespoke GSAP/Lenis/WebGL scenes stay app-level/downstream (marketing sites, the clients factory), composed from these primitives.
|
|
14
14
|
|
|
15
15
|
Negative rules:
|
|
16
16
|
|
|
@@ -19,4 +19,4 @@ Negative rules:
|
|
|
19
19
|
- No GSAP/ScrollTrigger or bespoke Lenis wiring inside `@hirobius/design-system` — those stay app-level/downstream, composed from `Reveal`/`Pin`/`useScrollProgress`/`SmoothScroll`.
|
|
20
20
|
- Every scroll effect must degrade to fully visible/static content — never gate content visibility behind `animation-timeline` support or a scroll listener with no fallback.
|
|
21
21
|
|
|
22
|
-
Reference: `src/app/components/reveal.tsx`, `src/app/components/pin.tsx`, `src/scroll/` (`use-scroll-progress.ts`, `smooth-scroll.tsx`),
|
|
22
|
+
Reference: `src/app/components/reveal.tsx`, `src/app/components/pin.tsx`, `src/scroll/` (`use-scroll-progress.ts`, `smooth-scroll.tsx`), and the Reveal pattern page on the docs site (`/docs/patterns/reveal`) for golden-path examples.
|