@classic-homes/theme-mcp 0.6.0 → 0.6.2
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/dist/{chunk-MUYBUITV.js → chunk-7TO32JWC.js} +1169 -251
- package/dist/chunk-7TO32JWC.js.map +1 -0
- package/dist/cli.js +1 -1
- package/dist/index.d.ts +15 -0
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-MUYBUITV.js.map +0 -1
|
@@ -6,7 +6,7 @@ import { ResourceTemplate } from "@modelcontextprotocol/sdk/server/mcp.js";
|
|
|
6
6
|
|
|
7
7
|
// src/data/component-catalog.json
|
|
8
8
|
var component_catalog_default = {
|
|
9
|
-
version: "0.6.
|
|
9
|
+
version: "0.6.2",
|
|
10
10
|
components: [
|
|
11
11
|
{
|
|
12
12
|
name: "AccessInspector",
|
|
@@ -5636,6 +5636,18 @@ var component_catalog_default = {
|
|
|
5636
5636
|
required: false,
|
|
5637
5637
|
description: "Sidebar footer content"
|
|
5638
5638
|
},
|
|
5639
|
+
{
|
|
5640
|
+
name: "sidebarContent",
|
|
5641
|
+
type: "Snippet<[SidebarContentContext]>",
|
|
5642
|
+
required: false,
|
|
5643
|
+
description: "Content below the nav sections (hidden when collapsed); `close()` closes the mobile drawer"
|
|
5644
|
+
},
|
|
5645
|
+
{
|
|
5646
|
+
name: "sidebarHeader",
|
|
5647
|
+
type: "Snippet<[SidebarContentContext]>",
|
|
5648
|
+
required: false,
|
|
5649
|
+
description: "Content above the nav, not scrolled (hidden when collapsed), e.g. a search field for the content below"
|
|
5650
|
+
},
|
|
5639
5651
|
{
|
|
5640
5652
|
name: "sidebarAutoCollapse",
|
|
5641
5653
|
type: "boolean",
|
|
@@ -6803,6 +6815,13 @@ var component_catalog_default = {
|
|
|
6803
6815
|
required: false,
|
|
6804
6816
|
description: "Row click callback"
|
|
6805
6817
|
},
|
|
6818
|
+
{
|
|
6819
|
+
name: "striped",
|
|
6820
|
+
type: "boolean",
|
|
6821
|
+
default: "false",
|
|
6822
|
+
required: false,
|
|
6823
|
+
description: "Zebra rows: Paper on even rows, Linen on hover"
|
|
6824
|
+
},
|
|
6806
6825
|
{
|
|
6807
6826
|
name: "caption",
|
|
6808
6827
|
type: "string",
|
|
@@ -11717,6 +11736,13 @@ var component_catalog_default = {
|
|
|
11717
11736
|
required: false,
|
|
11718
11737
|
description: "Custom content"
|
|
11719
11738
|
},
|
|
11739
|
+
{
|
|
11740
|
+
name: "safeArea",
|
|
11741
|
+
type: "boolean",
|
|
11742
|
+
default: "false",
|
|
11743
|
+
required: false,
|
|
11744
|
+
description: "Pad the left, right and bottom insets of an edge-to-edge page ([Safe areas](/docs/utilities/safe-area)); `PublicLayout` sets it"
|
|
11745
|
+
},
|
|
11720
11746
|
{
|
|
11721
11747
|
name: "class",
|
|
11722
11748
|
type: "string",
|
|
@@ -13176,6 +13202,13 @@ var component_catalog_default = {
|
|
|
13176
13202
|
required: false,
|
|
13177
13203
|
description: "Search configuration"
|
|
13178
13204
|
},
|
|
13205
|
+
{
|
|
13206
|
+
name: "safeArea",
|
|
13207
|
+
type: "'none' | 'all' | 'except-left'",
|
|
13208
|
+
default: "'none'",
|
|
13209
|
+
required: false,
|
|
13210
|
+
description: "Safe-area insets to pad"
|
|
13211
|
+
},
|
|
13179
13212
|
{
|
|
13180
13213
|
name: "class",
|
|
13181
13214
|
type: "string",
|
|
@@ -13192,6 +13225,15 @@ var component_catalog_default = {
|
|
|
13192
13225
|
"lg"
|
|
13193
13226
|
],
|
|
13194
13227
|
default: "lg"
|
|
13228
|
+
},
|
|
13229
|
+
{
|
|
13230
|
+
name: "safeArea",
|
|
13231
|
+
values: [
|
|
13232
|
+
"none",
|
|
13233
|
+
"all",
|
|
13234
|
+
"except-left"
|
|
13235
|
+
],
|
|
13236
|
+
default: "none"
|
|
13195
13237
|
}
|
|
13196
13238
|
],
|
|
13197
13239
|
slots: [
|
|
@@ -20799,6 +20841,18 @@ var component_catalog_default = {
|
|
|
20799
20841
|
required: false,
|
|
20800
20842
|
description: "Footer content"
|
|
20801
20843
|
},
|
|
20844
|
+
{
|
|
20845
|
+
name: "content",
|
|
20846
|
+
type: "Snippet<[SidebarContentContext]>",
|
|
20847
|
+
required: false,
|
|
20848
|
+
description: "Content below the nav sections (hidden when collapsed); `close()` closes the mobile drawer"
|
|
20849
|
+
},
|
|
20850
|
+
{
|
|
20851
|
+
name: "header",
|
|
20852
|
+
type: "Snippet<[SidebarContentContext]>",
|
|
20853
|
+
required: false,
|
|
20854
|
+
description: "Content above the nav, not scrolled (hidden when collapsed), e.g. a search field for the content below"
|
|
20855
|
+
},
|
|
20802
20856
|
{
|
|
20803
20857
|
name: "variant",
|
|
20804
20858
|
type: "'light' | 'dark'",
|
|
@@ -24910,7 +24964,7 @@ var component_catalog_default = {
|
|
|
24910
24964
|
|
|
24911
24965
|
// src/data/react-catalog.json
|
|
24912
24966
|
var react_catalog_default = {
|
|
24913
|
-
version: "0.6.
|
|
24967
|
+
version: "0.6.2",
|
|
24914
24968
|
components: [
|
|
24915
24969
|
{
|
|
24916
24970
|
name: "Alert",
|
|
@@ -25157,7 +25211,7 @@ var react_catalog_default = {
|
|
|
25157
25211
|
},
|
|
25158
25212
|
{
|
|
25159
25213
|
name: "variant",
|
|
25160
|
-
type: "'default' | 'secondary' | 'destructive' | 'outline' | 'warning' | 'success' | 'info'",
|
|
25214
|
+
type: "'default' | 'secondary' | 'promo' | 'destructive' | 'outline' | 'warning' | 'live' | 'working' | 'off' | 'attention' | 'critical' | 'count' | 'quantity' | 'success' | 'info'",
|
|
25161
25215
|
required: false,
|
|
25162
25216
|
description: ""
|
|
25163
25217
|
}
|
|
@@ -25176,9 +25230,17 @@ var react_catalog_default = {
|
|
|
25176
25230
|
values: [
|
|
25177
25231
|
"default",
|
|
25178
25232
|
"secondary",
|
|
25233
|
+
"promo",
|
|
25179
25234
|
"destructive",
|
|
25180
25235
|
"outline",
|
|
25181
25236
|
"warning",
|
|
25237
|
+
"live",
|
|
25238
|
+
"working",
|
|
25239
|
+
"off",
|
|
25240
|
+
"attention",
|
|
25241
|
+
"critical",
|
|
25242
|
+
"count",
|
|
25243
|
+
"quantity",
|
|
25182
25244
|
"success",
|
|
25183
25245
|
"info"
|
|
25184
25246
|
]
|
|
@@ -25243,7 +25305,7 @@ var react_catalog_default = {
|
|
|
25243
25305
|
},
|
|
25244
25306
|
{
|
|
25245
25307
|
name: "variant",
|
|
25246
|
-
type: "'default' | 'secondary' | 'destructive' | 'outline' | 'ghost' | 'link'",
|
|
25308
|
+
type: "'default' | 'secondary' | 'promo' | 'destructive' | 'outline' | 'ghost' | 'link'",
|
|
25247
25309
|
required: false,
|
|
25248
25310
|
description: ""
|
|
25249
25311
|
}
|
|
@@ -25264,6 +25326,7 @@ var react_catalog_default = {
|
|
|
25264
25326
|
values: [
|
|
25265
25327
|
"default",
|
|
25266
25328
|
"secondary",
|
|
25329
|
+
"promo",
|
|
25267
25330
|
"destructive",
|
|
25268
25331
|
"outline",
|
|
25269
25332
|
"ghost",
|
|
@@ -29880,6 +29943,12 @@ var react_catalog_default = {
|
|
|
29880
29943
|
type: "boolean",
|
|
29881
29944
|
required: false,
|
|
29882
29945
|
description: ""
|
|
29946
|
+
},
|
|
29947
|
+
{
|
|
29948
|
+
name: "striped",
|
|
29949
|
+
type: "boolean",
|
|
29950
|
+
required: false,
|
|
29951
|
+
description: ""
|
|
29883
29952
|
}
|
|
29884
29953
|
],
|
|
29885
29954
|
variants: [],
|
|
@@ -30284,30 +30353,263 @@ function registerComponentResources(server) {
|
|
|
30284
30353
|
|
|
30285
30354
|
// src/data/token-definitions.json
|
|
30286
30355
|
var token_definitions_default = {
|
|
30287
|
-
version: "0.6.
|
|
30356
|
+
version: "0.6.2",
|
|
30288
30357
|
colors: {
|
|
30358
|
+
usage: {
|
|
30359
|
+
source: "Classic Homes Digital Color Reference v2.5",
|
|
30360
|
+
rules: [
|
|
30361
|
+
"Heritage Teal (primary) is the everyday colour for actions, links, headers and focus. Red is not the primary colour.",
|
|
30362
|
+
"Founder's Red is for promotion (promo), notifications and errors (destructive), at full strength only.",
|
|
30363
|
+
"No pink: never tint red (no bg-destructive/10, bg-promo/20, bg-red-50\u2026). Alerts, toasts and error panels are White with a red border.",
|
|
30364
|
+
"Spark (#e02726) is for the logo only.",
|
|
30365
|
+
"Paper and Linen carry hover, active and selection states; Heritage Teal edges mark the current item.",
|
|
30366
|
+
"Collection colours are always named (ch.collection.preamble\u2026), never numbered; white type on them is 24px regular or 19px bold minimum.",
|
|
30367
|
+
"Accent Teal is for small details only: not text, buttons or large fields.",
|
|
30368
|
+
"Status by need: live, working, off, attention, critical badges, not green/orange/blue.",
|
|
30369
|
+
"Charts: chart-1\u20265 = Heritage Teal, Moss, Accent Teal, Pike's Gold, Base Sage.",
|
|
30370
|
+
"Inside a collection-branded component, add .collection-component so links and focus rings use Grey 01.",
|
|
30371
|
+
"Dark mode is not supported by the brand yet; dark values are derived and only pass contrast tests."
|
|
30372
|
+
]
|
|
30373
|
+
},
|
|
30374
|
+
ch: [
|
|
30375
|
+
{
|
|
30376
|
+
name: "spark",
|
|
30377
|
+
description: "Spark - logo artwork only, never UI",
|
|
30378
|
+
shades: {
|
|
30379
|
+
DEFAULT: "#e02726"
|
|
30380
|
+
},
|
|
30381
|
+
note: "Tailwind: bg-ch-spark / text-ch-spark; CSS: var(--ch-spark)"
|
|
30382
|
+
},
|
|
30383
|
+
{
|
|
30384
|
+
name: "white",
|
|
30385
|
+
description: "White - page and card surface",
|
|
30386
|
+
shades: {
|
|
30387
|
+
DEFAULT: "#ffffff"
|
|
30388
|
+
},
|
|
30389
|
+
note: "Tailwind: bg-ch-white / text-ch-white; CSS: var(--ch-white)"
|
|
30390
|
+
},
|
|
30391
|
+
{
|
|
30392
|
+
name: "paper",
|
|
30393
|
+
description: "Paper - hover, zebra rows, muted surfaces",
|
|
30394
|
+
shades: {
|
|
30395
|
+
DEFAULT: "#f2f2ee"
|
|
30396
|
+
},
|
|
30397
|
+
note: "Tailwind: bg-ch-paper / text-ch-paper; CSS: var(--ch-paper)"
|
|
30398
|
+
},
|
|
30399
|
+
{
|
|
30400
|
+
name: "linen",
|
|
30401
|
+
description: "Linen - active/selected states, table header, menu highlight",
|
|
30402
|
+
shades: {
|
|
30403
|
+
DEFAULT: "#e1e2d8"
|
|
30404
|
+
},
|
|
30405
|
+
note: "Tailwind: bg-ch-linen / text-ch-linen; CSS: var(--ch-linen)"
|
|
30406
|
+
},
|
|
30407
|
+
{
|
|
30408
|
+
name: "lichen",
|
|
30409
|
+
description: "Lichen - quiet borders (Off tag)",
|
|
30410
|
+
shades: {
|
|
30411
|
+
DEFAULT: "#c2c5b1"
|
|
30412
|
+
},
|
|
30413
|
+
note: "Tailwind: bg-ch-lichen / text-ch-lichen; CSS: var(--ch-lichen)"
|
|
30414
|
+
},
|
|
30415
|
+
{
|
|
30416
|
+
name: "sage500",
|
|
30417
|
+
description: "Base Sage - decorative only, no text",
|
|
30418
|
+
shades: {
|
|
30419
|
+
DEFAULT: "#969a82"
|
|
30420
|
+
},
|
|
30421
|
+
note: "Tailwind: bg-ch-sage500 / text-ch-sage500; CSS: var(--ch-sage500)"
|
|
30422
|
+
},
|
|
30423
|
+
{
|
|
30424
|
+
name: "sage600",
|
|
30425
|
+
description: "Fern - input borders; white text on it is large only",
|
|
30426
|
+
shades: {
|
|
30427
|
+
DEFAULT: "#81856e"
|
|
30428
|
+
},
|
|
30429
|
+
note: "Tailwind: bg-ch-sage600 / text-ch-sage600; CSS: var(--ch-sage600)"
|
|
30430
|
+
},
|
|
30431
|
+
{
|
|
30432
|
+
name: "sage700",
|
|
30433
|
+
description: "Moss - supports normal white text",
|
|
30434
|
+
shades: {
|
|
30435
|
+
DEFAULT: "#6c705b"
|
|
30436
|
+
},
|
|
30437
|
+
note: "Tailwind: bg-ch-sage700 / text-ch-sage700; CSS: var(--ch-sage700)"
|
|
30438
|
+
},
|
|
30439
|
+
{
|
|
30440
|
+
name: "sage900",
|
|
30441
|
+
description: "Forest - darkest sage; dark-mode background",
|
|
30442
|
+
shades: {
|
|
30443
|
+
DEFAULT: "#2f3128"
|
|
30444
|
+
},
|
|
30445
|
+
note: "Tailwind: bg-ch-sage900 / text-ch-sage900; CSS: var(--ch-sage900)"
|
|
30446
|
+
},
|
|
30447
|
+
{
|
|
30448
|
+
name: "grey01",
|
|
30449
|
+
description: "Grey 01 - default text",
|
|
30450
|
+
shades: {
|
|
30451
|
+
DEFAULT: "#50504f"
|
|
30452
|
+
},
|
|
30453
|
+
note: "Tailwind: bg-ch-grey01 / text-ch-grey01; CSS: var(--ch-grey01)"
|
|
30454
|
+
},
|
|
30455
|
+
{
|
|
30456
|
+
name: "grey02",
|
|
30457
|
+
description: "Grey 02 - secondary text on White only",
|
|
30458
|
+
shades: {
|
|
30459
|
+
DEFAULT: "#767574"
|
|
30460
|
+
},
|
|
30461
|
+
note: "Tailwind: bg-ch-grey02 / text-ch-grey02; CSS: var(--ch-grey02)"
|
|
30462
|
+
},
|
|
30463
|
+
{
|
|
30464
|
+
name: "heritageTeal",
|
|
30465
|
+
description: "Heritage Teal - everyday actions, links, headers, focus (theme 'primary')",
|
|
30466
|
+
shades: {
|
|
30467
|
+
DEFAULT: "#1b373b"
|
|
30468
|
+
},
|
|
30469
|
+
note: "Tailwind: bg-ch-heritage-teal / text-ch-heritage-teal; CSS: var(--ch-heritage-teal)"
|
|
30470
|
+
},
|
|
30471
|
+
{
|
|
30472
|
+
name: "heritageTealLift",
|
|
30473
|
+
description: "Teal Lift - pressed state of Heritage Teal",
|
|
30474
|
+
shades: {
|
|
30475
|
+
DEFAULT: "#2a4e53"
|
|
30476
|
+
},
|
|
30477
|
+
note: "Tailwind: bg-ch-heritage-teal-lift / text-ch-heritage-teal-lift; CSS: var(--ch-heritage-teal-lift)"
|
|
30478
|
+
},
|
|
30479
|
+
{
|
|
30480
|
+
name: "accentTeal",
|
|
30481
|
+
description: "Accent Teal - small details only: not text, buttons or large fields",
|
|
30482
|
+
shades: {
|
|
30483
|
+
DEFAULT: "#34999c"
|
|
30484
|
+
},
|
|
30485
|
+
note: "Tailwind: bg-ch-accent-teal / text-ch-accent-teal; CSS: var(--ch-accent-teal)"
|
|
30486
|
+
},
|
|
30487
|
+
{
|
|
30488
|
+
name: "accentTeal100",
|
|
30489
|
+
description: "Shallows - Live tags and targeted highlights",
|
|
30490
|
+
shades: {
|
|
30491
|
+
DEFAULT: "#d8eded"
|
|
30492
|
+
},
|
|
30493
|
+
note: "Tailwind: bg-ch-accent-teal100 / text-ch-accent-teal100; CSS: var(--ch-accent-teal100)"
|
|
30494
|
+
},
|
|
30495
|
+
{
|
|
30496
|
+
name: "foundersRed",
|
|
30497
|
+
description: "Founder's Red - promotion, notifications, errors; full strength only ('promo', 'destructive')",
|
|
30498
|
+
shades: {
|
|
30499
|
+
DEFAULT: "#ae2025"
|
|
30500
|
+
},
|
|
30501
|
+
note: "Tailwind: bg-ch-founders-red / text-ch-founders-red; CSS: var(--ch-founders-red)"
|
|
30502
|
+
},
|
|
30503
|
+
{
|
|
30504
|
+
name: "foundersRedDark",
|
|
30505
|
+
description: "Red Dark - hover of Founder's Red (deeper, never lighter)",
|
|
30506
|
+
shades: {
|
|
30507
|
+
DEFAULT: "#941b1f"
|
|
30508
|
+
},
|
|
30509
|
+
note: "Tailwind: bg-ch-founders-red-dark / text-ch-founders-red-dark; CSS: var(--ch-founders-red-dark)"
|
|
30510
|
+
},
|
|
30511
|
+
{
|
|
30512
|
+
name: "pikesGold",
|
|
30513
|
+
description: "Pike's Gold - accent detail, chart series",
|
|
30514
|
+
shades: {
|
|
30515
|
+
DEFAULT: "#c9a66e"
|
|
30516
|
+
},
|
|
30517
|
+
note: "Tailwind: bg-ch-pikes-gold / text-ch-pikes-gold; CSS: var(--ch-pikes-gold)"
|
|
30518
|
+
},
|
|
30519
|
+
{
|
|
30520
|
+
name: "collection.preamble",
|
|
30521
|
+
description: "Collection signature: preamble. Always name the collection; white type on it is 24px regular or 19px bold minimum",
|
|
30522
|
+
shades: {
|
|
30523
|
+
DEFAULT: "#4a8a6f"
|
|
30524
|
+
},
|
|
30525
|
+
note: "Tailwind: bg-ch-collection-preamble; CSS: var(--ch-collection-preamble)"
|
|
30526
|
+
},
|
|
30527
|
+
{
|
|
30528
|
+
name: "collection.cadence",
|
|
30529
|
+
description: "Collection signature: cadence. Always name the collection; white type on it is 24px regular or 19px bold minimum",
|
|
30530
|
+
shades: {
|
|
30531
|
+
DEFAULT: "#2e5a4a"
|
|
30532
|
+
},
|
|
30533
|
+
note: "Tailwind: bg-ch-collection-cadence; CSS: var(--ch-collection-cadence)"
|
|
30534
|
+
},
|
|
30535
|
+
{
|
|
30536
|
+
name: "collection.portrait",
|
|
30537
|
+
description: "Collection signature: portrait. Always name the collection; white type on it is 24px regular or 19px bold minimum",
|
|
30538
|
+
shades: {
|
|
30539
|
+
DEFAULT: "#6a5280"
|
|
30540
|
+
},
|
|
30541
|
+
note: "Tailwind: bg-ch-collection-portrait; CSS: var(--ch-collection-portrait)"
|
|
30542
|
+
},
|
|
30543
|
+
{
|
|
30544
|
+
name: "collection.midtown",
|
|
30545
|
+
description: "Collection signature: midtown. Always name the collection; white type on it is 24px regular or 19px bold minimum",
|
|
30546
|
+
shades: {
|
|
30547
|
+
DEFAULT: "#1b2230"
|
|
30548
|
+
},
|
|
30549
|
+
note: "Tailwind: bg-ch-collection-midtown; CSS: var(--ch-collection-midtown)"
|
|
30550
|
+
},
|
|
30551
|
+
{
|
|
30552
|
+
name: "collection.fourSquare",
|
|
30553
|
+
description: "Collection signature: fourSquare. Always name the collection; white type on it is 24px regular or 19px bold minimum",
|
|
30554
|
+
shades: {
|
|
30555
|
+
DEFAULT: "#7a5837"
|
|
30556
|
+
},
|
|
30557
|
+
note: "Tailwind: bg-ch-collection-four-square; CSS: var(--ch-collection-four-square)"
|
|
30558
|
+
},
|
|
30559
|
+
{
|
|
30560
|
+
name: "collection.classic",
|
|
30561
|
+
description: "Collection signature: classic. Always name the collection; white type on it is 24px regular or 19px bold minimum",
|
|
30562
|
+
shades: {
|
|
30563
|
+
DEFAULT: "#2b4660"
|
|
30564
|
+
},
|
|
30565
|
+
note: "Tailwind: bg-ch-collection-classic; CSS: var(--ch-collection-classic)"
|
|
30566
|
+
},
|
|
30567
|
+
{
|
|
30568
|
+
name: "reserved.tidewater",
|
|
30569
|
+
description: "Reserved for future collections. Not assigned for use",
|
|
30570
|
+
shades: {
|
|
30571
|
+
DEFAULT: "#3b7689"
|
|
30572
|
+
},
|
|
30573
|
+
note: "Tailwind: bg-ch-reserved-tidewater"
|
|
30574
|
+
},
|
|
30575
|
+
{
|
|
30576
|
+
name: "reserved.currant",
|
|
30577
|
+
description: "Reserved for future collections. Not assigned for use",
|
|
30578
|
+
shades: {
|
|
30579
|
+
DEFAULT: "#7d4560"
|
|
30580
|
+
},
|
|
30581
|
+
note: "Tailwind: bg-ch-reserved-currant"
|
|
30582
|
+
},
|
|
30583
|
+
{
|
|
30584
|
+
name: "reserved.dusk",
|
|
30585
|
+
description: "Reserved for future collections. Not assigned for use",
|
|
30586
|
+
shades: {
|
|
30587
|
+
DEFAULT: "#767fa5"
|
|
30588
|
+
},
|
|
30589
|
+
note: "Tailwind: bg-ch-reserved-dusk"
|
|
30590
|
+
}
|
|
30591
|
+
],
|
|
30289
30592
|
brand: [
|
|
30290
30593
|
{
|
|
30291
30594
|
name: "gray",
|
|
30292
|
-
description: "Neutral gray scale",
|
|
30595
|
+
description: "Neutral gray scale (500 = Grey 02, 600 = Grey 01)",
|
|
30293
30596
|
shades: {
|
|
30294
30597
|
"50": "#f9fafb",
|
|
30295
30598
|
"100": "#f3f4f6",
|
|
30296
30599
|
"200": "#e5e7eb",
|
|
30297
30600
|
"300": "#d1d5db",
|
|
30298
30601
|
"400": "#9ca3af",
|
|
30299
|
-
"500": "#
|
|
30300
|
-
"600": "#
|
|
30602
|
+
"500": "#767574",
|
|
30603
|
+
"600": "#50504f",
|
|
30301
30604
|
"700": "#3d3d3d",
|
|
30302
30605
|
"800": "#2a2a2a",
|
|
30303
30606
|
"900": "#1a1a1a",
|
|
30304
30607
|
"950": "#0a0a0a"
|
|
30305
|
-
}
|
|
30306
|
-
note: "Unlike other palettes, gray does not include a foreground property as it is used for text colors, not as a background"
|
|
30608
|
+
}
|
|
30307
30609
|
},
|
|
30308
30610
|
{
|
|
30309
30611
|
name: "red",
|
|
30310
|
-
description: "
|
|
30612
|
+
description: "Red scale. Use full-strength `promo`/`destructive`, never tints",
|
|
30311
30613
|
shades: {
|
|
30312
30614
|
"50": "#fef2f2",
|
|
30313
30615
|
"100": "#fee2e2",
|
|
@@ -30325,7 +30627,7 @@ var token_definitions_default = {
|
|
|
30325
30627
|
},
|
|
30326
30628
|
{
|
|
30327
30629
|
name: "teal",
|
|
30328
|
-
description: "
|
|
30630
|
+
description: "Teal scale",
|
|
30329
30631
|
shades: {
|
|
30330
30632
|
"50": "#f0fafa",
|
|
30331
30633
|
"100": "#d9f2f3",
|
|
@@ -30341,9 +30643,26 @@ var token_definitions_default = {
|
|
|
30341
30643
|
},
|
|
30342
30644
|
foreground: "#ffffff"
|
|
30343
30645
|
},
|
|
30646
|
+
{
|
|
30647
|
+
name: "sage",
|
|
30648
|
+
description: "Sage scale",
|
|
30649
|
+
shades: {
|
|
30650
|
+
"50": "#f7f7f5",
|
|
30651
|
+
"100": "#eaebe6",
|
|
30652
|
+
"200": "#dddfd5",
|
|
30653
|
+
"300": "#d0d3c5",
|
|
30654
|
+
"400": "#c3c7b5",
|
|
30655
|
+
"500": "#b6baa4",
|
|
30656
|
+
"600": "#969a82",
|
|
30657
|
+
"700": "#757968",
|
|
30658
|
+
"800": "#54574e",
|
|
30659
|
+
"900": "#333634",
|
|
30660
|
+
"950": "#1a1b1a"
|
|
30661
|
+
}
|
|
30662
|
+
},
|
|
30344
30663
|
{
|
|
30345
30664
|
name: "navy",
|
|
30346
|
-
description: "
|
|
30665
|
+
description: "Deprecated (v2.5): use ch.heritageTeal or ch.collection.classic",
|
|
30347
30666
|
shades: {
|
|
30348
30667
|
"50": "#f0f4f6",
|
|
30349
30668
|
"100": "#d9e4ea",
|
|
@@ -30361,7 +30680,7 @@ var token_definitions_default = {
|
|
|
30361
30680
|
},
|
|
30362
30681
|
{
|
|
30363
30682
|
name: "plum",
|
|
30364
|
-
description: "
|
|
30683
|
+
description: "Deprecated (v2.5): use ch.collection.portrait",
|
|
30365
30684
|
shades: {
|
|
30366
30685
|
"50": "#f8f4f6",
|
|
30367
30686
|
"100": "#ede2e8",
|
|
@@ -30377,27 +30696,9 @@ var token_definitions_default = {
|
|
|
30377
30696
|
},
|
|
30378
30697
|
foreground: "#ffffff"
|
|
30379
30698
|
},
|
|
30380
|
-
{
|
|
30381
|
-
name: "sage",
|
|
30382
|
-
description: "Core 4 - Muted green/gray",
|
|
30383
|
-
shades: {
|
|
30384
|
-
"50": "#f7f7f5",
|
|
30385
|
-
"100": "#eaebe6",
|
|
30386
|
-
"200": "#dddfd5",
|
|
30387
|
-
"300": "#d0d3c5",
|
|
30388
|
-
"400": "#c3c7b5",
|
|
30389
|
-
"500": "#b6baa4",
|
|
30390
|
-
"600": "#969a82",
|
|
30391
|
-
"700": "#757968",
|
|
30392
|
-
"800": "#54574e",
|
|
30393
|
-
"900": "#333634",
|
|
30394
|
-
"950": "#1a1b1a"
|
|
30395
|
-
},
|
|
30396
|
-
note: "Unlike other palettes, sage does not include a foreground property as it is used primarily for subtle backgrounds"
|
|
30397
|
-
},
|
|
30398
30699
|
{
|
|
30399
30700
|
name: "stone",
|
|
30400
|
-
description: "
|
|
30701
|
+
description: "Deprecated (v2.5): replaced by named ch.collection colours",
|
|
30401
30702
|
shades: {
|
|
30402
30703
|
"50": "#f7f7f7",
|
|
30403
30704
|
"100": "#ebebeb",
|
|
@@ -30415,7 +30716,7 @@ var token_definitions_default = {
|
|
|
30415
30716
|
},
|
|
30416
30717
|
{
|
|
30417
30718
|
name: "forest",
|
|
30418
|
-
description: "
|
|
30719
|
+
description: "Deprecated (v2.5): use ch.collection.preamble / cadence",
|
|
30419
30720
|
shades: {
|
|
30420
30721
|
"50": "#f4f7f5",
|
|
30421
30722
|
"100": "#e1ebe4",
|
|
@@ -30433,7 +30734,7 @@ var token_definitions_default = {
|
|
|
30433
30734
|
},
|
|
30434
30735
|
{
|
|
30435
30736
|
name: "lavender",
|
|
30436
|
-
description: "
|
|
30737
|
+
description: "Deprecated (v2.5): use ch.collection.portrait",
|
|
30437
30738
|
shades: {
|
|
30438
30739
|
"50": "#f7f6f8",
|
|
30439
30740
|
"100": "#ece9ed",
|
|
@@ -30451,7 +30752,7 @@ var token_definitions_default = {
|
|
|
30451
30752
|
},
|
|
30452
30753
|
{
|
|
30453
30754
|
name: "sky",
|
|
30454
|
-
description: "
|
|
30755
|
+
description: "Deprecated (v2.5): use ch.collection.classic",
|
|
30455
30756
|
shades: {
|
|
30456
30757
|
"50": "#f4f8fb",
|
|
30457
30758
|
"100": "#e2ecf3",
|
|
@@ -30469,7 +30770,7 @@ var token_definitions_default = {
|
|
|
30469
30770
|
},
|
|
30470
30771
|
{
|
|
30471
30772
|
name: "deepTeal",
|
|
30472
|
-
description: "
|
|
30773
|
+
description: "Deprecated (v2.5): use ch.collection.cadence",
|
|
30473
30774
|
shades: {
|
|
30474
30775
|
"50": "#f2f5f5",
|
|
30475
30776
|
"100": "#dce5e4",
|
|
@@ -30487,7 +30788,7 @@ var token_definitions_default = {
|
|
|
30487
30788
|
},
|
|
30488
30789
|
{
|
|
30489
30790
|
name: "charcoal",
|
|
30490
|
-
description: "
|
|
30791
|
+
description: "Deprecated (v2.5): use ch.collection.midtown",
|
|
30491
30792
|
shades: {
|
|
30492
30793
|
"50": "#fafafa",
|
|
30493
30794
|
"100": "#e6e6e6",
|
|
@@ -30506,165 +30807,316 @@ var token_definitions_default = {
|
|
|
30506
30807
|
],
|
|
30507
30808
|
semantic: {
|
|
30508
30809
|
background: {
|
|
30509
|
-
light: "
|
|
30510
|
-
dark: "
|
|
30511
|
-
|
|
30512
|
-
|
|
30513
|
-
|
|
30514
|
-
|
|
30810
|
+
light: "#ffffff",
|
|
30811
|
+
dark: "#2f3128"
|
|
30812
|
+
},
|
|
30813
|
+
"background-hover": {
|
|
30814
|
+
light: "#f2f2ee",
|
|
30815
|
+
dark: "#35382e"
|
|
30515
30816
|
},
|
|
30516
30817
|
foreground: {
|
|
30517
|
-
light: "
|
|
30518
|
-
dark: "
|
|
30818
|
+
light: "#50504f",
|
|
30819
|
+
dark: "#f2f2ee"
|
|
30820
|
+
},
|
|
30821
|
+
card: {
|
|
30822
|
+
light: "#ffffff",
|
|
30823
|
+
dark: "#35382e"
|
|
30824
|
+
},
|
|
30825
|
+
"card-foreground": {
|
|
30826
|
+
light: "#50504f",
|
|
30827
|
+
dark: "#f2f2ee"
|
|
30828
|
+
},
|
|
30829
|
+
popover: {
|
|
30830
|
+
light: "#ffffff",
|
|
30831
|
+
dark: "#35382e"
|
|
30832
|
+
},
|
|
30833
|
+
"popover-foreground": {
|
|
30834
|
+
light: "#50504f",
|
|
30835
|
+
dark: "#f2f2ee"
|
|
30519
30836
|
},
|
|
30520
30837
|
primary: {
|
|
30521
|
-
light: "
|
|
30522
|
-
dark: "
|
|
30523
|
-
|
|
30524
|
-
|
|
30525
|
-
|
|
30526
|
-
|
|
30527
|
-
|
|
30838
|
+
light: "#1b373b",
|
|
30839
|
+
dark: "#6cc0c2",
|
|
30840
|
+
note: "Heritage Teal. Everyday actions, links, focus. Button hover underlines the label; no colour change"
|
|
30841
|
+
},
|
|
30842
|
+
"primary-foreground": {
|
|
30843
|
+
light: "#ffffff",
|
|
30844
|
+
dark: "#2f3128"
|
|
30845
|
+
},
|
|
30846
|
+
"primary-hover": {
|
|
30847
|
+
light: "#1b373b",
|
|
30848
|
+
dark: "#6cc0c2"
|
|
30849
|
+
},
|
|
30850
|
+
"primary-active": {
|
|
30851
|
+
light: "#2a4e53",
|
|
30852
|
+
dark: "#8fd0d2",
|
|
30853
|
+
note: "Teal Lift: pressed state (active:bg-primary-active)"
|
|
30854
|
+
},
|
|
30855
|
+
promo: {
|
|
30856
|
+
light: "#ae2025",
|
|
30857
|
+
dark: "#f47c72",
|
|
30858
|
+
note: "Founder's Red, full strength. Promotion, counts, notifications (button/badge variant 'promo')"
|
|
30859
|
+
},
|
|
30860
|
+
"promo-foreground": {
|
|
30861
|
+
light: "#ffffff",
|
|
30862
|
+
dark: "#2f3128"
|
|
30863
|
+
},
|
|
30864
|
+
"promo-hover": {
|
|
30865
|
+
light: "#941b1f",
|
|
30866
|
+
dark: "#f7877c"
|
|
30528
30867
|
},
|
|
30529
30868
|
secondary: {
|
|
30530
|
-
light: "#
|
|
30531
|
-
dark: "
|
|
30532
|
-
|
|
30533
|
-
light: "red-700 (#a91c22)",
|
|
30534
|
-
dark: "red-700 (#a91c22)"
|
|
30535
|
-
},
|
|
30536
|
-
foreground: {
|
|
30537
|
-
light: "#ffffff",
|
|
30538
|
-
dark: "gray-100 (#f3f4f6)"
|
|
30539
|
-
},
|
|
30540
|
-
border: {
|
|
30541
|
-
light: "#ffffff",
|
|
30542
|
-
dark: "charcoal-900 (#292424)"
|
|
30543
|
-
},
|
|
30544
|
-
soft: {
|
|
30545
|
-
light: "sage-600 (#969a82)",
|
|
30546
|
-
dark: "sage-700 (#757968)"
|
|
30547
|
-
},
|
|
30548
|
-
note: "Filled sage action color (e.g. PDF / Filters buttons). Use `muted` for subtle light-sage surfaces."
|
|
30869
|
+
light: "#ffffff",
|
|
30870
|
+
dark: "#2f3128",
|
|
30871
|
+
note: "White surface with Heritage Teal text and border (outlined teal button)"
|
|
30549
30872
|
},
|
|
30550
|
-
|
|
30551
|
-
light: "
|
|
30552
|
-
dark: "
|
|
30553
|
-
hover: {
|
|
30554
|
-
light: "#d5d7cd",
|
|
30555
|
-
dark: "sage-300 (#d0d3c5)"
|
|
30556
|
-
},
|
|
30557
|
-
note: "Outline button border; hover pairs with the primary fill."
|
|
30873
|
+
"secondary-foreground": {
|
|
30874
|
+
light: "#1b373b",
|
|
30875
|
+
dark: "#8fd0d2"
|
|
30558
30876
|
},
|
|
30559
|
-
|
|
30877
|
+
"secondary-hover": {
|
|
30878
|
+
light: "#f2f2ee",
|
|
30879
|
+
dark: "#35382e"
|
|
30880
|
+
},
|
|
30881
|
+
"secondary-border": {
|
|
30560
30882
|
light: "#1b373b",
|
|
30561
|
-
dark: "#
|
|
30562
|
-
foreground: "#ffffff",
|
|
30563
|
-
border: "#d5d7cd",
|
|
30564
|
-
note: "Dark toolbar strip under page headers (Toolbar component)."
|
|
30883
|
+
dark: "#8fd0d2"
|
|
30565
30884
|
},
|
|
30566
|
-
|
|
30567
|
-
light: "
|
|
30568
|
-
dark: "
|
|
30569
|
-
hover: {
|
|
30570
|
-
light: "#319295",
|
|
30571
|
-
dark: "#8fd9dc"
|
|
30572
|
-
},
|
|
30573
|
-
foreground: "#ffffff"
|
|
30885
|
+
"secondary-soft": {
|
|
30886
|
+
light: "#969a82",
|
|
30887
|
+
dark: "#6c705b"
|
|
30574
30888
|
},
|
|
30575
30889
|
muted: {
|
|
30576
|
-
light: "
|
|
30577
|
-
dark: "
|
|
30578
|
-
|
|
30579
|
-
|
|
30580
|
-
|
|
30581
|
-
|
|
30582
|
-
|
|
30583
|
-
|
|
30584
|
-
|
|
30585
|
-
|
|
30890
|
+
light: "#f2f2ee",
|
|
30891
|
+
dark: "#414438",
|
|
30892
|
+
note: "Paper. Subtle surfaces; muted-hover is Linen"
|
|
30893
|
+
},
|
|
30894
|
+
"muted-foreground": {
|
|
30895
|
+
light: "#666666",
|
|
30896
|
+
dark: "#c2c5b1"
|
|
30897
|
+
},
|
|
30898
|
+
"muted-hover": {
|
|
30899
|
+
light: "#e1e2d8",
|
|
30900
|
+
dark: "#4a4d40"
|
|
30901
|
+
},
|
|
30902
|
+
accent: {
|
|
30903
|
+
light: "#e1e2d8",
|
|
30904
|
+
dark: "#414438",
|
|
30905
|
+
note: "Linen with Grey 01 text: neutral menu/hover highlight, table header"
|
|
30906
|
+
},
|
|
30907
|
+
"accent-foreground": {
|
|
30908
|
+
light: "#50504f",
|
|
30909
|
+
dark: "#f2f2ee"
|
|
30910
|
+
},
|
|
30911
|
+
"accent-hover": {
|
|
30912
|
+
light: "#e1e2d8",
|
|
30913
|
+
dark: "#4a4d40"
|
|
30586
30914
|
},
|
|
30587
30915
|
destructive: {
|
|
30588
|
-
light: "
|
|
30589
|
-
dark: "
|
|
30590
|
-
|
|
30591
|
-
light: "#d92626",
|
|
30592
|
-
dark: "#f87171"
|
|
30593
|
-
},
|
|
30594
|
-
foreground: "#ffffff"
|
|
30916
|
+
light: "#ae2025",
|
|
30917
|
+
dark: "#f47c72",
|
|
30918
|
+
note: "Founder's Red, full strength. Errors and destructive actions. Never tint (no bg-destructive/10)"
|
|
30595
30919
|
},
|
|
30596
|
-
|
|
30920
|
+
"destructive-foreground": {
|
|
30597
30921
|
light: "#ffffff",
|
|
30598
|
-
dark: "
|
|
30599
|
-
foreground: {
|
|
30600
|
-
light: "gray-600 (#4f4f4f)",
|
|
30601
|
-
dark: "gray-100 (#f3f4f6)"
|
|
30602
|
-
}
|
|
30922
|
+
dark: "#2f3128"
|
|
30603
30923
|
},
|
|
30604
|
-
|
|
30605
|
-
light: "#
|
|
30606
|
-
dark: "
|
|
30607
|
-
foreground: {
|
|
30608
|
-
light: "gray-600 (#4f4f4f)",
|
|
30609
|
-
dark: "gray-100 (#f3f4f6)"
|
|
30610
|
-
}
|
|
30924
|
+
"destructive-hover": {
|
|
30925
|
+
light: "#941b1f",
|
|
30926
|
+
dark: "#f7877c"
|
|
30611
30927
|
},
|
|
30612
30928
|
border: {
|
|
30613
30929
|
light: "#000000",
|
|
30614
|
-
dark: "
|
|
30615
|
-
note: "CAD/drafter aesthetic
|
|
30930
|
+
dark: "#9ca3af",
|
|
30931
|
+
note: "CAD/drafter aesthetic: hard black borders in light mode"
|
|
30616
30932
|
},
|
|
30617
30933
|
input: {
|
|
30618
30934
|
light: "#000000",
|
|
30619
|
-
dark: "
|
|
30935
|
+
dark: "#9ca3af"
|
|
30620
30936
|
},
|
|
30621
30937
|
ring: {
|
|
30622
|
-
light: "
|
|
30623
|
-
dark: "
|
|
30938
|
+
light: "#1b373b",
|
|
30939
|
+
dark: "#8fd0d2"
|
|
30940
|
+
},
|
|
30941
|
+
outline: {
|
|
30942
|
+
light: "#81856e",
|
|
30943
|
+
dark: "#969a82"
|
|
30944
|
+
},
|
|
30945
|
+
"outline-hover": {
|
|
30946
|
+
light: "#c2c5b1",
|
|
30947
|
+
dark: "#c2c5b1"
|
|
30948
|
+
},
|
|
30949
|
+
live: {
|
|
30950
|
+
light: "#d8eded",
|
|
30951
|
+
dark: "#1b373b",
|
|
30952
|
+
note: "Shallows with Heritage Teal text: Live status tag"
|
|
30953
|
+
},
|
|
30954
|
+
"live-foreground": {
|
|
30955
|
+
light: "#1b373b",
|
|
30956
|
+
dark: "#d8eded"
|
|
30957
|
+
},
|
|
30958
|
+
"nav-active": {
|
|
30959
|
+
light: "#e1e2d8",
|
|
30960
|
+
dark: "#414438",
|
|
30961
|
+
note: "Linen + teal text + bold + 3px teal edge for the current nav item"
|
|
30962
|
+
},
|
|
30963
|
+
"nav-active-foreground": {
|
|
30964
|
+
light: "#1b373b",
|
|
30965
|
+
dark: "#8fd0d2"
|
|
30966
|
+
},
|
|
30967
|
+
"nav-hover": {
|
|
30968
|
+
light: "#f2f2ee",
|
|
30969
|
+
dark: "#35382e"
|
|
30970
|
+
},
|
|
30971
|
+
"row-zebra": {
|
|
30972
|
+
light: "#f2f2ee",
|
|
30973
|
+
dark: "#35382e"
|
|
30974
|
+
},
|
|
30975
|
+
"row-hover": {
|
|
30976
|
+
light: "#f2f2ee",
|
|
30977
|
+
dark: "#35382e"
|
|
30978
|
+
},
|
|
30979
|
+
"row-hover-zebra": {
|
|
30980
|
+
light: "#e1e2d8",
|
|
30981
|
+
dark: "#414438"
|
|
30982
|
+
},
|
|
30983
|
+
"row-selected": {
|
|
30984
|
+
light: "#e1e2d8",
|
|
30985
|
+
dark: "#414438",
|
|
30986
|
+
note: "Linen + bold + 3px teal edge on the first cell"
|
|
30987
|
+
},
|
|
30988
|
+
link: {
|
|
30989
|
+
light: "#1b373b",
|
|
30990
|
+
dark: "#8fd0d2",
|
|
30991
|
+
note: "Heritage Teal. Body links are underlined"
|
|
30992
|
+
},
|
|
30993
|
+
toolbar: {
|
|
30994
|
+
light: "#1b373b",
|
|
30995
|
+
dark: "#1b373b",
|
|
30996
|
+
note: "Heritage Teal strip under page headers (Toolbar component)"
|
|
30997
|
+
},
|
|
30998
|
+
"toolbar-foreground": {
|
|
30999
|
+
light: "#ffffff",
|
|
31000
|
+
dark: "#ffffff"
|
|
31001
|
+
},
|
|
31002
|
+
"toolbar-muted": {
|
|
31003
|
+
light: "#c4c7b8",
|
|
31004
|
+
dark: "#c4c7b8"
|
|
31005
|
+
},
|
|
31006
|
+
"toolbar-border": {
|
|
31007
|
+
light: "#d5d7cd",
|
|
31008
|
+
dark: "#d5d7cd"
|
|
30624
31009
|
},
|
|
30625
31010
|
success: {
|
|
30626
|
-
light: "#
|
|
30627
|
-
dark: "#
|
|
30628
|
-
|
|
30629
|
-
|
|
30630
|
-
|
|
30631
|
-
|
|
31011
|
+
light: "#1b373b",
|
|
31012
|
+
dark: "#8fd0d2",
|
|
31013
|
+
note: "Heritage Teal: v2.5 has no green status palette"
|
|
31014
|
+
},
|
|
31015
|
+
"success-foreground": {
|
|
31016
|
+
light: "#ffffff",
|
|
31017
|
+
dark: "#2f3128"
|
|
30632
31018
|
},
|
|
30633
31019
|
warning: {
|
|
30634
|
-
light: "#
|
|
30635
|
-
dark: "#
|
|
30636
|
-
|
|
30637
|
-
|
|
30638
|
-
|
|
30639
|
-
|
|
31020
|
+
light: "#ae2025",
|
|
31021
|
+
dark: "#f47c72",
|
|
31022
|
+
note: "Founder's Red: v2.5 has no orange status palette; use an outlined 'attention' look"
|
|
31023
|
+
},
|
|
31024
|
+
"warning-foreground": {
|
|
31025
|
+
light: "#ffffff",
|
|
31026
|
+
dark: "#2f3128"
|
|
30640
31027
|
},
|
|
30641
31028
|
info: {
|
|
30642
|
-
light: "#
|
|
30643
|
-
dark: "#
|
|
30644
|
-
|
|
30645
|
-
|
|
30646
|
-
|
|
30647
|
-
|
|
31029
|
+
light: "#1b373b",
|
|
31030
|
+
dark: "#8fd0d2",
|
|
31031
|
+
note: "Heritage Teal"
|
|
31032
|
+
},
|
|
31033
|
+
"info-foreground": {
|
|
31034
|
+
light: "#ffffff",
|
|
31035
|
+
dark: "#2f3128"
|
|
31036
|
+
},
|
|
31037
|
+
"content-bg": {
|
|
31038
|
+
light: "#fafafa",
|
|
31039
|
+
dark: "#35382e"
|
|
31040
|
+
},
|
|
31041
|
+
"surface-border": {
|
|
31042
|
+
light: "#000000",
|
|
31043
|
+
dark: "#9ca3af"
|
|
31044
|
+
},
|
|
31045
|
+
sidebar: {
|
|
31046
|
+
light: "#ffffff",
|
|
31047
|
+
dark: "#2f3128"
|
|
31048
|
+
},
|
|
31049
|
+
"sidebar-foreground": {
|
|
31050
|
+
light: "#50504f",
|
|
31051
|
+
dark: "#c2c5b1"
|
|
31052
|
+
},
|
|
31053
|
+
"sidebar-primary": {
|
|
31054
|
+
light: "#1b373b",
|
|
31055
|
+
dark: "#6cc0c2"
|
|
31056
|
+
},
|
|
31057
|
+
"sidebar-primary-foreground": {
|
|
31058
|
+
light: "#ffffff",
|
|
31059
|
+
dark: "#2f3128"
|
|
31060
|
+
},
|
|
31061
|
+
"sidebar-accent": {
|
|
31062
|
+
light: "#e1e2d8",
|
|
31063
|
+
dark: "#414438"
|
|
31064
|
+
},
|
|
31065
|
+
"sidebar-accent-foreground": {
|
|
31066
|
+
light: "#1b373b",
|
|
31067
|
+
dark: "#8fd0d2"
|
|
31068
|
+
},
|
|
31069
|
+
"sidebar-accent-hover": {
|
|
31070
|
+
light: "#f2f2ee",
|
|
31071
|
+
dark: "#35382e"
|
|
31072
|
+
},
|
|
31073
|
+
"sidebar-border": {
|
|
31074
|
+
light: "#000000",
|
|
31075
|
+
dark: "#9ca3af"
|
|
31076
|
+
},
|
|
31077
|
+
"sidebar-ring": {
|
|
31078
|
+
light: "#1b373b",
|
|
31079
|
+
dark: "#8fd0d2"
|
|
31080
|
+
},
|
|
31081
|
+
"chart-1": {
|
|
31082
|
+
light: "#1b373b",
|
|
31083
|
+
dark: "#8fd0d2"
|
|
31084
|
+
},
|
|
31085
|
+
"chart-2": {
|
|
31086
|
+
light: "#6c705b",
|
|
31087
|
+
dark: "#c2c5b1"
|
|
31088
|
+
},
|
|
31089
|
+
"chart-3": {
|
|
31090
|
+
light: "#34999c",
|
|
31091
|
+
dark: "#6cc0c2"
|
|
31092
|
+
},
|
|
31093
|
+
"chart-4": {
|
|
31094
|
+
light: "#c9a66e",
|
|
31095
|
+
dark: "#c9a66e"
|
|
31096
|
+
},
|
|
31097
|
+
"chart-5": {
|
|
31098
|
+
light: "#969a82",
|
|
31099
|
+
dark: "#969a82"
|
|
30648
31100
|
}
|
|
30649
31101
|
},
|
|
30650
31102
|
layout: {
|
|
30651
31103
|
contentBg: {
|
|
30652
31104
|
light: "#fafafa",
|
|
30653
|
-
dark: "
|
|
31105
|
+
dark: "#35382e",
|
|
30654
31106
|
note: "Main content background (slightly darker grey)"
|
|
30655
31107
|
},
|
|
30656
31108
|
surfaceBorder: {
|
|
30657
31109
|
light: "#000000",
|
|
30658
|
-
dark: "
|
|
31110
|
+
dark: "#9ca3af",
|
|
30659
31111
|
note: "CAD/drafter aesthetic"
|
|
30660
31112
|
}
|
|
30661
31113
|
},
|
|
30662
31114
|
status: {
|
|
30663
|
-
success: "#
|
|
30664
|
-
warning: "#
|
|
30665
|
-
error: "#
|
|
30666
|
-
info: "#
|
|
30667
|
-
note: "
|
|
31115
|
+
success: "#1b373b",
|
|
31116
|
+
warning: "#ae2025",
|
|
31117
|
+
error: "#ae2025",
|
|
31118
|
+
info: "#1b373b",
|
|
31119
|
+
note: "v2.5 has no green/orange status palette: positive and informational states use Heritage Teal, attention and errors use Founder's Red. Words, icons and outline-versus-fill carry the meaning. Badge variants: live, working, off, attention, critical, promo, count, quantity"
|
|
30668
31120
|
}
|
|
30669
31121
|
},
|
|
30670
31122
|
spacing: [
|
|
@@ -30921,9 +31373,9 @@ var token_definitions_default = {
|
|
|
30921
31373
|
h1: {
|
|
30922
31374
|
size: "2.5rem",
|
|
30923
31375
|
lineHeight: "2rem",
|
|
30924
|
-
fontWeight: "
|
|
31376
|
+
fontWeight: "400",
|
|
30925
31377
|
fontFamily: "serif (Spectral)",
|
|
30926
|
-
fontStyle: "
|
|
31378
|
+
fontStyle: "normal",
|
|
30927
31379
|
pixels: "40px"
|
|
30928
31380
|
},
|
|
30929
31381
|
h2: {
|
|
@@ -31148,7 +31600,17 @@ var token_definitions_default = {
|
|
|
31148
31600
|
"warning",
|
|
31149
31601
|
"info",
|
|
31150
31602
|
"content-bg",
|
|
31151
|
-
"surface-border"
|
|
31603
|
+
"surface-border",
|
|
31604
|
+
"primary-active",
|
|
31605
|
+
"promo",
|
|
31606
|
+
"live",
|
|
31607
|
+
"link",
|
|
31608
|
+
"nav-active",
|
|
31609
|
+
"nav-hover",
|
|
31610
|
+
"row-zebra",
|
|
31611
|
+
"row-hover",
|
|
31612
|
+
"row-hover-zebra",
|
|
31613
|
+
"row-selected"
|
|
31152
31614
|
],
|
|
31153
31615
|
colorVariants: {
|
|
31154
31616
|
withForeground: [
|
|
@@ -31198,7 +31660,7 @@ var token_definitions_default = {
|
|
|
31198
31660
|
"chart-4",
|
|
31199
31661
|
"chart-5"
|
|
31200
31662
|
],
|
|
31201
|
-
note: "
|
|
31663
|
+
note: "Heritage Teal, Moss, Accent Teal, Pike's Gold, Base Sage (v2.5). No red in chart series"
|
|
31202
31664
|
},
|
|
31203
31665
|
brandUtilities: {
|
|
31204
31666
|
description: "Direct brand color access via CSS variables (hex values)",
|
|
@@ -31207,12 +31669,12 @@ var token_definitions_default = {
|
|
|
31207
31669
|
"brand-red-primary",
|
|
31208
31670
|
"brand-grey-1",
|
|
31209
31671
|
"brand-grey-2",
|
|
31210
|
-
"brand-core-1",
|
|
31672
|
+
"brand-core-1 (deprecated)",
|
|
31211
31673
|
"brand-core-2",
|
|
31212
31674
|
"brand-core-3",
|
|
31213
31675
|
"brand-core-4",
|
|
31214
31676
|
"brand-core-4-tint",
|
|
31215
|
-
"brand-collection-1",
|
|
31677
|
+
"brand-collection-1 (deprecated: use ch-collection-*)",
|
|
31216
31678
|
"brand-collection-2",
|
|
31217
31679
|
"brand-collection-3",
|
|
31218
31680
|
"brand-collection-4",
|
|
@@ -31220,6 +31682,36 @@ var token_definitions_default = {
|
|
|
31220
31682
|
"brand-collection-6"
|
|
31221
31683
|
],
|
|
31222
31684
|
pattern: "var(--color-{name}) e.g., var(--color-red-logo)"
|
|
31685
|
+
},
|
|
31686
|
+
chUtilities: {
|
|
31687
|
+
description: "Digital Color Reference v2.5 palette by its exact names (hex). Prefer semantic colours (primary, promo, muted\u2026) in components",
|
|
31688
|
+
utilities: [
|
|
31689
|
+
"ch-spark",
|
|
31690
|
+
"ch-white",
|
|
31691
|
+
"ch-paper",
|
|
31692
|
+
"ch-linen",
|
|
31693
|
+
"ch-lichen",
|
|
31694
|
+
"ch-sage500",
|
|
31695
|
+
"ch-sage600",
|
|
31696
|
+
"ch-sage700",
|
|
31697
|
+
"ch-sage900",
|
|
31698
|
+
"ch-grey01",
|
|
31699
|
+
"ch-grey02",
|
|
31700
|
+
"ch-heritage-teal",
|
|
31701
|
+
"ch-heritage-teal-lift",
|
|
31702
|
+
"ch-accent-teal",
|
|
31703
|
+
"ch-accent-teal100",
|
|
31704
|
+
"ch-founders-red",
|
|
31705
|
+
"ch-founders-red-dark",
|
|
31706
|
+
"ch-pikes-gold",
|
|
31707
|
+
"ch-collection-preamble",
|
|
31708
|
+
"ch-collection-cadence",
|
|
31709
|
+
"ch-collection-portrait",
|
|
31710
|
+
"ch-collection-midtown",
|
|
31711
|
+
"ch-collection-four-square",
|
|
31712
|
+
"ch-collection-classic"
|
|
31713
|
+
],
|
|
31714
|
+
pattern: "bg-ch-{name} / var(--ch-{name}) e.g., bg-ch-paper, var(--ch-heritage-teal)"
|
|
31223
31715
|
}
|
|
31224
31716
|
}
|
|
31225
31717
|
};
|
|
@@ -31267,7 +31759,7 @@ function registerTokenResources(server) {
|
|
|
31267
31759
|
|
|
31268
31760
|
// src/data/styles-catalog.json
|
|
31269
31761
|
var styles_catalog_default = {
|
|
31270
|
-
version: "0.6.
|
|
31762
|
+
version: "0.6.2",
|
|
31271
31763
|
package: "@classic-homes/theme-styles",
|
|
31272
31764
|
description: "Base CSS styles, accessibility features, and utility classes for the Classic Theme design system",
|
|
31273
31765
|
integration: {
|
|
@@ -31579,7 +32071,7 @@ var styles_catalog_default = {
|
|
|
31579
32071
|
|
|
31580
32072
|
// src/data/components-css-catalog.json
|
|
31581
32073
|
var components_css_catalog_default = {
|
|
31582
|
-
version: "0.6.
|
|
32074
|
+
version: "0.6.2",
|
|
31583
32075
|
stylesheet: "@classic-homes/theme-styles/components.css",
|
|
31584
32076
|
requires: [
|
|
31585
32077
|
"@classic-homes/theme-tokens/css"
|
|
@@ -31605,6 +32097,14 @@ var components_css_catalog_default = {
|
|
|
31605
32097
|
option: "secondary",
|
|
31606
32098
|
isDefault: false
|
|
31607
32099
|
},
|
|
32100
|
+
{
|
|
32101
|
+
recipe: "button",
|
|
32102
|
+
className: "ch-btn-promo",
|
|
32103
|
+
kind: "modifier",
|
|
32104
|
+
axis: "variant",
|
|
32105
|
+
option: "promo",
|
|
32106
|
+
isDefault: false
|
|
32107
|
+
},
|
|
31608
32108
|
{
|
|
31609
32109
|
recipe: "button",
|
|
31610
32110
|
className: "ch-btn-destructive",
|
|
@@ -31684,18 +32184,74 @@ var components_css_catalog_default = {
|
|
|
31684
32184
|
},
|
|
31685
32185
|
{
|
|
31686
32186
|
recipe: "badge",
|
|
31687
|
-
className: "ch-badge-
|
|
32187
|
+
className: "ch-badge-outline",
|
|
31688
32188
|
kind: "modifier",
|
|
31689
32189
|
axis: "variant",
|
|
31690
|
-
option: "
|
|
32190
|
+
option: "outline",
|
|
31691
32191
|
isDefault: false
|
|
31692
32192
|
},
|
|
31693
32193
|
{
|
|
31694
32194
|
recipe: "badge",
|
|
31695
|
-
className: "ch-badge-
|
|
32195
|
+
className: "ch-badge-live",
|
|
31696
32196
|
kind: "modifier",
|
|
31697
32197
|
axis: "variant",
|
|
31698
|
-
option: "
|
|
32198
|
+
option: "live",
|
|
32199
|
+
isDefault: false
|
|
32200
|
+
},
|
|
32201
|
+
{
|
|
32202
|
+
recipe: "badge",
|
|
32203
|
+
className: "ch-badge-working",
|
|
32204
|
+
kind: "modifier",
|
|
32205
|
+
axis: "variant",
|
|
32206
|
+
option: "working",
|
|
32207
|
+
isDefault: false
|
|
32208
|
+
},
|
|
32209
|
+
{
|
|
32210
|
+
recipe: "badge",
|
|
32211
|
+
className: "ch-badge-off",
|
|
32212
|
+
kind: "modifier",
|
|
32213
|
+
axis: "variant",
|
|
32214
|
+
option: "off",
|
|
32215
|
+
isDefault: false
|
|
32216
|
+
},
|
|
32217
|
+
{
|
|
32218
|
+
recipe: "badge",
|
|
32219
|
+
className: "ch-badge-attention",
|
|
32220
|
+
kind: "modifier",
|
|
32221
|
+
axis: "variant",
|
|
32222
|
+
option: "attention",
|
|
32223
|
+
isDefault: false
|
|
32224
|
+
},
|
|
32225
|
+
{
|
|
32226
|
+
recipe: "badge",
|
|
32227
|
+
className: "ch-badge-critical",
|
|
32228
|
+
kind: "modifier",
|
|
32229
|
+
axis: "variant",
|
|
32230
|
+
option: "critical",
|
|
32231
|
+
isDefault: false
|
|
32232
|
+
},
|
|
32233
|
+
{
|
|
32234
|
+
recipe: "badge",
|
|
32235
|
+
className: "ch-badge-promo",
|
|
32236
|
+
kind: "modifier",
|
|
32237
|
+
axis: "variant",
|
|
32238
|
+
option: "promo",
|
|
32239
|
+
isDefault: false
|
|
32240
|
+
},
|
|
32241
|
+
{
|
|
32242
|
+
recipe: "badge",
|
|
32243
|
+
className: "ch-badge-count",
|
|
32244
|
+
kind: "modifier",
|
|
32245
|
+
axis: "variant",
|
|
32246
|
+
option: "count",
|
|
32247
|
+
isDefault: false
|
|
32248
|
+
},
|
|
32249
|
+
{
|
|
32250
|
+
recipe: "badge",
|
|
32251
|
+
className: "ch-badge-quantity",
|
|
32252
|
+
kind: "modifier",
|
|
32253
|
+
axis: "variant",
|
|
32254
|
+
option: "quantity",
|
|
31699
32255
|
isDefault: false
|
|
31700
32256
|
},
|
|
31701
32257
|
{
|
|
@@ -31706,6 +32262,14 @@ var components_css_catalog_default = {
|
|
|
31706
32262
|
option: "success",
|
|
31707
32263
|
isDefault: false
|
|
31708
32264
|
},
|
|
32265
|
+
{
|
|
32266
|
+
recipe: "badge",
|
|
32267
|
+
className: "ch-badge-info",
|
|
32268
|
+
kind: "modifier",
|
|
32269
|
+
axis: "variant",
|
|
32270
|
+
option: "info",
|
|
32271
|
+
isDefault: false
|
|
32272
|
+
},
|
|
31709
32273
|
{
|
|
31710
32274
|
recipe: "badge",
|
|
31711
32275
|
className: "ch-badge-warning",
|
|
@@ -31716,10 +32280,10 @@ var components_css_catalog_default = {
|
|
|
31716
32280
|
},
|
|
31717
32281
|
{
|
|
31718
32282
|
recipe: "badge",
|
|
31719
|
-
className: "ch-badge-
|
|
32283
|
+
className: "ch-badge-destructive",
|
|
31720
32284
|
kind: "modifier",
|
|
31721
32285
|
axis: "variant",
|
|
31722
|
-
option: "
|
|
32286
|
+
option: "destructive",
|
|
31723
32287
|
isDefault: false
|
|
31724
32288
|
},
|
|
31725
32289
|
{
|
|
@@ -32397,6 +32961,14 @@ var components_css_catalog_default = {
|
|
|
32397
32961
|
className: "ch-table-row",
|
|
32398
32962
|
kind: "block"
|
|
32399
32963
|
},
|
|
32964
|
+
{
|
|
32965
|
+
recipe: "tableRow",
|
|
32966
|
+
className: "ch-table-row-striped",
|
|
32967
|
+
kind: "modifier",
|
|
32968
|
+
axis: "striped",
|
|
32969
|
+
option: "true",
|
|
32970
|
+
isDefault: false
|
|
32971
|
+
},
|
|
32400
32972
|
{
|
|
32401
32973
|
recipe: "tableRow",
|
|
32402
32974
|
className: "ch-table-row-interactive",
|
|
@@ -32760,12 +33332,13 @@ var components_css_catalog_default = {
|
|
|
32760
33332
|
base: "inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-lg text-sm font-medium ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50",
|
|
32761
33333
|
variants: {
|
|
32762
33334
|
variant: {
|
|
32763
|
-
default: "bg-primary text-primary-foreground shadow hover:bg-primary-
|
|
32764
|
-
secondary: "border-2 border-secondary-border bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary-hover",
|
|
32765
|
-
|
|
32766
|
-
|
|
33335
|
+
default: "bg-primary text-primary-foreground shadow underline-offset-4 hover:underline active:bg-primary-active",
|
|
33336
|
+
secondary: "border-2 border-secondary-border bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary-hover active:bg-muted-hover",
|
|
33337
|
+
promo: "bg-promo text-promo-foreground shadow-sm hover:bg-promo-hover active:bg-promo-hover",
|
|
33338
|
+
destructive: "bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive-hover",
|
|
33339
|
+
outline: "border-2 border-outline bg-transparent text-foreground hover:bg-muted",
|
|
32767
33340
|
ghost: "hover:bg-muted-hover hover:text-foreground",
|
|
32768
|
-
link: "text-
|
|
33341
|
+
link: "text-link underline underline-offset-4 hover:decoration-2"
|
|
32769
33342
|
},
|
|
32770
33343
|
size: {
|
|
32771
33344
|
default: "h-10 px-4 py-2",
|
|
@@ -32786,20 +33359,28 @@ var components_css_catalog_default = {
|
|
|
32786
33359
|
variants: {
|
|
32787
33360
|
variant: {
|
|
32788
33361
|
default: "border-transparent bg-primary text-primary-foreground",
|
|
32789
|
-
secondary: "border-
|
|
32790
|
-
destructive: "border-transparent bg-destructive text-destructive-foreground",
|
|
33362
|
+
secondary: "border-secondary-border bg-secondary text-secondary-foreground",
|
|
32791
33363
|
outline: "text-foreground",
|
|
32792
|
-
|
|
32793
|
-
|
|
32794
|
-
|
|
33364
|
+
live: "border-transparent bg-live text-live-foreground font-bold",
|
|
33365
|
+
working: "border-transparent bg-accent text-accent-foreground font-bold",
|
|
33366
|
+
off: "border-outline-hover bg-background text-foreground font-bold",
|
|
33367
|
+
attention: "border-destructive bg-background text-destructive font-bold",
|
|
33368
|
+
critical: "border-transparent bg-destructive text-destructive-foreground font-bold",
|
|
33369
|
+
promo: "border-promo bg-background text-promo font-bold uppercase tracking-[0.07em]",
|
|
33370
|
+
count: "rounded-full border-transparent bg-promo text-promo-foreground font-bold",
|
|
33371
|
+
quantity: "border-transparent bg-accent text-accent-foreground font-bold",
|
|
33372
|
+
success: "border-transparent bg-live text-live-foreground font-bold",
|
|
33373
|
+
info: "border-transparent bg-live text-live-foreground font-bold",
|
|
33374
|
+
warning: "border-destructive bg-background text-destructive font-bold",
|
|
33375
|
+
destructive: "border-transparent bg-destructive text-destructive-foreground font-bold"
|
|
32795
33376
|
},
|
|
32796
33377
|
size: {
|
|
32797
33378
|
default: "px-2 py-0.5 text-xs",
|
|
32798
33379
|
sm: "px-1.5 py-0.5 text-xs",
|
|
32799
|
-
dot: "h-5 w-5
|
|
33380
|
+
dot: "h-5 min-w-5 px-1.5 py-0 text-xs"
|
|
32800
33381
|
},
|
|
32801
33382
|
clickable: {
|
|
32802
|
-
true: "cursor-pointer focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",
|
|
33383
|
+
true: "cursor-pointer underline-offset-2 hover:underline focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",
|
|
32803
33384
|
false: ""
|
|
32804
33385
|
}
|
|
32805
33386
|
},
|
|
@@ -32824,25 +33405,40 @@ var components_css_catalog_default = {
|
|
|
32824
33405
|
clickable: true,
|
|
32825
33406
|
class: "hover:bg-destructive-hover"
|
|
32826
33407
|
},
|
|
33408
|
+
{
|
|
33409
|
+
variant: "critical",
|
|
33410
|
+
clickable: true,
|
|
33411
|
+
class: "hover:bg-destructive-hover"
|
|
33412
|
+
},
|
|
33413
|
+
{
|
|
33414
|
+
variant: "count",
|
|
33415
|
+
clickable: true,
|
|
33416
|
+
class: "hover:bg-promo-hover"
|
|
33417
|
+
},
|
|
32827
33418
|
{
|
|
32828
33419
|
variant: "outline",
|
|
32829
33420
|
clickable: true,
|
|
32830
|
-
class: "hover:bg-
|
|
33421
|
+
class: "hover:bg-muted"
|
|
32831
33422
|
},
|
|
32832
33423
|
{
|
|
32833
|
-
variant: "
|
|
33424
|
+
variant: "off",
|
|
32834
33425
|
clickable: true,
|
|
32835
|
-
class: "hover:bg-
|
|
33426
|
+
class: "hover:bg-muted"
|
|
33427
|
+
},
|
|
33428
|
+
{
|
|
33429
|
+
variant: "attention",
|
|
33430
|
+
clickable: true,
|
|
33431
|
+
class: "hover:bg-muted"
|
|
32836
33432
|
},
|
|
32837
33433
|
{
|
|
32838
33434
|
variant: "warning",
|
|
32839
33435
|
clickable: true,
|
|
32840
|
-
class: "hover:bg-
|
|
33436
|
+
class: "hover:bg-muted"
|
|
32841
33437
|
},
|
|
32842
33438
|
{
|
|
32843
|
-
variant: "
|
|
33439
|
+
variant: "promo",
|
|
32844
33440
|
clickable: true,
|
|
32845
|
-
class: "hover:bg-
|
|
33441
|
+
class: "hover:bg-muted"
|
|
32846
33442
|
}
|
|
32847
33443
|
]
|
|
32848
33444
|
},
|
|
@@ -32857,8 +33453,8 @@ var components_css_catalog_default = {
|
|
|
32857
33453
|
variant: {
|
|
32858
33454
|
default: "border",
|
|
32859
33455
|
featured: "border-2",
|
|
32860
|
-
highlight: "border-2 border-
|
|
32861
|
-
warning: "border-2 border-
|
|
33456
|
+
highlight: "border-2 border-primary",
|
|
33457
|
+
warning: "border-2 border-destructive"
|
|
32862
33458
|
},
|
|
32863
33459
|
interactive: {
|
|
32864
33460
|
true: "hover:shadow-lg transition-shadow duration-200",
|
|
@@ -32915,12 +33511,12 @@ var components_css_catalog_default = {
|
|
|
32915
33511
|
base: "relative w-full rounded-lg border p-4 [&>svg~*]:pl-7 [&>svg+div]:translate-y-[-3px] [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg]:text-foreground",
|
|
32916
33512
|
variants: {
|
|
32917
33513
|
variant: {
|
|
32918
|
-
default: "bg-
|
|
32919
|
-
destructive: "bg-
|
|
32920
|
-
error: "bg-
|
|
32921
|
-
success: "bg-
|
|
32922
|
-
warning: "bg-
|
|
32923
|
-
info: "bg-
|
|
33514
|
+
default: "bg-background border-accent text-foreground",
|
|
33515
|
+
destructive: "bg-background border-2 border-destructive text-foreground [&>svg]:text-destructive",
|
|
33516
|
+
error: "bg-background border-2 border-destructive text-foreground [&>svg]:text-destructive",
|
|
33517
|
+
success: "bg-background border-2 border-success text-foreground [&>svg]:text-success",
|
|
33518
|
+
warning: "bg-background border-2 border-warning text-foreground [&>svg]:text-warning",
|
|
33519
|
+
info: "bg-background border-2 border-info text-foreground [&>svg]:text-info"
|
|
32924
33520
|
}
|
|
32925
33521
|
},
|
|
32926
33522
|
defaultVariants: {
|
|
@@ -32944,7 +33540,7 @@ var components_css_catalog_default = {
|
|
|
32944
33540
|
base: "flex h-10 w-full rounded-md border border-input bg-background text-foreground px-3 py-2 text-base sm:text-sm ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-50",
|
|
32945
33541
|
variants: {
|
|
32946
33542
|
invalid: {
|
|
32947
|
-
true: "border-
|
|
33543
|
+
true: "border-2 border-destructive",
|
|
32948
33544
|
false: ""
|
|
32949
33545
|
}
|
|
32950
33546
|
},
|
|
@@ -32957,7 +33553,7 @@ var components_css_catalog_default = {
|
|
|
32957
33553
|
base: "flex min-h-[80px] w-full rounded-md border border-input bg-background text-foreground px-3 py-2 text-base sm:text-sm ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 placeholder:text-gray-500 dark:placeholder:text-gray-400 disabled:cursor-not-allowed disabled:opacity-50 resize-y",
|
|
32958
33554
|
variants: {
|
|
32959
33555
|
invalid: {
|
|
32960
|
-
true: "border-
|
|
33556
|
+
true: "border-2 border-destructive",
|
|
32961
33557
|
false: ""
|
|
32962
33558
|
}
|
|
32963
33559
|
},
|
|
@@ -32983,7 +33579,7 @@ var components_css_catalog_default = {
|
|
|
32983
33579
|
base: "flex h-10 w-full items-center justify-between rounded-md border border-input bg-background text-foreground px-3 py-2 text-sm ring-offset-background placeholder:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1",
|
|
32984
33580
|
variants: {
|
|
32985
33581
|
invalid: {
|
|
32986
|
-
true: "border-
|
|
33582
|
+
true: "border-2 border-destructive",
|
|
32987
33583
|
false: ""
|
|
32988
33584
|
}
|
|
32989
33585
|
},
|
|
@@ -33250,7 +33846,7 @@ var components_css_catalog_default = {
|
|
|
33250
33846
|
compoundVariants: []
|
|
33251
33847
|
},
|
|
33252
33848
|
tableHeader: {
|
|
33253
|
-
base: "border-b bg-
|
|
33849
|
+
base: "border-b bg-accent",
|
|
33254
33850
|
variants: {},
|
|
33255
33851
|
defaultVariants: {},
|
|
33256
33852
|
compoundVariants: []
|
|
@@ -33264,23 +33860,35 @@ var components_css_catalog_default = {
|
|
|
33264
33860
|
tableRow: {
|
|
33265
33861
|
base: "bg-card",
|
|
33266
33862
|
variants: {
|
|
33863
|
+
striped: {
|
|
33864
|
+
true: "even:bg-row-zebra",
|
|
33865
|
+
false: ""
|
|
33866
|
+
},
|
|
33267
33867
|
interactive: {
|
|
33268
|
-
true: "cursor-pointer hover:bg-
|
|
33868
|
+
true: "cursor-pointer hover:bg-row-hover",
|
|
33269
33869
|
false: ""
|
|
33270
33870
|
},
|
|
33271
33871
|
selected: {
|
|
33272
|
-
true: "bg-primary
|
|
33872
|
+
true: "bg-row-selected even:bg-row-selected hover:bg-row-selected font-semibold [&>td:first-child]:shadow-[inset_3px_0_0_hsl(var(--primary))]",
|
|
33273
33873
|
false: ""
|
|
33274
33874
|
}
|
|
33275
33875
|
},
|
|
33276
33876
|
defaultVariants: {
|
|
33877
|
+
striped: false,
|
|
33277
33878
|
interactive: false,
|
|
33278
33879
|
selected: false
|
|
33279
33880
|
},
|
|
33280
|
-
compoundVariants: [
|
|
33881
|
+
compoundVariants: [
|
|
33882
|
+
{
|
|
33883
|
+
striped: true,
|
|
33884
|
+
interactive: true,
|
|
33885
|
+
selected: false,
|
|
33886
|
+
class: "hover:bg-row-hover-zebra"
|
|
33887
|
+
}
|
|
33888
|
+
]
|
|
33281
33889
|
},
|
|
33282
33890
|
tableHead: {
|
|
33283
|
-
base: "px-4 py-3 font-
|
|
33891
|
+
base: "px-4 py-3 font-semibold text-foreground",
|
|
33284
33892
|
variants: {
|
|
33285
33893
|
align: {
|
|
33286
33894
|
left: "text-left",
|
|
@@ -33393,7 +34001,7 @@ var components_css_catalog_default = {
|
|
|
33393
34001
|
false: "border border-input rounded-md"
|
|
33394
34002
|
},
|
|
33395
34003
|
invalid: {
|
|
33396
|
-
true: "border-
|
|
34004
|
+
true: "border-2 border-destructive",
|
|
33397
34005
|
false: ""
|
|
33398
34006
|
}
|
|
33399
34007
|
},
|
|
@@ -33623,7 +34231,7 @@ import { ResourceTemplate as ResourceTemplate2 } from "@modelcontextprotocol/sdk
|
|
|
33623
34231
|
|
|
33624
34232
|
// src/data/pattern-library.json
|
|
33625
34233
|
var pattern_library_default = {
|
|
33626
|
-
version: "0.6.
|
|
34234
|
+
version: "0.6.2",
|
|
33627
34235
|
layouts: [
|
|
33628
34236
|
{
|
|
33629
34237
|
id: "dashboard-page",
|
|
@@ -34717,7 +35325,7 @@ function registerLayoutResources(server) {
|
|
|
34717
35325
|
|
|
34718
35326
|
// src/data/schema-catalog.json
|
|
34719
35327
|
var schema_catalog_default = {
|
|
34720
|
-
version: "0.6.
|
|
35328
|
+
version: "0.6.2",
|
|
34721
35329
|
packageName: "@classic-homes/theme-svelte",
|
|
34722
35330
|
importPath: "@classic-homes/theme-svelte",
|
|
34723
35331
|
generatedFrom: "packages/svelte/src/lib/schemas/index.ts",
|
|
@@ -35525,7 +36133,7 @@ import { ResourceTemplate as ResourceTemplate3 } from "@modelcontextprotocol/sdk
|
|
|
35525
36133
|
|
|
35526
36134
|
// src/data/auth-catalog.json
|
|
35527
36135
|
var auth_catalog_default = {
|
|
35528
|
-
version: "0.6.
|
|
36136
|
+
version: "0.6.2",
|
|
35529
36137
|
packageName: "@classic-homes/auth",
|
|
35530
36138
|
description: "Authentication services and Svelte bindings for Classic Theme apps",
|
|
35531
36139
|
subpackages: {
|
|
@@ -38832,7 +39440,7 @@ import { ResourceTemplate as ResourceTemplate4 } from "@modelcontextprotocol/sdk
|
|
|
38832
39440
|
|
|
38833
39441
|
// src/data/notifications-catalog.json
|
|
38834
39442
|
var notifications_catalog_default = {
|
|
38835
|
-
version: "0.6.
|
|
39443
|
+
version: "0.6.2",
|
|
38836
39444
|
packageName: "@classic-homes/notifications",
|
|
38837
39445
|
description: "Notification services and Svelte bindings for Classic Theme apps",
|
|
38838
39446
|
subpackages: {
|
|
@@ -39744,7 +40352,7 @@ function registerNotificationsResources(server) {
|
|
|
39744
40352
|
|
|
39745
40353
|
// src/data/docs-catalog.json
|
|
39746
40354
|
var docs_catalog_default = {
|
|
39747
|
-
version: "0.6.
|
|
40355
|
+
version: "0.6.2",
|
|
39748
40356
|
packageName: "@classic-homes/theme-docs",
|
|
39749
40357
|
description: "Markdown documentation components for the Classic theme system",
|
|
39750
40358
|
exports: {
|
|
@@ -41249,7 +41857,7 @@ var docs_catalog_default = {
|
|
|
41249
41857
|
clsx: "^2.1.0",
|
|
41250
41858
|
dompurify: "3.4.16",
|
|
41251
41859
|
"js-yaml": "^4.3.2",
|
|
41252
|
-
marked: "^17.0.0",
|
|
41860
|
+
marked: "^17.0.0 || ^18.0.0",
|
|
41253
41861
|
minisearch: "7.2.0",
|
|
41254
41862
|
"prosemirror-commands": "1.7.2",
|
|
41255
41863
|
"prosemirror-history": "1.5.1",
|
|
@@ -41422,7 +42030,7 @@ function registerDocsResources(server) {
|
|
|
41422
42030
|
|
|
41423
42031
|
// src/data/charts-catalog.json
|
|
41424
42032
|
var charts_catalog_default = {
|
|
41425
|
-
version: "0.6.
|
|
42033
|
+
version: "0.6.2",
|
|
41426
42034
|
packageName: "@classic-homes/charts-core",
|
|
41427
42035
|
description: "Core utilities, types, and themes for Classic Theme chart components",
|
|
41428
42036
|
subpackages: {
|
|
@@ -45074,58 +45682,58 @@ var charts_catalog_default = {
|
|
|
45074
45682
|
}
|
|
45075
45683
|
},
|
|
45076
45684
|
themeDetails: {
|
|
45077
|
-
description: "Theme color mappings from design tokens",
|
|
45685
|
+
description: "Theme color mappings from design tokens (Digital Color Reference v2.5). No red in series: red means error/attention",
|
|
45078
45686
|
lightTheme: {
|
|
45079
45687
|
chartColors: [
|
|
45080
45688
|
{
|
|
45081
45689
|
index: 1,
|
|
45082
|
-
token: "
|
|
45083
|
-
description: "
|
|
45690
|
+
token: "semanticColors.light.chart[1] = ch.heritageTeal (#1b373b)",
|
|
45691
|
+
description: "Heritage Teal"
|
|
45084
45692
|
},
|
|
45085
45693
|
{
|
|
45086
45694
|
index: 2,
|
|
45087
|
-
token: "
|
|
45088
|
-
description: "
|
|
45695
|
+
token: "semanticColors.light.chart[2] = ch.sage700 (#6c705b)",
|
|
45696
|
+
description: "Moss"
|
|
45089
45697
|
},
|
|
45090
45698
|
{
|
|
45091
45699
|
index: 3,
|
|
45092
|
-
token: "
|
|
45093
|
-
description: "
|
|
45700
|
+
token: "semanticColors.light.chart[3] = ch.accentTeal (#34999c)",
|
|
45701
|
+
description: "Accent Teal"
|
|
45094
45702
|
},
|
|
45095
45703
|
{
|
|
45096
45704
|
index: 4,
|
|
45097
|
-
token: "
|
|
45098
|
-
description: "
|
|
45705
|
+
token: "semanticColors.light.chart[4] = ch.pikesGold (#c9a66e)",
|
|
45706
|
+
description: "Pike's Gold"
|
|
45099
45707
|
},
|
|
45100
45708
|
{
|
|
45101
45709
|
index: 5,
|
|
45102
|
-
token: "
|
|
45103
|
-
description: "
|
|
45710
|
+
token: "semanticColors.light.chart[5] = ch.sage500 (#969a82)",
|
|
45711
|
+
description: "Base Sage"
|
|
45104
45712
|
},
|
|
45105
45713
|
{
|
|
45106
45714
|
index: 6,
|
|
45107
|
-
token: "
|
|
45108
|
-
description: "Extended palette"
|
|
45715
|
+
token: "ch.collection.classic (#2b4660)",
|
|
45716
|
+
description: "Extended palette: Steel Navy"
|
|
45109
45717
|
},
|
|
45110
45718
|
{
|
|
45111
45719
|
index: 7,
|
|
45112
|
-
token: "
|
|
45113
|
-
description: "Extended palette"
|
|
45720
|
+
token: "ch.collection.portrait (#6a5280)",
|
|
45721
|
+
description: "Extended palette: Aubergine"
|
|
45114
45722
|
},
|
|
45115
45723
|
{
|
|
45116
45724
|
index: 8,
|
|
45117
|
-
token: "
|
|
45118
|
-
description: "Extended palette"
|
|
45725
|
+
token: "ch.collection.fourSquare (#7a5837)",
|
|
45726
|
+
description: "Extended palette: Tobacco"
|
|
45119
45727
|
},
|
|
45120
45728
|
{
|
|
45121
45729
|
index: 9,
|
|
45122
|
-
token: "
|
|
45123
|
-
description: "Extended palette"
|
|
45730
|
+
token: "ch.collection.preamble (#4a8a6f)",
|
|
45731
|
+
description: "Extended palette: Warm Jade"
|
|
45124
45732
|
},
|
|
45125
45733
|
{
|
|
45126
45734
|
index: 10,
|
|
45127
|
-
token: "
|
|
45128
|
-
description: "Extended palette"
|
|
45735
|
+
token: "ch.sage900 (#2f3128)",
|
|
45736
|
+
description: "Extended palette: Forest"
|
|
45129
45737
|
}
|
|
45130
45738
|
],
|
|
45131
45739
|
semanticMappings: {
|
|
@@ -45140,33 +45748,33 @@ var charts_catalog_default = {
|
|
|
45140
45748
|
chartColors: [
|
|
45141
45749
|
{
|
|
45142
45750
|
index: 1,
|
|
45143
|
-
token: "
|
|
45144
|
-
description: "
|
|
45751
|
+
token: "semanticColors.dark.chart[1] (#8fd0d2)",
|
|
45752
|
+
description: "Light teal"
|
|
45145
45753
|
},
|
|
45146
45754
|
{
|
|
45147
45755
|
index: 2,
|
|
45148
|
-
token: "
|
|
45149
|
-
description: "
|
|
45756
|
+
token: "semanticColors.dark.chart[2] = ch.lichen (#c2c5b1)",
|
|
45757
|
+
description: "Lichen"
|
|
45150
45758
|
},
|
|
45151
45759
|
{
|
|
45152
45760
|
index: 3,
|
|
45153
|
-
token: "
|
|
45154
|
-
description: "
|
|
45761
|
+
token: "semanticColors.dark.chart[3] (#6cc0c2)",
|
|
45762
|
+
description: "Teal"
|
|
45155
45763
|
},
|
|
45156
45764
|
{
|
|
45157
45765
|
index: 4,
|
|
45158
|
-
token: "
|
|
45159
|
-
description: "
|
|
45766
|
+
token: "semanticColors.dark.chart[4] = ch.pikesGold (#c9a66e)",
|
|
45767
|
+
description: "Pike's Gold"
|
|
45160
45768
|
},
|
|
45161
45769
|
{
|
|
45162
45770
|
index: 5,
|
|
45163
|
-
token: "
|
|
45164
|
-
description: "
|
|
45771
|
+
token: "semanticColors.dark.chart[5] = ch.sage500 (#969a82)",
|
|
45772
|
+
description: "Base Sage"
|
|
45165
45773
|
},
|
|
45166
45774
|
{
|
|
45167
45775
|
index: 6,
|
|
45168
|
-
token: "
|
|
45169
|
-
description: "Extended palette"
|
|
45776
|
+
token: "sky[400]",
|
|
45777
|
+
description: "Extended palette (lighter, readable on Forest)"
|
|
45170
45778
|
},
|
|
45171
45779
|
{
|
|
45172
45780
|
index: 7,
|
|
@@ -45175,17 +45783,17 @@ var charts_catalog_default = {
|
|
|
45175
45783
|
},
|
|
45176
45784
|
{
|
|
45177
45785
|
index: 8,
|
|
45178
|
-
token: "
|
|
45786
|
+
token: "forest[400]",
|
|
45179
45787
|
description: "Extended palette"
|
|
45180
45788
|
},
|
|
45181
45789
|
{
|
|
45182
45790
|
index: 9,
|
|
45183
|
-
token: "sage[
|
|
45791
|
+
token: "sage[300]",
|
|
45184
45792
|
description: "Extended palette"
|
|
45185
45793
|
},
|
|
45186
45794
|
{
|
|
45187
45795
|
index: 10,
|
|
45188
|
-
token: "
|
|
45796
|
+
token: "stone[300]",
|
|
45189
45797
|
description: "Extended palette"
|
|
45190
45798
|
}
|
|
45191
45799
|
],
|
|
@@ -45660,7 +46268,7 @@ interface SankeyData {
|
|
|
45660
46268
|
|
|
45661
46269
|
// src/data/gantt-catalog.json
|
|
45662
46270
|
var gantt_catalog_default = {
|
|
45663
|
-
version: "0.6.
|
|
46271
|
+
version: "0.6.2",
|
|
45664
46272
|
packageName: "@classic-homes/gantt-core",
|
|
45665
46273
|
description: "Framework-agnostic Gantt engine: working calendars, a critical-path scheduler, an editable project model with undo/redo, timeline geometry, drag math, accessible descriptions and import/export. No DOM, no framework, no runtime dependencies. @classic-homes/gantt-svelte renders it; a React package (@classic-homes/gantt-react) is planned.",
|
|
45666
46274
|
packages: {
|
|
@@ -46643,7 +47251,7 @@ function registerGanttResources(server) {
|
|
|
46643
47251
|
|
|
46644
47252
|
// src/data/maps-catalog.json
|
|
46645
47253
|
var maps_catalog_default = {
|
|
46646
|
-
version: "0.6.
|
|
47254
|
+
version: "0.6.2",
|
|
46647
47255
|
packageName: "@classic-homes/maps-core",
|
|
46648
47256
|
description: "Core utilities, types, and themes for Classic Theme MapLibre GL components",
|
|
46649
47257
|
subpackages: {
|
|
@@ -52275,7 +52883,7 @@ ${catalog6.quickReference.tailwindConfig}
|
|
|
52275
52883
|
|
|
52276
52884
|
// src/data/native-catalog.json
|
|
52277
52885
|
var native_catalog_default = {
|
|
52278
|
-
version: "0.6.
|
|
52886
|
+
version: "0.6.2",
|
|
52279
52887
|
packageName: "@classic-homes/native",
|
|
52280
52888
|
description: "Native device APIs for iOS and Android apps (Capacitor) and Windows, macOS and Linux desktop apps (Tauri v2), with web fallbacks.",
|
|
52281
52889
|
subpackages: {
|
|
@@ -52360,6 +52968,30 @@ var native_catalog_default = {
|
|
|
52360
52968
|
signature: "detectAvailableFeatures(): Promise<{ available: NativeFeature[]; unavailable: NativeFeature[] }>",
|
|
52361
52969
|
description: "Detect which native features are available on the current platform."
|
|
52362
52970
|
},
|
|
52971
|
+
{
|
|
52972
|
+
name: "getFoldableAdapter",
|
|
52973
|
+
signature: "getFoldableAdapter(): Promise<FoldableAdapter>",
|
|
52974
|
+
description: "Reserved regions adapter: getState() reads the fold and cameras now, addListener() follows changes. Backed by the iOS shell's own ReservedRegions Capacitor plugin (copy examples/svelte-app/ios/App/App/ReservedRegions.swift and register it with bridge.registerPluginInstance). Elsewhere nothing is reserved.",
|
|
52975
|
+
example: "const state = await (await getFoldableAdapter()).getState();"
|
|
52976
|
+
},
|
|
52977
|
+
{
|
|
52978
|
+
name: "getViewportSegments",
|
|
52979
|
+
signature: "getViewportSegments(state: ReservedRegionsState): RegionRect[]",
|
|
52980
|
+
description: "The viewport parts either side of the active fold (left/right or top/bottom), or the whole viewport. Also getActiveFold(state) and normalizeReservedRegionsState(raw).",
|
|
52981
|
+
example: "const [list, detail] = getViewportSegments(state);"
|
|
52982
|
+
},
|
|
52983
|
+
{
|
|
52984
|
+
name: "getVerticalBarAdapter",
|
|
52985
|
+
signature: "getVerticalBarAdapter(): Promise<VerticalBarAdapter>",
|
|
52986
|
+
description: "Vertical bar adapter: setItems(items, { title }) shows the page's bar buttons as native UIBarButtonItems, which iPhone Duo lays out in its vertical bar (a column on one side, below the camera), with title as the page title in the row the system keeps at the top; getState() reads { supported, edge, side, shown }; addListener() follows changes; addItemTapListener() gets tapped item ids. Backed by the iOS shell's own VerticalBar Capacitor plugin (copy examples/svelte-app/ios/App/App/VerticalBar.swift and register it with bridge.registerPluginInstance). Elsewhere nothing is shown.",
|
|
52987
|
+
example: "const bar = await getVerticalBarAdapter();\nawait bar.setItems([{ id: 'share', title: 'Share', symbol: 'square.and.arrow.up' }]);"
|
|
52988
|
+
},
|
|
52989
|
+
{
|
|
52990
|
+
name: "validateVerticalBarItems",
|
|
52991
|
+
signature: "validateVerticalBarItems(items: readonly VerticalBarItem[]): void",
|
|
52992
|
+
description: "Throws a clear Error for an empty id, title or symbol, an unknown group or a duplicate id (setItems calls it first). Also normalizeVerticalBarState(raw), noVerticalBar(), sameVerticalBarState(a, b) and the VERTICAL_BAR_EVENT / VERTICAL_BAR_ITEM_EVENT / VERTICAL_BAR_ATTRIBUTE constants.",
|
|
52993
|
+
example: "validateVerticalBarItems([{ id: 'done', title: 'Done', symbol: 'checkmark', group: 'primary' }]);"
|
|
52994
|
+
},
|
|
52363
52995
|
{
|
|
52364
52996
|
name: "syncWindowAppearance",
|
|
52365
52997
|
signature: "syncWindowAppearance(options?: { appearance?: () => 'light' | 'dark' | 'system' }): { ready, refresh, destroy }",
|
|
@@ -52844,6 +53476,100 @@ var native_catalog_default = {
|
|
|
52844
53476
|
],
|
|
52845
53477
|
example: "const { isConnected, connectionType } = useNetwork();"
|
|
52846
53478
|
},
|
|
53479
|
+
{
|
|
53480
|
+
name: "useFoldable",
|
|
53481
|
+
signature: "useFoldable(options?: UseFoldableOptions): UseFoldableReturn",
|
|
53482
|
+
description: "Hook for the reserved regions of a foldable iPhone (iPhone Duo fold and cameras), updated live as the hinge moves.",
|
|
53483
|
+
returns: [
|
|
53484
|
+
{
|
|
53485
|
+
name: "state",
|
|
53486
|
+
type: "ReservedRegionsState | null",
|
|
53487
|
+
required: true,
|
|
53488
|
+
description: "Every region (active and inactive) and the viewport they are relative to"
|
|
53489
|
+
},
|
|
53490
|
+
{
|
|
53491
|
+
name: "isSupported",
|
|
53492
|
+
type: "boolean",
|
|
53493
|
+
required: true,
|
|
53494
|
+
description: "Whether the shell reports reserved regions (iOS 27.1+ with the ReservedRegions plugin)"
|
|
53495
|
+
},
|
|
53496
|
+
{
|
|
53497
|
+
name: "fold",
|
|
53498
|
+
type: "FoldInfo | null",
|
|
53499
|
+
required: true,
|
|
53500
|
+
description: "The active fold with its orientation ('vertical' = panes side by side), or null"
|
|
53501
|
+
},
|
|
53502
|
+
{
|
|
53503
|
+
name: "segments",
|
|
53504
|
+
type: "RegionRect[]",
|
|
53505
|
+
required: true,
|
|
53506
|
+
description: "Viewport parts either side of the fold, in reading order; one when no fold is active"
|
|
53507
|
+
},
|
|
53508
|
+
{
|
|
53509
|
+
name: "occlusions",
|
|
53510
|
+
type: "ReservedRegion[]",
|
|
53511
|
+
required: true,
|
|
53512
|
+
description: "Active occlusions (cameras)"
|
|
53513
|
+
},
|
|
53514
|
+
{
|
|
53515
|
+
name: "refresh",
|
|
53516
|
+
type: "() => Promise<ReservedRegionsState>",
|
|
53517
|
+
required: true,
|
|
53518
|
+
description: "Read the regions again"
|
|
53519
|
+
}
|
|
53520
|
+
],
|
|
53521
|
+
example: "const { fold, segments } = useFoldable();\n// fold?.orientation === 'vertical' \u2192 one pane per segment"
|
|
53522
|
+
},
|
|
53523
|
+
{
|
|
53524
|
+
name: "useVerticalBar",
|
|
53525
|
+
signature: "useVerticalBar(options?: UseVerticalBarOptions): UseVerticalBarReturn",
|
|
53526
|
+
description: "Hook that shows the page's bar buttons as native bar items in the iPhone Duo vertical bar while the system uses one. Options: items (sent when their JSON changes, cleared on unmount), onItemTap(id), listen.",
|
|
53527
|
+
returns: [
|
|
53528
|
+
{
|
|
53529
|
+
name: "state",
|
|
53530
|
+
type: "VerticalBarState | null",
|
|
53531
|
+
required: true,
|
|
53532
|
+
description: "{ supported, edge, side, shown } as the shell reports it"
|
|
53533
|
+
},
|
|
53534
|
+
{
|
|
53535
|
+
name: "shown",
|
|
53536
|
+
type: "boolean",
|
|
53537
|
+
required: true,
|
|
53538
|
+
description: "Whether the native items are on screen now; hide the page's own buttons while true"
|
|
53539
|
+
},
|
|
53540
|
+
{
|
|
53541
|
+
name: "edge",
|
|
53542
|
+
type: "'leading' | 'trailing' | 'none'",
|
|
53543
|
+
required: true,
|
|
53544
|
+
description: "Layout edge holding the bar"
|
|
53545
|
+
},
|
|
53546
|
+
{
|
|
53547
|
+
name: "side",
|
|
53548
|
+
type: "'left' | 'right' | 'none'",
|
|
53549
|
+
required: true,
|
|
53550
|
+
description: "Physical side of the display holding the bar"
|
|
53551
|
+
},
|
|
53552
|
+
{
|
|
53553
|
+
name: "isSupported",
|
|
53554
|
+
type: "boolean",
|
|
53555
|
+
required: true,
|
|
53556
|
+
description: "Whether the shell can show a vertical bar (iOS 27.1+ with the VerticalBar plugin)"
|
|
53557
|
+
},
|
|
53558
|
+
{
|
|
53559
|
+
name: "setItems",
|
|
53560
|
+
type: "(items: VerticalBarItem[], options?: { title?: string }) => Promise<VerticalBarState>",
|
|
53561
|
+
required: true,
|
|
53562
|
+
description: "Replace the items, and the page title the system shows at the top while they are in the bar; [] clears them"
|
|
53563
|
+
},
|
|
53564
|
+
{
|
|
53565
|
+
name: "refresh",
|
|
53566
|
+
type: "() => Promise<VerticalBarState>",
|
|
53567
|
+
required: true,
|
|
53568
|
+
description: "Read the state again"
|
|
53569
|
+
}
|
|
53570
|
+
],
|
|
53571
|
+
example: "const { shown } = useVerticalBar({\n items: [{ id: 'share', title: 'Share', symbol: 'square.and.arrow.up' }],\n onItemTap: (id) => id === 'share' && share(),\n});"
|
|
53572
|
+
},
|
|
52847
53573
|
{
|
|
52848
53574
|
name: "useAppLifecycle",
|
|
52849
53575
|
signature: "useAppLifecycle(options?: UseAppLifecycleOptions): UseAppLifecycleReturn",
|
|
@@ -53076,6 +53802,18 @@ var native_catalog_default = {
|
|
|
53076
53802
|
description: "Composable for network connectivity status.",
|
|
53077
53803
|
example: "const network = useNetwork();\n// Access: network.isConnected, network.connectionType"
|
|
53078
53804
|
},
|
|
53805
|
+
{
|
|
53806
|
+
name: "useFoldable",
|
|
53807
|
+
signature: "useFoldable(options?: UseFoldableOptions): UseFoldableReturn",
|
|
53808
|
+
description: "Composable for the reserved regions of a foldable iPhone (iPhone Duo fold and cameras), updated live as the hinge moves.",
|
|
53809
|
+
example: "const foldable = useFoldable();\n// Access: $foldable.fold, $foldable.segments, $foldable.occlusions"
|
|
53810
|
+
},
|
|
53811
|
+
{
|
|
53812
|
+
name: "useVerticalBar",
|
|
53813
|
+
signature: "useVerticalBar(options?: UseVerticalBarOptions): UseVerticalBarReturn",
|
|
53814
|
+
description: "Composable that shows the page's bar buttons as native bar items in the iPhone Duo vertical bar while the system uses one; options.items are set on start and cleared on destroy.",
|
|
53815
|
+
example: "const bar = useVerticalBar({ items, onItemTap: (id) => handle(id) });\n// Access: $bar.shown, $bar.edge, $bar.side; bar.setItems([...])"
|
|
53816
|
+
},
|
|
53079
53817
|
{
|
|
53080
53818
|
name: "useAppLifecycle",
|
|
53081
53819
|
signature: "useAppLifecycle(options?: UseAppLifecycleOptions): UseAppLifecycleReturn",
|
|
@@ -53242,6 +53980,26 @@ var native_catalog_default = {
|
|
|
53242
53980
|
capacitorPlugin: "@capacitor/app",
|
|
53243
53981
|
desktop: "Window focus/minimize, deep links, exit",
|
|
53244
53982
|
tauriPlugin: "@tauri-apps/api/window, @tauri-apps/plugin-deep-link, @tauri-apps/plugin-process"
|
|
53983
|
+
},
|
|
53984
|
+
{
|
|
53985
|
+
name: "Foldable (reserved regions)",
|
|
53986
|
+
hook: "useFoldable",
|
|
53987
|
+
description: "iPhone Duo fold and camera regions, live as the hinge moves; CSS vars --fold-left/-top/-width/-height, --fold-active, <html data-fold> and a classic-theme:reserved-regions event",
|
|
53988
|
+
ios: "UIView.reservedRegions(kind:options:) via the app's ReservedRegions plugin (iOS 27.1+)",
|
|
53989
|
+
android: "None (nothing reserved)",
|
|
53990
|
+
webFallback: "None (nothing reserved; WebKit exposes no viewport segments)",
|
|
53991
|
+
capacitorPlugin: "App-local ReservedRegions plugin (ios/App/App/ReservedRegions.swift)",
|
|
53992
|
+
desktop: "None"
|
|
53993
|
+
},
|
|
53994
|
+
{
|
|
53995
|
+
name: "Vertical Bar (iPhone Duo)",
|
|
53996
|
+
hook: "useVerticalBar",
|
|
53997
|
+
description: "The page's bar buttons as native bar items, which iPhone Duo lays out in its vertical bar (closed, or open in landscape); <html data-vertical-bar> while shown, classic-theme:vertical-bar and classic-theme:vertical-bar-item events",
|
|
53998
|
+
ios: "UIBarButtonItems on the navigation bar while traitCollection.verticalBarEdge is leading/trailing, via the app's VerticalBar plugin (iOS 27.1+)",
|
|
53999
|
+
android: "None (no vertical bar)",
|
|
54000
|
+
webFallback: "None (the page's own header is the bar)",
|
|
54001
|
+
capacitorPlugin: "App-local VerticalBar plugin (ios/App/App/VerticalBar.swift)",
|
|
54002
|
+
desktop: "None"
|
|
53245
54003
|
}
|
|
53246
54004
|
],
|
|
53247
54005
|
types: {
|
|
@@ -53910,6 +54668,166 @@ var native_catalog_default = {
|
|
|
53910
54668
|
properties: []
|
|
53911
54669
|
}
|
|
53912
54670
|
]
|
|
54671
|
+
},
|
|
54672
|
+
foldable: {
|
|
54673
|
+
description: "Reserved regions of a foldable device (CSS px of the layout viewport)",
|
|
54674
|
+
types: [
|
|
54675
|
+
{
|
|
54676
|
+
name: "ReservedRegionsState",
|
|
54677
|
+
description: "What the shell reports",
|
|
54678
|
+
properties: [
|
|
54679
|
+
{
|
|
54680
|
+
name: "supported",
|
|
54681
|
+
type: "boolean",
|
|
54682
|
+
required: true,
|
|
54683
|
+
description: "Whether the shell reports reserved regions"
|
|
54684
|
+
},
|
|
54685
|
+
{
|
|
54686
|
+
name: "viewport",
|
|
54687
|
+
type: "{ width: number; height: number }",
|
|
54688
|
+
required: true,
|
|
54689
|
+
description: "Layout viewport the coordinates are relative to"
|
|
54690
|
+
},
|
|
54691
|
+
{
|
|
54692
|
+
name: "regions",
|
|
54693
|
+
type: "ReservedRegion[]",
|
|
54694
|
+
required: true,
|
|
54695
|
+
description: "Every region, active and inactive"
|
|
54696
|
+
}
|
|
54697
|
+
]
|
|
54698
|
+
},
|
|
54699
|
+
{
|
|
54700
|
+
name: "ReservedRegion",
|
|
54701
|
+
description: "One reserved region",
|
|
54702
|
+
properties: [
|
|
54703
|
+
{
|
|
54704
|
+
name: "id",
|
|
54705
|
+
type: "string",
|
|
54706
|
+
required: true,
|
|
54707
|
+
description: "Unique while the app runs"
|
|
54708
|
+
},
|
|
54709
|
+
{
|
|
54710
|
+
name: "kind",
|
|
54711
|
+
type: "'division' | 'occlusion'",
|
|
54712
|
+
required: true,
|
|
54713
|
+
description: "division = the fold, occlusion = a camera"
|
|
54714
|
+
},
|
|
54715
|
+
{
|
|
54716
|
+
name: "x / y / width / height",
|
|
54717
|
+
type: "number",
|
|
54718
|
+
required: true,
|
|
54719
|
+
description: "Rectangle including the margins; may lie partly outside the viewport"
|
|
54720
|
+
},
|
|
54721
|
+
{
|
|
54722
|
+
name: "margins",
|
|
54723
|
+
type: "{ top; right; bottom; left }",
|
|
54724
|
+
required: true,
|
|
54725
|
+
description: "Part of the rectangle around the hardware that interactive content should also avoid"
|
|
54726
|
+
},
|
|
54727
|
+
{
|
|
54728
|
+
name: "active",
|
|
54729
|
+
type: "boolean",
|
|
54730
|
+
required: true,
|
|
54731
|
+
description: "The fold is active only while the device is partly open"
|
|
54732
|
+
}
|
|
54733
|
+
]
|
|
54734
|
+
},
|
|
54735
|
+
{
|
|
54736
|
+
name: "FoldInfo",
|
|
54737
|
+
description: "The active fold",
|
|
54738
|
+
properties: [
|
|
54739
|
+
{
|
|
54740
|
+
name: "orientation",
|
|
54741
|
+
type: "'vertical' | 'horizontal'",
|
|
54742
|
+
required: true,
|
|
54743
|
+
description: "Direction the fold line runs; vertical = panes side by side"
|
|
54744
|
+
},
|
|
54745
|
+
{
|
|
54746
|
+
name: "region",
|
|
54747
|
+
type: "ReservedRegion",
|
|
54748
|
+
required: true,
|
|
54749
|
+
description: "The underlying region"
|
|
54750
|
+
}
|
|
54751
|
+
]
|
|
54752
|
+
}
|
|
54753
|
+
]
|
|
54754
|
+
},
|
|
54755
|
+
verticalBar: {
|
|
54756
|
+
description: "The iPhone Duo vertical bar and the items a page declares for it",
|
|
54757
|
+
types: [
|
|
54758
|
+
{
|
|
54759
|
+
name: "VerticalBarState",
|
|
54760
|
+
description: "What the shell reports",
|
|
54761
|
+
properties: [
|
|
54762
|
+
{
|
|
54763
|
+
name: "supported",
|
|
54764
|
+
type: "boolean",
|
|
54765
|
+
required: true,
|
|
54766
|
+
description: "Whether the shell can show a vertical bar"
|
|
54767
|
+
},
|
|
54768
|
+
{
|
|
54769
|
+
name: "edge",
|
|
54770
|
+
type: "'leading' | 'trailing' | 'none'",
|
|
54771
|
+
required: true,
|
|
54772
|
+
description: "Layout edge holding the bar now"
|
|
54773
|
+
},
|
|
54774
|
+
{
|
|
54775
|
+
name: "side",
|
|
54776
|
+
type: "'left' | 'right' | 'none'",
|
|
54777
|
+
required: true,
|
|
54778
|
+
description: "Physical side holding the bar now (edge resolved for RTL)"
|
|
54779
|
+
},
|
|
54780
|
+
{
|
|
54781
|
+
name: "shown",
|
|
54782
|
+
type: "boolean",
|
|
54783
|
+
required: true,
|
|
54784
|
+
description: "The native items are on screen (a vertical bar and at least one item)"
|
|
54785
|
+
}
|
|
54786
|
+
]
|
|
54787
|
+
},
|
|
54788
|
+
{
|
|
54789
|
+
name: "VerticalBarItem",
|
|
54790
|
+
description: "One bar button",
|
|
54791
|
+
properties: [
|
|
54792
|
+
{
|
|
54793
|
+
name: "id",
|
|
54794
|
+
type: "string",
|
|
54795
|
+
required: true,
|
|
54796
|
+
description: "Identifies the item in tap events; unique per setItems call"
|
|
54797
|
+
},
|
|
54798
|
+
{
|
|
54799
|
+
name: "title",
|
|
54800
|
+
type: "string",
|
|
54801
|
+
required: true,
|
|
54802
|
+
description: "Accessibility label and overflow menu text"
|
|
54803
|
+
},
|
|
54804
|
+
{
|
|
54805
|
+
name: "symbol",
|
|
54806
|
+
type: "string",
|
|
54807
|
+
required: true,
|
|
54808
|
+
description: "SF Symbol name"
|
|
54809
|
+
},
|
|
54810
|
+
{
|
|
54811
|
+
name: "group",
|
|
54812
|
+
type: "'navigation' | 'primary' | 'secondary'",
|
|
54813
|
+
required: false,
|
|
54814
|
+
description: "Top to bottom: navigation, a pinned prominent action, everything else (default secondary, overflows first)"
|
|
54815
|
+
},
|
|
54816
|
+
{
|
|
54817
|
+
name: "priority",
|
|
54818
|
+
type: "'high' | 'standard' | 'low'",
|
|
54819
|
+
required: false,
|
|
54820
|
+
description: "Which items stay visible longest"
|
|
54821
|
+
},
|
|
54822
|
+
{
|
|
54823
|
+
name: "enabled",
|
|
54824
|
+
type: "boolean",
|
|
54825
|
+
required: false,
|
|
54826
|
+
description: "Whether the item can be tapped (default true)"
|
|
54827
|
+
}
|
|
54828
|
+
]
|
|
54829
|
+
}
|
|
54830
|
+
]
|
|
53913
54831
|
}
|
|
53914
54832
|
},
|
|
53915
54833
|
quickReference: {
|
|
@@ -54138,7 +55056,7 @@ import { NativeGuard, usePlatformCheck } from '@classic-homes/native/react';
|
|
|
54138
55056
|
|
|
54139
55057
|
// src/data/viewer-catalog.json
|
|
54140
55058
|
var viewer_catalog_default = {
|
|
54141
|
-
version: "0.6.
|
|
55059
|
+
version: "0.6.2",
|
|
54142
55060
|
packageName: "@classic-homes/viewer-svelte",
|
|
54143
55061
|
description: "Client-side, view-only document viewers: PDF, Word (.docx), Excel (.xlsx and legacy .xls), OpenDocument (.ods), CSV/TSV and CAD (DXF; DWG through the separate GPL package). Files are parsed and rendered in the browser; nothing is uploaded or converted on a server. Each format is a lazy-loaded subpath with an optional peer dependency, so apps only bundle what they register. Svelte 5 only; a React package (viewer-react) is planned.",
|
|
54144
55062
|
packages: {
|
|
@@ -55291,7 +56209,7 @@ function registerPrompts(server) {
|
|
|
55291
56209
|
// package.json
|
|
55292
56210
|
var package_default = {
|
|
55293
56211
|
name: "@classic-homes/theme-mcp",
|
|
55294
|
-
version: "0.6.
|
|
56212
|
+
version: "0.6.2",
|
|
55295
56213
|
description: "MCP server for Classic Theme design system - enables AI assistants to understand and correctly use components, tokens, and patterns",
|
|
55296
56214
|
type: "module",
|
|
55297
56215
|
main: "dist/index.js",
|
|
@@ -55390,4 +56308,4 @@ function createServer() {
|
|
|
55390
56308
|
export {
|
|
55391
56309
|
createServer
|
|
55392
56310
|
};
|
|
55393
|
-
//# sourceMappingURL=chunk-
|
|
56311
|
+
//# sourceMappingURL=chunk-7TO32JWC.js.map
|