@classic-homes/theme-mcp 0.6.1 → 0.6.3

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.
@@ -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.1",
9
+ version: "0.6.3",
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",
@@ -20822,6 +20841,18 @@ var component_catalog_default = {
20822
20841
  required: false,
20823
20842
  description: "Footer content"
20824
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
+ },
20825
20856
  {
20826
20857
  name: "variant",
20827
20858
  type: "'light' | 'dark'",
@@ -24933,7 +24964,7 @@ var component_catalog_default = {
24933
24964
 
24934
24965
  // src/data/react-catalog.json
24935
24966
  var react_catalog_default = {
24936
- version: "0.6.1",
24967
+ version: "0.6.3",
24937
24968
  components: [
24938
24969
  {
24939
24970
  name: "Alert",
@@ -25180,7 +25211,7 @@ var react_catalog_default = {
25180
25211
  },
25181
25212
  {
25182
25213
  name: "variant",
25183
- 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'",
25184
25215
  required: false,
25185
25216
  description: ""
25186
25217
  }
@@ -25199,9 +25230,17 @@ var react_catalog_default = {
25199
25230
  values: [
25200
25231
  "default",
25201
25232
  "secondary",
25233
+ "promo",
25202
25234
  "destructive",
25203
25235
  "outline",
25204
25236
  "warning",
25237
+ "live",
25238
+ "working",
25239
+ "off",
25240
+ "attention",
25241
+ "critical",
25242
+ "count",
25243
+ "quantity",
25205
25244
  "success",
25206
25245
  "info"
25207
25246
  ]
@@ -25266,7 +25305,7 @@ var react_catalog_default = {
25266
25305
  },
25267
25306
  {
25268
25307
  name: "variant",
25269
- type: "'default' | 'secondary' | 'destructive' | 'outline' | 'ghost' | 'link'",
25308
+ type: "'default' | 'secondary' | 'promo' | 'destructive' | 'outline' | 'ghost' | 'link'",
25270
25309
  required: false,
25271
25310
  description: ""
25272
25311
  }
@@ -25287,6 +25326,7 @@ var react_catalog_default = {
25287
25326
  values: [
25288
25327
  "default",
25289
25328
  "secondary",
25329
+ "promo",
25290
25330
  "destructive",
25291
25331
  "outline",
25292
25332
  "ghost",
@@ -29903,6 +29943,12 @@ var react_catalog_default = {
29903
29943
  type: "boolean",
29904
29944
  required: false,
29905
29945
  description: ""
29946
+ },
29947
+ {
29948
+ name: "striped",
29949
+ type: "boolean",
29950
+ required: false,
29951
+ description: ""
29906
29952
  }
29907
29953
  ],
29908
29954
  variants: [],
@@ -30307,30 +30353,263 @@ function registerComponentResources(server) {
30307
30353
 
30308
30354
  // src/data/token-definitions.json
30309
30355
  var token_definitions_default = {
30310
- version: "0.6.1",
30356
+ version: "0.6.3",
30311
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
+ ],
30312
30592
  brand: [
30313
30593
  {
30314
30594
  name: "gray",
30315
- description: "Neutral gray scale",
30595
+ description: "Neutral gray scale (500 = Grey 02, 600 = Grey 01)",
30316
30596
  shades: {
30317
30597
  "50": "#f9fafb",
30318
30598
  "100": "#f3f4f6",
30319
30599
  "200": "#e5e7eb",
30320
30600
  "300": "#d1d5db",
30321
30601
  "400": "#9ca3af",
30322
- "500": "#7a7a7a",
30323
- "600": "#4f4f4f",
30602
+ "500": "#767574",
30603
+ "600": "#50504f",
30324
30604
  "700": "#3d3d3d",
30325
30605
  "800": "#2a2a2a",
30326
30606
  "900": "#1a1a1a",
30327
30607
  "950": "#0a0a0a"
30328
- },
30329
- note: "Unlike other palettes, gray does not include a foreground property as it is used for text colors, not as a background"
30608
+ }
30330
30609
  },
30331
30610
  {
30332
30611
  name: "red",
30333
- description: "Brand red for logo and accents",
30612
+ description: "Red scale. Use full-strength `promo`/`destructive`, never tints",
30334
30613
  shades: {
30335
30614
  "50": "#fef2f2",
30336
30615
  "100": "#fee2e2",
@@ -30348,7 +30627,7 @@ var token_definitions_default = {
30348
30627
  },
30349
30628
  {
30350
30629
  name: "teal",
30351
- description: "Core 1 - Primary brand accent",
30630
+ description: "Teal scale",
30352
30631
  shades: {
30353
30632
  "50": "#f0fafa",
30354
30633
  "100": "#d9f2f3",
@@ -30364,9 +30643,26 @@ var token_definitions_default = {
30364
30643
  },
30365
30644
  foreground: "#ffffff"
30366
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
+ },
30367
30663
  {
30368
30664
  name: "navy",
30369
- description: "Core 2 - Professional dark blue",
30665
+ description: "Deprecated (v2.5): use ch.heritageTeal or ch.collection.classic",
30370
30666
  shades: {
30371
30667
  "50": "#f0f4f6",
30372
30668
  "100": "#d9e4ea",
@@ -30384,7 +30680,7 @@ var token_definitions_default = {
30384
30680
  },
30385
30681
  {
30386
30682
  name: "plum",
30387
- description: "Core 3 - Rich burgundy/purple",
30683
+ description: "Deprecated (v2.5): use ch.collection.portrait",
30388
30684
  shades: {
30389
30685
  "50": "#f8f4f6",
30390
30686
  "100": "#ede2e8",
@@ -30400,27 +30696,9 @@ var token_definitions_default = {
30400
30696
  },
30401
30697
  foreground: "#ffffff"
30402
30698
  },
30403
- {
30404
- name: "sage",
30405
- description: "Core 4 - Muted green/gray",
30406
- shades: {
30407
- "50": "#f7f7f5",
30408
- "100": "#eaebe6",
30409
- "200": "#dddfd5",
30410
- "300": "#d0d3c5",
30411
- "400": "#c3c7b5",
30412
- "500": "#b6baa4",
30413
- "600": "#969a82",
30414
- "700": "#757968",
30415
- "800": "#54574e",
30416
- "900": "#333634",
30417
- "950": "#1a1b1a"
30418
- },
30419
- note: "Unlike other palettes, sage does not include a foreground property as it is used primarily for subtle backgrounds"
30420
- },
30421
30699
  {
30422
30700
  name: "stone",
30423
- description: "Collection - Stone gray",
30701
+ description: "Deprecated (v2.5): replaced by named ch.collection colours",
30424
30702
  shades: {
30425
30703
  "50": "#f7f7f7",
30426
30704
  "100": "#ebebeb",
@@ -30438,7 +30716,7 @@ var token_definitions_default = {
30438
30716
  },
30439
30717
  {
30440
30718
  name: "forest",
30441
- description: "Collection - Forest green",
30719
+ description: "Deprecated (v2.5): use ch.collection.preamble / cadence",
30442
30720
  shades: {
30443
30721
  "50": "#f4f7f5",
30444
30722
  "100": "#e1ebe4",
@@ -30456,7 +30734,7 @@ var token_definitions_default = {
30456
30734
  },
30457
30735
  {
30458
30736
  name: "lavender",
30459
- description: "Collection - Lavender purple",
30737
+ description: "Deprecated (v2.5): use ch.collection.portrait",
30460
30738
  shades: {
30461
30739
  "50": "#f7f6f8",
30462
30740
  "100": "#ece9ed",
@@ -30474,7 +30752,7 @@ var token_definitions_default = {
30474
30752
  },
30475
30753
  {
30476
30754
  name: "sky",
30477
- description: "Collection - Sky blue",
30755
+ description: "Deprecated (v2.5): use ch.collection.classic",
30478
30756
  shades: {
30479
30757
  "50": "#f4f8fb",
30480
30758
  "100": "#e2ecf3",
@@ -30492,7 +30770,7 @@ var token_definitions_default = {
30492
30770
  },
30493
30771
  {
30494
30772
  name: "deepTeal",
30495
- description: "Collection - Deep teal",
30773
+ description: "Deprecated (v2.5): use ch.collection.cadence",
30496
30774
  shades: {
30497
30775
  "50": "#f2f5f5",
30498
30776
  "100": "#dce5e4",
@@ -30510,7 +30788,7 @@ var token_definitions_default = {
30510
30788
  },
30511
30789
  {
30512
30790
  name: "charcoal",
30513
- description: "Collection - Charcoal gray",
30791
+ description: "Deprecated (v2.5): use ch.collection.midtown",
30514
30792
  shades: {
30515
30793
  "50": "#fafafa",
30516
30794
  "100": "#e6e6e6",
@@ -30529,165 +30807,316 @@ var token_definitions_default = {
30529
30807
  ],
30530
30808
  semantic: {
30531
30809
  background: {
30532
- light: "white (#ffffff)",
30533
- dark: "charcoal-900 (#292424)",
30534
- hover: {
30535
- light: "#fafafa",
30536
- dark: "#333333"
30537
- }
30810
+ light: "#ffffff",
30811
+ dark: "#2f3128"
30812
+ },
30813
+ "background-hover": {
30814
+ light: "#f2f2ee",
30815
+ dark: "#35382e"
30538
30816
  },
30539
30817
  foreground: {
30540
- light: "gray-600 (#4f4f4f)",
30541
- dark: "gray-100 (#f3f4f6)"
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"
30542
30836
  },
30543
30837
  primary: {
30544
- light: "red-700 (#a91c22)",
30545
- dark: "red-400 (#f87171)",
30546
- hover: {
30547
- light: "#8a171c",
30548
- dark: "#f9a8a8"
30549
- },
30550
- foreground: "#ffffff"
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"
30551
30867
  },
30552
30868
  secondary: {
30553
- light: "#6c705b (filled sage controls; spec sage-600 #969a82 fails 4.5:1 under white)",
30554
- dark: "sage-800 (#54574e)",
30555
- hover: {
30556
- light: "red-700 (#a91c22)",
30557
- dark: "red-700 (#a91c22)"
30558
- },
30559
- foreground: {
30560
- light: "#ffffff",
30561
- dark: "gray-100 (#f3f4f6)"
30562
- },
30563
- border: {
30564
- light: "#ffffff",
30565
- dark: "charcoal-900 (#292424)"
30566
- },
30567
- soft: {
30568
- light: "sage-600 (#969a82)",
30569
- dark: "sage-700 (#757968)"
30570
- },
30571
- 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)"
30572
30872
  },
30573
- outline: {
30574
- light: "sage-600 (#969a82)",
30575
- dark: "sage-500 (#b6baa4)",
30576
- hover: {
30577
- light: "#d5d7cd",
30578
- dark: "sage-300 (#d0d3c5)"
30579
- },
30580
- note: "Outline button border; hover pairs with the primary fill."
30873
+ "secondary-foreground": {
30874
+ light: "#1b373b",
30875
+ dark: "#8fd0d2"
30581
30876
  },
30582
- toolbar: {
30877
+ "secondary-hover": {
30878
+ light: "#f2f2ee",
30879
+ dark: "#35382e"
30880
+ },
30881
+ "secondary-border": {
30583
30882
  light: "#1b373b",
30584
- dark: "#1b373b",
30585
- foreground: "#ffffff",
30586
- border: "#d5d7cd",
30587
- note: "Dark toolbar strip under page headers (Toolbar component)."
30883
+ dark: "#8fd0d2"
30588
30884
  },
30589
- accent: {
30590
- light: "teal-500 (#3ba4a7)",
30591
- dark: "teal-400 (#67cccf)",
30592
- hover: {
30593
- light: "#319295",
30594
- dark: "#8fd9dc"
30595
- },
30596
- foreground: "#ffffff"
30885
+ "secondary-soft": {
30886
+ light: "#969a82",
30887
+ dark: "#6c705b"
30597
30888
  },
30598
30889
  muted: {
30599
- light: "sage-100 (#eaebe6)",
30600
- dark: "charcoal-700 (#4d4d4d)",
30601
- hover: {
30602
- light: "#d4d6cc",
30603
- dark: "#5c5c5c"
30604
- },
30605
- foreground: {
30606
- light: "gray-500 (#7a7a7a)",
30607
- dark: "gray-400 (#9ca3af)"
30608
- }
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"
30609
30914
  },
30610
30915
  destructive: {
30611
- light: "red-500 (#e02726)",
30612
- dark: "red-500 (#e02726)",
30613
- hover: {
30614
- light: "#d92626",
30615
- dark: "#f87171"
30616
- },
30617
- 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)"
30618
30919
  },
30619
- card: {
30920
+ "destructive-foreground": {
30620
30921
  light: "#ffffff",
30621
- dark: "charcoal-800 (#333333)",
30622
- foreground: {
30623
- light: "gray-600 (#4f4f4f)",
30624
- dark: "gray-100 (#f3f4f6)"
30625
- }
30922
+ dark: "#2f3128"
30626
30923
  },
30627
- popover: {
30628
- light: "#ffffff",
30629
- dark: "charcoal-800 (#333333)",
30630
- foreground: {
30631
- light: "gray-600 (#4f4f4f)",
30632
- dark: "gray-100 (#f3f4f6)"
30633
- }
30924
+ "destructive-hover": {
30925
+ light: "#941b1f",
30926
+ dark: "#f7877c"
30634
30927
  },
30635
30928
  border: {
30636
30929
  light: "#000000",
30637
- dark: "gray-400 (#9ca3af)",
30638
- note: "CAD/drafter aesthetic - hard black borders in light mode"
30930
+ dark: "#9ca3af",
30931
+ note: "CAD/drafter aesthetic: hard black borders in light mode"
30639
30932
  },
30640
30933
  input: {
30641
30934
  light: "#000000",
30642
- dark: "gray-400 (#9ca3af)"
30935
+ dark: "#9ca3af"
30643
30936
  },
30644
30937
  ring: {
30645
- light: "red-700 (#a91c22)",
30646
- dark: "red-400 (#f87171)"
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"
30647
31009
  },
30648
31010
  success: {
30649
- light: "#10b981",
30650
- dark: "#34d399",
30651
- foreground: {
30652
- light: "#ffffff",
30653
- dark: "charcoal-900"
30654
- }
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"
30655
31018
  },
30656
31019
  warning: {
30657
- light: "#f59e0b",
30658
- dark: "#fbbf24",
30659
- foreground: {
30660
- light: "#ffffff",
30661
- dark: "charcoal-900"
30662
- }
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"
30663
31027
  },
30664
31028
  info: {
30665
- light: "#3b82f6",
30666
- dark: "#60a5fa",
30667
- foreground: {
30668
- light: "#ffffff",
30669
- dark: "charcoal-900"
30670
- }
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"
30671
31100
  }
30672
31101
  },
30673
31102
  layout: {
30674
31103
  contentBg: {
30675
31104
  light: "#fafafa",
30676
- dark: "charcoal-800 (#333333)",
31105
+ dark: "#35382e",
30677
31106
  note: "Main content background (slightly darker grey)"
30678
31107
  },
30679
31108
  surfaceBorder: {
30680
31109
  light: "#000000",
30681
- dark: "gray-400 (#9ca3af)",
31110
+ dark: "#9ca3af",
30682
31111
  note: "CAD/drafter aesthetic"
30683
31112
  }
30684
31113
  },
30685
31114
  status: {
30686
- success: "#10b981",
30687
- warning: "#f59e0b",
30688
- error: "#ef4444",
30689
- info: "#3b82f6",
30690
- note: "Standard status colors for alerts, notifications, and feedback"
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"
30691
31120
  }
30692
31121
  },
30693
31122
  spacing: [
@@ -30944,9 +31373,9 @@ var token_definitions_default = {
30944
31373
  h1: {
30945
31374
  size: "2.5rem",
30946
31375
  lineHeight: "2rem",
30947
- fontWeight: "500",
31376
+ fontWeight: "400",
30948
31377
  fontFamily: "serif (Spectral)",
30949
- fontStyle: "italic",
31378
+ fontStyle: "normal",
30950
31379
  pixels: "40px"
30951
31380
  },
30952
31381
  h2: {
@@ -31171,7 +31600,17 @@ var token_definitions_default = {
31171
31600
  "warning",
31172
31601
  "info",
31173
31602
  "content-bg",
31174
- "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"
31175
31614
  ],
31176
31615
  colorVariants: {
31177
31616
  withForeground: [
@@ -31221,7 +31660,7 @@ var token_definitions_default = {
31221
31660
  "chart-4",
31222
31661
  "chart-5"
31223
31662
  ],
31224
- note: "Uses brand colors: teal, navy, plum, forest, sky"
31663
+ note: "Heritage Teal, Moss, Accent Teal, Pike's Gold, Base Sage (v2.5). No red in chart series"
31225
31664
  },
31226
31665
  brandUtilities: {
31227
31666
  description: "Direct brand color access via CSS variables (hex values)",
@@ -31230,12 +31669,12 @@ var token_definitions_default = {
31230
31669
  "brand-red-primary",
31231
31670
  "brand-grey-1",
31232
31671
  "brand-grey-2",
31233
- "brand-core-1",
31672
+ "brand-core-1 (deprecated)",
31234
31673
  "brand-core-2",
31235
31674
  "brand-core-3",
31236
31675
  "brand-core-4",
31237
31676
  "brand-core-4-tint",
31238
- "brand-collection-1",
31677
+ "brand-collection-1 (deprecated: use ch-collection-*)",
31239
31678
  "brand-collection-2",
31240
31679
  "brand-collection-3",
31241
31680
  "brand-collection-4",
@@ -31243,6 +31682,36 @@ var token_definitions_default = {
31243
31682
  "brand-collection-6"
31244
31683
  ],
31245
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)"
31246
31715
  }
31247
31716
  }
31248
31717
  };
@@ -31290,7 +31759,7 @@ function registerTokenResources(server) {
31290
31759
 
31291
31760
  // src/data/styles-catalog.json
31292
31761
  var styles_catalog_default = {
31293
- version: "0.6.1",
31762
+ version: "0.6.3",
31294
31763
  package: "@classic-homes/theme-styles",
31295
31764
  description: "Base CSS styles, accessibility features, and utility classes for the Classic Theme design system",
31296
31765
  integration: {
@@ -31602,7 +32071,7 @@ var styles_catalog_default = {
31602
32071
 
31603
32072
  // src/data/components-css-catalog.json
31604
32073
  var components_css_catalog_default = {
31605
- version: "0.6.1",
32074
+ version: "0.6.3",
31606
32075
  stylesheet: "@classic-homes/theme-styles/components.css",
31607
32076
  requires: [
31608
32077
  "@classic-homes/theme-tokens/css"
@@ -31628,6 +32097,14 @@ var components_css_catalog_default = {
31628
32097
  option: "secondary",
31629
32098
  isDefault: false
31630
32099
  },
32100
+ {
32101
+ recipe: "button",
32102
+ className: "ch-btn-promo",
32103
+ kind: "modifier",
32104
+ axis: "variant",
32105
+ option: "promo",
32106
+ isDefault: false
32107
+ },
31631
32108
  {
31632
32109
  recipe: "button",
31633
32110
  className: "ch-btn-destructive",
@@ -31707,18 +32184,74 @@ var components_css_catalog_default = {
31707
32184
  },
31708
32185
  {
31709
32186
  recipe: "badge",
31710
- className: "ch-badge-destructive",
32187
+ className: "ch-badge-outline",
31711
32188
  kind: "modifier",
31712
32189
  axis: "variant",
31713
- option: "destructive",
32190
+ option: "outline",
31714
32191
  isDefault: false
31715
32192
  },
31716
32193
  {
31717
32194
  recipe: "badge",
31718
- className: "ch-badge-outline",
32195
+ className: "ch-badge-live",
31719
32196
  kind: "modifier",
31720
32197
  axis: "variant",
31721
- option: "outline",
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",
31722
32255
  isDefault: false
31723
32256
  },
31724
32257
  {
@@ -31729,6 +32262,14 @@ var components_css_catalog_default = {
31729
32262
  option: "success",
31730
32263
  isDefault: false
31731
32264
  },
32265
+ {
32266
+ recipe: "badge",
32267
+ className: "ch-badge-info",
32268
+ kind: "modifier",
32269
+ axis: "variant",
32270
+ option: "info",
32271
+ isDefault: false
32272
+ },
31732
32273
  {
31733
32274
  recipe: "badge",
31734
32275
  className: "ch-badge-warning",
@@ -31739,10 +32280,10 @@ var components_css_catalog_default = {
31739
32280
  },
31740
32281
  {
31741
32282
  recipe: "badge",
31742
- className: "ch-badge-info",
32283
+ className: "ch-badge-destructive",
31743
32284
  kind: "modifier",
31744
32285
  axis: "variant",
31745
- option: "info",
32286
+ option: "destructive",
31746
32287
  isDefault: false
31747
32288
  },
31748
32289
  {
@@ -32420,6 +32961,14 @@ var components_css_catalog_default = {
32420
32961
  className: "ch-table-row",
32421
32962
  kind: "block"
32422
32963
  },
32964
+ {
32965
+ recipe: "tableRow",
32966
+ className: "ch-table-row-striped",
32967
+ kind: "modifier",
32968
+ axis: "striped",
32969
+ option: "true",
32970
+ isDefault: false
32971
+ },
32423
32972
  {
32424
32973
  recipe: "tableRow",
32425
32974
  className: "ch-table-row-interactive",
@@ -32783,12 +33332,13 @@ var components_css_catalog_default = {
32783
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",
32784
33333
  variants: {
32785
33334
  variant: {
32786
- default: "bg-primary text-primary-foreground shadow hover:bg-primary-hover",
32787
- secondary: "border-2 border-secondary-border bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary-hover",
32788
- destructive: "bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive-hover focus-visible:ring-destructive",
32789
- outline: "border-2 border-outline bg-transparent text-foreground hover:border-outline-hover hover:bg-primary hover:text-primary-foreground",
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",
32790
33340
  ghost: "hover:bg-muted-hover hover:text-foreground",
32791
- link: "text-primary underline-offset-4 hover:underline"
33341
+ link: "text-link underline underline-offset-4 hover:decoration-2"
32792
33342
  },
32793
33343
  size: {
32794
33344
  default: "h-10 px-4 py-2",
@@ -32809,20 +33359,28 @@ var components_css_catalog_default = {
32809
33359
  variants: {
32810
33360
  variant: {
32811
33361
  default: "border-transparent bg-primary text-primary-foreground",
32812
- secondary: "border-transparent bg-secondary text-secondary-foreground",
32813
- destructive: "border-transparent bg-destructive text-destructive-foreground",
33362
+ secondary: "border-secondary-border bg-secondary text-secondary-foreground",
32814
33363
  outline: "text-foreground",
32815
- success: "border-transparent bg-success text-success-foreground",
32816
- warning: "border-transparent bg-warning text-warning-foreground",
32817
- info: "border-transparent bg-info text-info-foreground"
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"
32818
33376
  },
32819
33377
  size: {
32820
33378
  default: "px-2 py-0.5 text-xs",
32821
33379
  sm: "px-1.5 py-0.5 text-xs",
32822
- dot: "h-5 w-5 p-0 text-xs"
33380
+ dot: "h-5 min-w-5 px-1.5 py-0 text-xs"
32823
33381
  },
32824
33382
  clickable: {
32825
- 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",
32826
33384
  false: ""
32827
33385
  }
32828
33386
  },
@@ -32847,25 +33405,40 @@ var components_css_catalog_default = {
32847
33405
  clickable: true,
32848
33406
  class: "hover:bg-destructive-hover"
32849
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
+ },
32850
33418
  {
32851
33419
  variant: "outline",
32852
33420
  clickable: true,
32853
- class: "hover:bg-accent-hover hover:text-accent-foreground"
33421
+ class: "hover:bg-muted"
33422
+ },
33423
+ {
33424
+ variant: "off",
33425
+ clickable: true,
33426
+ class: "hover:bg-muted"
32854
33427
  },
32855
33428
  {
32856
- variant: "success",
33429
+ variant: "attention",
32857
33430
  clickable: true,
32858
- class: "hover:bg-success/80"
33431
+ class: "hover:bg-muted"
32859
33432
  },
32860
33433
  {
32861
33434
  variant: "warning",
32862
33435
  clickable: true,
32863
- class: "hover:bg-warning/80"
33436
+ class: "hover:bg-muted"
32864
33437
  },
32865
33438
  {
32866
- variant: "info",
33439
+ variant: "promo",
32867
33440
  clickable: true,
32868
- class: "hover:bg-info/80"
33441
+ class: "hover:bg-muted"
32869
33442
  }
32870
33443
  ]
32871
33444
  },
@@ -32880,8 +33453,8 @@ var components_css_catalog_default = {
32880
33453
  variant: {
32881
33454
  default: "border",
32882
33455
  featured: "border-2",
32883
- highlight: "border-2 border-brand-core-1",
32884
- warning: "border-2 border-brand-red-primary"
33456
+ highlight: "border-2 border-primary",
33457
+ warning: "border-2 border-destructive"
32885
33458
  },
32886
33459
  interactive: {
32887
33460
  true: "hover:shadow-lg transition-shadow duration-200",
@@ -32938,12 +33511,12 @@ var components_css_catalog_default = {
32938
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",
32939
33512
  variants: {
32940
33513
  variant: {
32941
- default: "bg-muted/50 border-border text-foreground",
32942
- destructive: "bg-destructive/10 border-destructive/40 text-foreground [&>svg]:text-destructive",
32943
- error: "bg-destructive/10 border-destructive/40 text-foreground [&>svg]:text-destructive",
32944
- success: "bg-success/10 border-success/40 text-foreground [&>svg]:text-success",
32945
- warning: "bg-warning/10 border-warning/40 text-foreground [&>svg]:text-warning",
32946
- info: "bg-info/10 border-info/40 text-foreground [&>svg]:text-info"
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"
32947
33520
  }
32948
33521
  },
32949
33522
  defaultVariants: {
@@ -32967,7 +33540,7 @@ var components_css_catalog_default = {
32967
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",
32968
33541
  variants: {
32969
33542
  invalid: {
32970
- true: "border-destructive focus-visible:ring-destructive",
33543
+ true: "border-2 border-destructive",
32971
33544
  false: ""
32972
33545
  }
32973
33546
  },
@@ -32980,7 +33553,7 @@ var components_css_catalog_default = {
32980
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",
32981
33554
  variants: {
32982
33555
  invalid: {
32983
- true: "border-destructive focus-visible:ring-destructive",
33556
+ true: "border-2 border-destructive",
32984
33557
  false: ""
32985
33558
  }
32986
33559
  },
@@ -33006,7 +33579,7 @@ var components_css_catalog_default = {
33006
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",
33007
33580
  variants: {
33008
33581
  invalid: {
33009
- true: "border-destructive focus:ring-destructive",
33582
+ true: "border-2 border-destructive",
33010
33583
  false: ""
33011
33584
  }
33012
33585
  },
@@ -33041,13 +33614,13 @@ var components_css_catalog_default = {
33041
33614
  compoundVariants: []
33042
33615
  },
33043
33616
  switchRoot: {
33044
- base: "peer relative inline-flex h-7 w-12 shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=unchecked]:bg-input",
33617
+ base: "peer relative inline-flex h-7 w-12 shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=unchecked]:border-input data-[state=unchecked]:bg-background",
33045
33618
  variants: {},
33046
33619
  defaultVariants: {},
33047
33620
  compoundVariants: []
33048
33621
  },
33049
33622
  switchThumb: {
33050
- base: "pointer-events-none block h-5 w-5 rounded-full bg-background shadow-lg ring-0 transition-transform data-[state=checked]:translate-x-[22px] data-[state=unchecked]:translate-x-0.5",
33623
+ base: "pointer-events-none block h-5 w-5 rounded-full ring-0 transition-transform data-[state=checked]:bg-background data-[state=checked]:shadow-lg data-[state=unchecked]:bg-foreground data-[state=checked]:translate-x-[22px] data-[state=unchecked]:translate-x-0.5",
33051
33624
  variants: {},
33052
33625
  defaultVariants: {},
33053
33626
  compoundVariants: []
@@ -33273,7 +33846,7 @@ var components_css_catalog_default = {
33273
33846
  compoundVariants: []
33274
33847
  },
33275
33848
  tableHeader: {
33276
- base: "border-b bg-muted/50",
33849
+ base: "border-b bg-accent",
33277
33850
  variants: {},
33278
33851
  defaultVariants: {},
33279
33852
  compoundVariants: []
@@ -33287,23 +33860,35 @@ var components_css_catalog_default = {
33287
33860
  tableRow: {
33288
33861
  base: "bg-card",
33289
33862
  variants: {
33863
+ striped: {
33864
+ true: "even:bg-row-zebra",
33865
+ false: ""
33866
+ },
33290
33867
  interactive: {
33291
- true: "cursor-pointer hover:bg-muted-hover",
33868
+ true: "cursor-pointer hover:bg-row-hover",
33292
33869
  false: ""
33293
33870
  },
33294
33871
  selected: {
33295
- true: "bg-primary/5",
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))]",
33296
33873
  false: ""
33297
33874
  }
33298
33875
  },
33299
33876
  defaultVariants: {
33877
+ striped: false,
33300
33878
  interactive: false,
33301
33879
  selected: false
33302
33880
  },
33303
- compoundVariants: []
33881
+ compoundVariants: [
33882
+ {
33883
+ striped: true,
33884
+ interactive: true,
33885
+ selected: false,
33886
+ class: "hover:bg-row-hover-zebra"
33887
+ }
33888
+ ]
33304
33889
  },
33305
33890
  tableHead: {
33306
- base: "px-4 py-3 font-medium text-muted-foreground",
33891
+ base: "px-4 py-3 font-semibold text-foreground",
33307
33892
  variants: {
33308
33893
  align: {
33309
33894
  left: "text-left",
@@ -33416,7 +34001,7 @@ var components_css_catalog_default = {
33416
34001
  false: "border border-input rounded-md"
33417
34002
  },
33418
34003
  invalid: {
33419
- true: "border-destructive focus-visible:ring-destructive",
34004
+ true: "border-2 border-destructive",
33420
34005
  false: ""
33421
34006
  }
33422
34007
  },
@@ -33646,7 +34231,7 @@ import { ResourceTemplate as ResourceTemplate2 } from "@modelcontextprotocol/sdk
33646
34231
 
33647
34232
  // src/data/pattern-library.json
33648
34233
  var pattern_library_default = {
33649
- version: "0.6.1",
34234
+ version: "0.6.3",
33650
34235
  layouts: [
33651
34236
  {
33652
34237
  id: "dashboard-page",
@@ -34740,7 +35325,7 @@ function registerLayoutResources(server) {
34740
35325
 
34741
35326
  // src/data/schema-catalog.json
34742
35327
  var schema_catalog_default = {
34743
- version: "0.6.1",
35328
+ version: "0.6.3",
34744
35329
  packageName: "@classic-homes/theme-svelte",
34745
35330
  importPath: "@classic-homes/theme-svelte",
34746
35331
  generatedFrom: "packages/svelte/src/lib/schemas/index.ts",
@@ -35548,7 +36133,7 @@ import { ResourceTemplate as ResourceTemplate3 } from "@modelcontextprotocol/sdk
35548
36133
 
35549
36134
  // src/data/auth-catalog.json
35550
36135
  var auth_catalog_default = {
35551
- version: "0.6.1",
36136
+ version: "0.6.3",
35552
36137
  packageName: "@classic-homes/auth",
35553
36138
  description: "Authentication services and Svelte bindings for Classic Theme apps",
35554
36139
  subpackages: {
@@ -38855,7 +39440,7 @@ import { ResourceTemplate as ResourceTemplate4 } from "@modelcontextprotocol/sdk
38855
39440
 
38856
39441
  // src/data/notifications-catalog.json
38857
39442
  var notifications_catalog_default = {
38858
- version: "0.6.1",
39443
+ version: "0.6.3",
38859
39444
  packageName: "@classic-homes/notifications",
38860
39445
  description: "Notification services and Svelte bindings for Classic Theme apps",
38861
39446
  subpackages: {
@@ -39767,7 +40352,7 @@ function registerNotificationsResources(server) {
39767
40352
 
39768
40353
  // src/data/docs-catalog.json
39769
40354
  var docs_catalog_default = {
39770
- version: "0.6.1",
40355
+ version: "0.6.3",
39771
40356
  packageName: "@classic-homes/theme-docs",
39772
40357
  description: "Markdown documentation components for the Classic theme system",
39773
40358
  exports: {
@@ -41445,7 +42030,7 @@ function registerDocsResources(server) {
41445
42030
 
41446
42031
  // src/data/charts-catalog.json
41447
42032
  var charts_catalog_default = {
41448
- version: "0.6.1",
42033
+ version: "0.6.3",
41449
42034
  packageName: "@classic-homes/charts-core",
41450
42035
  description: "Core utilities, types, and themes for Classic Theme chart components",
41451
42036
  subpackages: {
@@ -45097,58 +45682,58 @@ var charts_catalog_default = {
45097
45682
  }
45098
45683
  },
45099
45684
  themeDetails: {
45100
- 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",
45101
45686
  lightTheme: {
45102
45687
  chartColors: [
45103
45688
  {
45104
45689
  index: 1,
45105
- token: "teal[500]",
45106
- description: "Primary chart color"
45690
+ token: "semanticColors.light.chart[1] = ch.heritageTeal (#1b373b)",
45691
+ description: "Heritage Teal"
45107
45692
  },
45108
45693
  {
45109
45694
  index: 2,
45110
- token: "navy[700]",
45111
- description: "Secondary chart color"
45695
+ token: "semanticColors.light.chart[2] = ch.sage700 (#6c705b)",
45696
+ description: "Moss"
45112
45697
  },
45113
45698
  {
45114
45699
  index: 3,
45115
- token: "plum[700]",
45116
- description: "Tertiary chart color"
45700
+ token: "semanticColors.light.chart[3] = ch.accentTeal (#34999c)",
45701
+ description: "Accent Teal"
45117
45702
  },
45118
45703
  {
45119
45704
  index: 4,
45120
- token: "forest[500]",
45121
- description: "Fourth chart color"
45705
+ token: "semanticColors.light.chart[4] = ch.pikesGold (#c9a66e)",
45706
+ description: "Pike's Gold"
45122
45707
  },
45123
45708
  {
45124
45709
  index: 5,
45125
- token: "sky[600]",
45126
- description: "Fifth chart color"
45710
+ token: "semanticColors.light.chart[5] = ch.sage500 (#969a82)",
45711
+ description: "Base Sage"
45127
45712
  },
45128
45713
  {
45129
45714
  index: 6,
45130
- token: "stone[600]",
45131
- description: "Extended palette"
45715
+ token: "ch.collection.classic (#2b4660)",
45716
+ description: "Extended palette: Steel Navy"
45132
45717
  },
45133
45718
  {
45134
45719
  index: 7,
45135
- token: "lavender[700]",
45136
- description: "Extended palette"
45720
+ token: "ch.collection.portrait (#6a5280)",
45721
+ description: "Extended palette: Aubergine"
45137
45722
  },
45138
45723
  {
45139
45724
  index: 8,
45140
- token: "deepTeal[600]",
45141
- description: "Extended palette"
45725
+ token: "ch.collection.fourSquare (#7a5837)",
45726
+ description: "Extended palette: Tobacco"
45142
45727
  },
45143
45728
  {
45144
45729
  index: 9,
45145
- token: "sage[600]",
45146
- description: "Extended palette"
45730
+ token: "ch.collection.preamble (#4a8a6f)",
45731
+ description: "Extended palette: Warm Jade"
45147
45732
  },
45148
45733
  {
45149
45734
  index: 10,
45150
- token: "red[600]",
45151
- description: "Extended palette"
45735
+ token: "ch.sage900 (#2f3128)",
45736
+ description: "Extended palette: Forest"
45152
45737
  }
45153
45738
  ],
45154
45739
  semanticMappings: {
@@ -45163,33 +45748,33 @@ var charts_catalog_default = {
45163
45748
  chartColors: [
45164
45749
  {
45165
45750
  index: 1,
45166
- token: "teal[400]",
45167
- description: "Primary chart color (lighter)"
45751
+ token: "semanticColors.dark.chart[1] (#8fd0d2)",
45752
+ description: "Light teal"
45168
45753
  },
45169
45754
  {
45170
45755
  index: 2,
45171
- token: "navy[400]",
45172
- description: "Secondary chart color (lighter)"
45756
+ token: "semanticColors.dark.chart[2] = ch.lichen (#c2c5b1)",
45757
+ description: "Lichen"
45173
45758
  },
45174
45759
  {
45175
45760
  index: 3,
45176
- token: "plum[400]",
45177
- description: "Tertiary chart color (lighter)"
45761
+ token: "semanticColors.dark.chart[3] (#6cc0c2)",
45762
+ description: "Teal"
45178
45763
  },
45179
45764
  {
45180
45765
  index: 4,
45181
- token: "forest[400]",
45182
- description: "Fourth chart color (lighter)"
45766
+ token: "semanticColors.dark.chart[4] = ch.pikesGold (#c9a66e)",
45767
+ description: "Pike's Gold"
45183
45768
  },
45184
45769
  {
45185
45770
  index: 5,
45186
- token: "sky[400]",
45187
- description: "Fifth chart color (lighter)"
45771
+ token: "semanticColors.dark.chart[5] = ch.sage500 (#969a82)",
45772
+ description: "Base Sage"
45188
45773
  },
45189
45774
  {
45190
45775
  index: 6,
45191
- token: "stone[400]",
45192
- description: "Extended palette"
45776
+ token: "sky[400]",
45777
+ description: "Extended palette (lighter, readable on Forest)"
45193
45778
  },
45194
45779
  {
45195
45780
  index: 7,
@@ -45198,17 +45783,17 @@ var charts_catalog_default = {
45198
45783
  },
45199
45784
  {
45200
45785
  index: 8,
45201
- token: "deepTeal[400]",
45786
+ token: "forest[400]",
45202
45787
  description: "Extended palette"
45203
45788
  },
45204
45789
  {
45205
45790
  index: 9,
45206
- token: "sage[400]",
45791
+ token: "sage[300]",
45207
45792
  description: "Extended palette"
45208
45793
  },
45209
45794
  {
45210
45795
  index: 10,
45211
- token: "red[400]",
45796
+ token: "stone[300]",
45212
45797
  description: "Extended palette"
45213
45798
  }
45214
45799
  ],
@@ -45683,7 +46268,7 @@ interface SankeyData {
45683
46268
 
45684
46269
  // src/data/gantt-catalog.json
45685
46270
  var gantt_catalog_default = {
45686
- version: "0.6.1",
46271
+ version: "0.6.3",
45687
46272
  packageName: "@classic-homes/gantt-core",
45688
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.",
45689
46274
  packages: {
@@ -46666,7 +47251,7 @@ function registerGanttResources(server) {
46666
47251
 
46667
47252
  // src/data/maps-catalog.json
46668
47253
  var maps_catalog_default = {
46669
- version: "0.6.1",
47254
+ version: "0.6.3",
46670
47255
  packageName: "@classic-homes/maps-core",
46671
47256
  description: "Core utilities, types, and themes for Classic Theme MapLibre GL components",
46672
47257
  subpackages: {
@@ -52298,7 +52883,7 @@ ${catalog6.quickReference.tailwindConfig}
52298
52883
 
52299
52884
  // src/data/native-catalog.json
52300
52885
  var native_catalog_default = {
52301
- version: "0.6.1",
52886
+ version: "0.6.3",
52302
52887
  packageName: "@classic-homes/native",
52303
52888
  description: "Native device APIs for iOS and Android apps (Capacitor) and Windows, macOS and Linux desktop apps (Tauri v2), with web fallbacks.",
52304
52889
  subpackages: {
@@ -54471,7 +55056,7 @@ import { NativeGuard, usePlatformCheck } from '@classic-homes/native/react';
54471
55056
 
54472
55057
  // src/data/viewer-catalog.json
54473
55058
  var viewer_catalog_default = {
54474
- version: "0.6.1",
55059
+ version: "0.6.3",
54475
55060
  packageName: "@classic-homes/viewer-svelte",
54476
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.",
54477
55062
  packages: {
@@ -55624,7 +56209,7 @@ function registerPrompts(server) {
55624
56209
  // package.json
55625
56210
  var package_default = {
55626
56211
  name: "@classic-homes/theme-mcp",
55627
- version: "0.6.1",
56212
+ version: "0.6.3",
55628
56213
  description: "MCP server for Classic Theme design system - enables AI assistants to understand and correctly use components, tokens, and patterns",
55629
56214
  type: "module",
55630
56215
  main: "dist/index.js",
@@ -55723,4 +56308,4 @@ function createServer() {
55723
56308
  export {
55724
56309
  createServer
55725
56310
  };
55726
- //# sourceMappingURL=chunk-6VVXAK6F.js.map
56311
+ //# sourceMappingURL=chunk-B2DYCQB6.js.map