@crossworks/share-ui 0.300.123 → 0.300.129

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crossworks/share-ui",
3
- "version": "0.300.123",
3
+ "version": "0.300.129",
4
4
  "description": "The server-rendered share surface — the /s/<token> presenters, view-payload contract, mini-app sandbox, and the few primitives they need. Lives in MANTLE (the server renders these), published for jackdaw to consume; may depend only on @mantle/{client-types,content-core} (the jackdaw-repo-split boundary).",
5
5
  "type": "module",
6
6
  "exports": {
@@ -40,8 +40,8 @@
40
40
  "@dicebear/core": "^10.7.0",
41
41
  "@dicebear/styles": "^10.6.0",
42
42
  "@firecms/neat": "1.1.0",
43
- "@mantle/client-types": "npm:@crossworks/client-types@0.300.123",
44
- "@mantle/content-core": "npm:@crossworks/content-core@0.300.123",
43
+ "@mantle/client-types": "npm:@crossworks/client-types@0.300.129",
44
+ "@mantle/content-core": "npm:@crossworks/content-core@0.300.129",
45
45
  "@radix-ui/react-label": "^2.1.16",
46
46
  "@radix-ui/react-slot": "^1.4.0",
47
47
  "class-variance-authority": "^0.7.1",
@@ -335,18 +335,10 @@ export const GENERATED_COLOR_THEMES: ColorTheme[] = [
335
335
  },
336
336
  {
337
337
  id: 'jackdaw',
338
- label: 'Jackdaw',
338
+ label: 'MantleOS',
339
339
  swatches: {
340
- light: ['#e46e08', '#f0c88c', '#fde7bc'],
341
- dark: ['#eb9f13', '#452a18', '#120f0e'],
342
- },
343
- },
344
- {
345
- id: 'jackdaw-harvest',
346
- label: 'Jackdaw Harvest',
347
- swatches: {
348
- light: ['#14565d', '#c4e5e8', '#f8deb9'],
349
- dark: ['#49a8b3', '#14565d', '#1f1f1f'],
340
+ light: ['#b23a06', '#f0c88c', '#faedcf'],
341
+ dark: ['#eb9f13', '#2d241d', '#120f0e'],
350
342
  },
351
343
  },
352
344
  ];
package/styles/themes.css CHANGED
@@ -5912,54 +5912,54 @@
5912
5912
  }
5913
5913
 
5914
5914
  [data-color-theme="jackdaw"], [data-color-theme="jackdaw"] .light {
5915
- --background: #fde7bc;
5916
- --foreground: #2d1500;
5917
- --card: #fff9ec;
5918
- --card-foreground: #2d1500;
5919
- --popover: #fff9ec;
5920
- --popover-foreground: #2d1500;
5921
- --primary: #e46e08;
5922
- --primary-foreground: #2d1500;
5923
- --primary-ink: #ad3b00;
5924
- --secondary: #e3b575;
5925
- --secondary-foreground: #2d1500;
5926
- --muted: #f5d9a4;
5927
- --muted-foreground: #57504a;
5915
+ --background: #faedcf;
5916
+ --foreground: #341a00;
5917
+ --card: #fff4dd;
5918
+ --card-foreground: #341a00;
5919
+ --popover: #fff4dd;
5920
+ --popover-foreground: #341a00;
5921
+ --primary: #b23a06;
5922
+ --primary-foreground: #fff4dd;
5923
+ --primary-ink: #b23a06;
5924
+ --secondary: #f0c88c;
5925
+ --secondary-foreground: #341a00;
5926
+ --muted: #f7dcaa;
5927
+ --muted-foreground: #6a4f30;
5928
5928
  --accent: #f0c88c;
5929
- --accent-foreground: #5c1e02;
5930
- --destructive: #c83c04;
5931
- --destructive-foreground: #ffffff;
5932
- --destructive-ink: #b82b00;
5933
- --success: #008939;
5934
- --success-foreground: #ffffff;
5935
- --success-ink: #007121;
5936
- --warning: #a36500;
5937
- --warning-foreground: #ffffff;
5938
- --warning-ink: #8f5300;
5939
- --info: #0079ca;
5940
- --info-foreground: #ffffff;
5941
- --info-ink: #0062b1;
5942
- --code-keyword: #ad3b00;
5943
- --code-string: #00712e;
5944
- --code-number: #5d6600;
5945
- --code-title: #0064a9;
5929
+ --accent-foreground: #341a00;
5930
+ --destructive: #a52a1e;
5931
+ --destructive-foreground: #fff4dd;
5932
+ --destructive-ink: #a52a1e;
5933
+ --success: #007424;
5934
+ --success-foreground: #fff4dd;
5935
+ --success-ink: #007323;
5936
+ --warning: #8b4d00;
5937
+ --warning-foreground: #fff4dd;
5938
+ --warning-ink: #8b4d00;
5939
+ --info: #0061b0;
5940
+ --info-foreground: #fff4dd;
5941
+ --info-ink: #0061b0;
5942
+ --code-keyword: #b23a06;
5943
+ --code-string: #00732f;
5944
+ --code-number: #905300;
5945
+ --code-title: #0066ab;
5946
5946
  --code-variable: #8e4088;
5947
- --border: #baae94;
5948
- --input: #baae94;
5949
- --ring: #d96400;
5950
- --chart-1: #cf6a22;
5951
- --chart-2: #627e00;
5952
- --chart-3: #008a8c;
5953
- --chart-4: #4a6bc8;
5954
- --chart-5: #a7498e;
5955
- --sidebar: #f5d9a4;
5956
- --sidebar-foreground: #2d1500;
5957
- --sidebar-primary: #e46e08;
5958
- --sidebar-primary-foreground: #2d1500;
5947
+ --border: #c9b691;
5948
+ --input: #c9b691;
5949
+ --ring: #c83c04;
5950
+ --chart-1: #e46e08;
5951
+ --chart-2: #eb9f13;
5952
+ --chart-3: #c83c04;
5953
+ --chart-4: #5c1e02;
5954
+ --chart-5: #baae94;
5955
+ --sidebar: #f7dcaa;
5956
+ --sidebar-foreground: #341a00;
5957
+ --sidebar-primary: #b23a06;
5958
+ --sidebar-primary-foreground: #fff4dd;
5959
5959
  --sidebar-accent: #f0c88c;
5960
- --sidebar-accent-foreground: #5c1e02;
5961
- --sidebar-border: #baae94;
5962
- --sidebar-ring: #ce5a00;
5960
+ --sidebar-accent-foreground: #341a00;
5961
+ --sidebar-border: #c9b691;
5962
+ --sidebar-ring: #c83c04;
5963
5963
  }
5964
5964
 
5965
5965
  .dark[data-color-theme="jackdaw"], [data-color-theme="jackdaw"] .dark {
@@ -5972,149 +5972,47 @@
5972
5972
  --primary: #eb9f13;
5973
5973
  --primary-foreground: #120f0e;
5974
5974
  --primary-ink: #eb9f13;
5975
- --secondary: #2f2923;
5976
- --secondary-foreground: #f0c88c;
5977
- --muted: #251f1b;
5978
- --muted-foreground: #baae94;
5979
- --accent: #452a18;
5980
- --accent-foreground: #f0c88c;
5981
- --destructive: #c83c04;
5982
- --destructive-foreground: #ffffff;
5983
- --destructive-ink: #e6592d;
5984
- --success: #008939;
5985
- --success-foreground: #ffffff;
5986
- --success-ink: #279b4a;
5987
- --warning: #a36500;
5988
- --warning-foreground: #ffffff;
5989
- --warning-ink: #b97926;
5990
- --info: #0079ca;
5991
- --info-foreground: #ffffff;
5992
- --info-ink: #258bdd;
5975
+ --secondary: #2d241d;
5976
+ --secondary-foreground: #fde7bc;
5977
+ --muted: #191412;
5978
+ --muted-foreground: #bda882;
5979
+ --accent: #2d241d;
5980
+ --accent-foreground: #fde7bc;
5981
+ --destructive: #e0553f;
5982
+ --destructive-foreground: #120f0e;
5983
+ --destructive-ink: #e0553f;
5984
+ --success: #25a351;
5985
+ --success-foreground: #120f0e;
5986
+ --success-ink: #25a351;
5987
+ --warning: #bb7b00;
5988
+ --warning-foreground: #120f0e;
5989
+ --warning-ink: #bb7b00;
5990
+ --info: #0090e2;
5991
+ --info-foreground: #120f0e;
5992
+ --info-ink: #0090e2;
5993
5993
  --code-keyword: #eb9f13;
5994
5994
  --code-string: #65c67d;
5995
5995
  --code-number: #abb843;
5996
5996
  --code-title: #57b6ff;
5997
5997
  --code-variable: #df8cd8;
5998
- --border: #423b35;
5999
- --input: #423b35;
5998
+ --border: #3d352e;
5999
+ --input: #3d352e;
6000
6000
  --ring: #eb9f13;
6001
- --chart-1: #e8a028;
6002
- --chart-2: #58b762;
6003
- --chart-3: #00b3dc;
6004
- --chart-4: #9e8cf4;
6005
- --chart-5: #e87297;
6006
- --sidebar: #251f1b;
6001
+ --chart-1: #eb9f13;
6002
+ --chart-2: #e46e08;
6003
+ --chart-3: #f0c88c;
6004
+ --chart-4: #c83c04;
6005
+ --chart-5: #baae94;
6006
+ --sidebar: #191412;
6007
6007
  --sidebar-foreground: #fde7bc;
6008
6008
  --sidebar-primary: #eb9f13;
6009
6009
  --sidebar-primary-foreground: #120f0e;
6010
- --sidebar-accent: #452a18;
6011
- --sidebar-accent-foreground: #f0c88c;
6012
- --sidebar-border: #423b35;
6010
+ --sidebar-accent: #2d241d;
6011
+ --sidebar-accent-foreground: #fde7bc;
6012
+ --sidebar-border: #3d352e;
6013
6013
  --sidebar-ring: #eb9f13;
6014
6014
  }
6015
6015
 
6016
- [data-color-theme="jackdaw-harvest"], [data-color-theme="jackdaw-harvest"] .light {
6017
- --background: #f8deb9;
6018
- --foreground: #1f1f1f;
6019
- --card: #fff0dd;
6020
- --card-foreground: #1f1f1f;
6021
- --popover: #fff0dd;
6022
- --popover-foreground: #1f1f1f;
6023
- --primary: #14565d;
6024
- --primary-foreground: #ffffff;
6025
- --primary-ink: #14565d;
6026
- --secondary: #fdd09b;
6027
- --secondary-foreground: #1f1f1f;
6028
- --muted: #e5caa8;
6029
- --muted-foreground: #784a3a;
6030
- --accent: #c4e5e8;
6031
- --accent-foreground: #14565d;
6032
- --destructive: #c94000;
6033
- --destructive-foreground: #ffffff;
6034
- --destructive-ink: #ab2000;
6035
- --success: #008939;
6036
- --success-foreground: #ffffff;
6037
- --success-ink: #006715;
6038
- --warning: #a56600;
6039
- --warning-foreground: #ffffff;
6040
- --warning-ink: #854900;
6041
- --info: #0079ca;
6042
- --info-foreground: #ffffff;
6043
- --info-ink: #0058a7;
6044
- --code-keyword: #14565d;
6045
- --code-string: #006723;
6046
- --code-number: #854900;
6047
- --code-title: #005a9e;
6048
- --code-variable: #873981;
6049
- --border: #c8b297;
6050
- --input: #c8b297;
6051
- --ring: #14565d;
6052
- --chart-1: #005f73;
6053
- --chart-2: #5e65c7;
6054
- --chart-3: #ae467e;
6055
- --chart-4: #ad5700;
6056
- --chart-5: #4b8310;
6057
- --sidebar: #e5caa8;
6058
- --sidebar-foreground: #1f1f1f;
6059
- --sidebar-primary: #14565d;
6060
- --sidebar-primary-foreground: #ffffff;
6061
- --sidebar-accent: #c4e5e8;
6062
- --sidebar-accent-foreground: #14565d;
6063
- --sidebar-border: #c8b297;
6064
- --sidebar-ring: #14565d;
6065
- }
6066
-
6067
- .dark[data-color-theme="jackdaw-harvest"], [data-color-theme="jackdaw-harvest"] .dark {
6068
- --background: #1f1f1f;
6069
- --foreground: #f8deb9;
6070
- --card: #2e2a24;
6071
- --card-foreground: #f8deb9;
6072
- --popover: #2e2a24;
6073
- --popover-foreground: #f8deb9;
6074
- --primary: #49a8b3;
6075
- --primary-foreground: #1f1f1f;
6076
- --primary-ink: #49a8b3;
6077
- --secondary: #3f4245;
6078
- --secondary-foreground: #f8deb9;
6079
- --muted: #36322c;
6080
- --muted-foreground: #999a9c;
6081
- --accent: #14565d;
6082
- --accent-foreground: #fdd09b;
6083
- --destructive: #c94000;
6084
- --destructive-foreground: #ffffff;
6085
- --destructive-ink: #fc6f40;
6086
- --success: #008939;
6087
- --success-foreground: #ffffff;
6088
- --success-ink: #40af5d;
6089
- --warning: #a56600;
6090
- --warning-foreground: #ffffff;
6091
- --warning-ink: #ce8c3c;
6092
- --info: #0079ca;
6093
- --info-foreground: #ffffff;
6094
- --info-ink: #3d9ff3;
6095
- --code-keyword: #49a8b3;
6096
- --code-string: #65c67d;
6097
- --code-number: #e1a035;
6098
- --code-title: #57b6ff;
6099
- --code-variable: #df8cd8;
6100
- --border: #3e484a;
6101
- --input: #3e484a;
6102
- --ring: #49a8b3;
6103
- --chart-1: #00b1c5;
6104
- --chart-2: #8993fa;
6105
- --chart-3: #e174ac;
6106
- --chart-4: #df8624;
6107
- --chart-5: #77b24a;
6108
- --sidebar: #36322c;
6109
- --sidebar-foreground: #f8deb9;
6110
- --sidebar-primary: #49a8b3;
6111
- --sidebar-primary-foreground: #1f1f1f;
6112
- --sidebar-accent: #14565d;
6113
- --sidebar-accent-foreground: #fdd09b;
6114
- --sidebar-border: #3e484a;
6115
- --sidebar-ring: #49a8b3;
6116
- }
6117
-
6118
6016
  @theme inline {
6119
6017
  --color-background: var(--background);
6120
6018
  --color-foreground: var(--foreground);
package/themes/seeds.mjs CHANGED
@@ -3593,42 +3593,39 @@ export const THEME_SEEDS = [
3593
3593
  },
3594
3594
  {
3595
3595
  id: 'jackdaw',
3596
- label: 'Jackdaw',
3597
- // The Jackdaw brand palette — the retro badge colours.
3596
+ label: 'MantleOS',
3597
+ // The ONE MantleOS theme (Jason, 2026-10-21): the mantle-site palette,
3598
+ // token for token, so the apps and mantleos.io look like one product. The
3599
+ // id stays `jackdaw` because saved appearance rows store it; it replaces
3600
+ // both Jackdaw themes, and `jackdaw-harvest` (the teal one) is retired, so
3601
+ // a brain that saved it falls back to this fresh-install default. The
3602
+ // brand guide is dev-brain page 4b3d1273; the source of truth for the
3603
+ // values is mantle-site app/globals.css.
3598
3604
  //
3599
- // TEMPERATURE. Ten of the eleven brand colours sit in a warm band (oklch
3600
- // hue 37–86°). The supplied neutrals #3C3C3F (hue 286°, blue-violet) and
3601
- // #52524C (107°, green) fall outside it, and a cool border line against
3602
- // warm cream reads as dirty rather than neutral. Both are re-cut here at
3603
- // their ORIGINAL lightness on the family hue (62°): #423b35 and #57504a.
3605
+ // LIGHT is print paper: the ground is #faedcf, the average paper colour of
3606
+ // the site's story prints, not the palette cream. Rust is deepened to
3607
+ // #b23a06 so it holds AA as a fill under cream text.
3604
3608
  //
3605
- // LADDER. Surfaces ship verbatim (only text tokens get contrast-solved),
3606
- // so each mode is an authored L* ladder with ~4–6 per step. Six warm tones
3607
- // this close in hue need that spacing or cards stop reading as elevated
3608
- // and secondary/accent collapse into the same button.
3609
- //
3610
- // ORANGE WEARS DARK TEXT. White on #E46E08 is 3.2:1 and fails AA; the
3611
- // brand brown on it is 5.4:1, and matches how the badge itself is drawn.
3612
- //
3613
- // SHARED BASE. Cream #FDE7BC, brown #2D1500 and amber #EB9F13 are one set
3614
- // with the Mantle site (mantle-ai.tech); each brand keeps its own lead
3615
- // (Jackdaw orange, Mantle grey plus blue-grey). Text is the brand brown
3616
- // itself, not a near-twin.
3609
+ // DARK is the same print under a lamp, not an inversion: surfaces warm
3610
+ // toward ember and gold takes over from rust as the lead. Orange and gold
3611
+ // wear dark ink, never white.
3617
3612
  light: {
3618
- background: '#fde7bc',
3619
- foreground: '#2d1500',
3620
- card: '#fff9ec',
3621
- primary: '#e46e08',
3622
- 'primary-foreground': '#2d1500',
3623
- secondary: '#e3b575',
3624
- 'secondary-foreground': '#2d1500',
3625
- muted: '#f5d9a4',
3626
- 'muted-foreground': '#57504a',
3613
+ background: '#faedcf',
3614
+ foreground: '#341a00',
3615
+ card: '#fff4dd',
3616
+ primary: '#b23a06',
3617
+ 'primary-foreground': '#fff4dd',
3618
+ secondary: '#f0c88c',
3619
+ 'secondary-foreground': '#341a00',
3620
+ muted: '#f7dcaa',
3621
+ 'muted-foreground': '#6a4f30',
3627
3622
  accent: '#f0c88c',
3628
- 'accent-foreground': '#5c1e02',
3629
- destructive: '#c83c04',
3630
- 'destructive-foreground': '#ffffff',
3631
- border: '#baae94',
3623
+ 'accent-foreground': '#341a00',
3624
+ destructive: '#a52a1e',
3625
+ 'destructive-foreground': '#fff4dd',
3626
+ border: '#c9b691',
3627
+ ring: '#c83c04',
3628
+ charts: ['#e46e08', '#eb9f13', '#c83c04', '#5c1e02', '#baae94'],
3632
3629
  },
3633
3630
  dark: {
3634
3631
  background: '#120f0e',
@@ -3636,64 +3633,17 @@ export const THEME_SEEDS = [
3636
3633
  card: '#1e1814',
3637
3634
  primary: '#eb9f13',
3638
3635
  'primary-foreground': '#120f0e',
3639
- secondary: '#2f2923',
3640
- 'secondary-foreground': '#f0c88c',
3641
- muted: '#251f1b',
3642
- 'muted-foreground': '#baae94',
3643
- accent: '#452a18',
3644
- 'accent-foreground': '#f0c88c',
3645
- destructive: '#c83c04',
3646
- 'destructive-foreground': '#ffffff',
3647
- border: '#423b35',
3648
- },
3649
- },
3650
- {
3651
- id: 'jackdaw-harvest',
3652
- label: 'Jackdaw Harvest',
3653
- // Variant B — the badge's FULL stripe range, teal and green included,
3654
- // against Variant A ('jackdaw') which is the warm half only.
3655
- //
3656
- // The cool half earns its keep twice. Deep teal #14565D is the one brand
3657
- // colour dark enough to carry white (8.3:1), so it is the primary; and
3658
- // because teal/green are present, the supplied cool greys #3F4245 and
3659
- // #8F9092 (hue 248/264) sit ~45 deg from family instead of stranded, so
3660
- // they ship as-is here — unlike in Variant A, where the same kind of grey
3661
- // had to be re-cut warm.
3662
- //
3663
- // #DB5113 is NOT the destructive fill: at L* 53 it is in the dead zone
3664
- // where neither white (4.04) nor near-black (4.08) reaches AA. Darkened
3665
- // to L* 47 as #c94000, white clears at 4.98.
3666
- light: {
3667
- background: '#f8deb9',
3668
- foreground: '#1f1f1f',
3669
- card: '#fff0dd',
3670
- primary: '#14565d',
3671
- 'primary-foreground': '#ffffff',
3672
- secondary: '#fdd09b',
3673
- 'secondary-foreground': '#1f1f1f',
3674
- muted: '#e5caa8',
3675
- 'muted-foreground': '#784a3a',
3676
- accent: '#c4e5e8',
3677
- 'accent-foreground': '#14565d',
3678
- destructive: '#c94000',
3679
- 'destructive-foreground': '#ffffff',
3680
- border: '#c8b297',
3681
- },
3682
- dark: {
3683
- background: '#1f1f1f',
3684
- foreground: '#f8deb9',
3685
- card: '#2e2a24',
3686
- primary: '#49a8b3',
3687
- 'primary-foreground': '#1f1f1f',
3688
- secondary: '#3f4245',
3689
- 'secondary-foreground': '#f8deb9',
3690
- muted: '#36322c',
3691
- 'muted-foreground': '#8f9092',
3692
- accent: '#14565d',
3693
- 'accent-foreground': '#fdd09b',
3694
- destructive: '#c94000',
3695
- 'destructive-foreground': '#ffffff',
3696
- border: '#3e484a',
3636
+ secondary: '#2d241d',
3637
+ 'secondary-foreground': '#fde7bc',
3638
+ muted: '#191412',
3639
+ 'muted-foreground': '#bda882',
3640
+ accent: '#2d241d',
3641
+ 'accent-foreground': '#fde7bc',
3642
+ destructive: '#e0553f',
3643
+ 'destructive-foreground': '#120f0e',
3644
+ border: '#3d352e',
3645
+ ring: '#eb9f13',
3646
+ charts: ['#eb9f13', '#e46e08', '#f0c88c', '#c83c04', '#baae94'],
3697
3647
  },
3698
3648
  },
3699
3649
  ];