rift-ds 1.22.0 → 1.23.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -3
- package/behaviors/chat-card.css +135 -0
- package/chat/AssistantTurn.js +9 -3
- package/chat/ChatLauncher.js +3 -5
- package/chat/ChatProvider.d.ts +10 -1
- package/chat/ChatProvider.js +3 -2
- package/chat/ChatWidget.css +12 -0
- package/chat/ChatWidget.d.ts +27 -4
- package/chat/ChatWidget.js +73 -37
- package/chat/DemoWelcome.js +2 -2
- package/chat/actions.d.ts +105 -0
- package/chat/actions.js +47 -0
- package/chat/demo-card-components.d.ts +3 -4
- package/chat/demo-script.js +15 -15
- package/chat/generatedStarters.d.ts +19 -0
- package/chat/generatedStarters.js +49 -0
- package/chat/index.d.ts +7 -3
- package/chat/index.js +25 -2
- package/chat/placement.d.ts +9 -0
- package/chat/placement.js +7 -0
- package/chat/queries.d.ts +6 -0
- package/chat/queries.js +25 -0
- package/chat/questions.d.ts +1 -1
- package/chat/questions.js +1 -1
- package/chat/registry.json.d.ts +4 -2
- package/chat/registry.json.js +1 -1
- package/chat/selection.css +8 -0
- package/chat/selection.d.ts +40 -0
- package/chat/selection.js +140 -0
- package/chat/selectionContext.d.ts +70 -0
- package/chat/selectionContext.js +60 -0
- package/chat/server.d.ts +54 -1
- package/chat/server.js +101 -5
- package/chat/suggestions.d.ts +12 -8
- package/chat/suggestions.js +1 -1
- package/chat/types.d.ts +2 -0
- package/chat/useChat.js +5 -3
- package/components/ActionCard/ActionCard.css +147 -0
- package/components/ActionCard/ActionCard.d.ts +54 -0
- package/components/ActionCard/ActionCard.js +75 -0
- package/components/ActionReadout/ActionReadout.css +47 -0
- package/components/ActionReadout/ActionReadout.d.ts +29 -0
- package/components/ActionReadout/ActionReadout.js +22 -0
- package/components/AgentPlan/AgentPlan.css +18 -8
- package/components/AgentPlan/AgentPlan.js +1 -0
- package/components/AppSidebar/AppSidebar.css +11 -5
- package/components/AppSidebar/AppSidebar.d.ts +2 -0
- package/components/AppSidebar/AppSidebar.js +13 -1
- package/components/ArtifactCard/ArtifactCard.css +11 -10
- package/components/ArtifactCard/ArtifactCard.js +3 -1
- package/components/ChatThread/ChatThread.css +6 -3
- package/components/Chip/Chip.css +9 -1
- package/components/CodeBlock/CodeBlock.css +2 -0
- package/components/CodeDiff/CodeDiff.css +18 -8
- package/components/CodeDiff/CodeDiff.js +1 -0
- package/components/Composer/Composer.css +52 -13
- package/components/Composer/Composer.d.ts +9 -1
- package/components/Composer/Composer.js +19 -1
- package/components/DataTable/FilterEditor.js +4 -2
- package/components/DataTable/filterModel.d.ts +8 -0
- package/components/DataTable/filterModel.js +4 -0
- package/components/DataTable/views.js +2 -2
- package/components/DocumentChip/DocumentChip.css +27 -3
- package/components/EntitySwitcher/EntitySwitcher.css +333 -0
- package/components/EntitySwitcher/EntitySwitcher.d.ts +74 -0
- package/components/EntitySwitcher/EntitySwitcher.js +291 -0
- package/components/InterruptCard/InterruptCard.css +96 -34
- package/components/InterruptCard/InterruptCard.d.ts +20 -3
- package/components/InterruptCard/InterruptCard.js +23 -8
- package/components/MessageCard/MessageCard.css +27 -18
- package/components/MessageCard/MessageCard.js +1 -0
- package/components/PromptSuggestions/PromptSuggestions.css +3 -0
- package/components/Prose/Prose.css +2 -0
- package/components/QuestionCard/QuestionCard.css +9 -5
- package/components/QuestionCard/QuestionCard.js +1 -0
- package/components/SourceTrail/SourceTrail.css +33 -11
- package/components/SourceTrail/SourceTrail.js +3 -2
- package/components/TableToolbar/TableToolbar.css +4 -1
- package/components/TableToolbar/TableToolbar.js +1 -1
- package/components/ToolCall/ToolCall.css +89 -22
- package/components/ToolCall/ToolCall.js +2 -1
- package/components/UsageCard/UsageCard.css +29 -2
- package/components/UsageCard/UsageCard.js +1 -0
- package/components/registry.json +24 -0
- package/components/registry.json.d.ts +24 -0
- package/components/registry.json.js +1 -1
- package/fonts/presets/bricolage-grotesque-300-800-latin-ext.woff2 +0 -0
- package/fonts/presets/bricolage-grotesque-300-800-latin.woff2 +0 -0
- package/fonts/presets/figtree-300-800-latin-ext.woff2 +0 -0
- package/fonts/presets/figtree-300-800-latin.woff2 +0 -0
- package/index.d.ts +3 -0
- package/index.js +6 -0
- package/package.json +5 -1
- package/tokens/motion.d.ts +2 -0
- package/tokens/motion.js +2 -0
- package/tokens/presets/plum.css +419 -0
- package/tokens/presets/presets.css +1 -0
- package/tokens/registry.json +2 -0
- package/tokens/registry.json.d.ts +2 -0
- package/tokens/registry.json.js +1 -1
- package/tokens/tokens-dark.css +4 -0
- package/tokens/tokens-light.css +4 -0
- package/tokens/tokens-typography.css +8 -2
- package/tokens/values.json.js +1 -1
package/index.js
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import { Accordion } from "./components/Accordion/Accordion.js";
|
|
2
|
+
import { ActionCard } from "./components/ActionCard/ActionCard.js";
|
|
3
|
+
import { ActionReadout } from "./components/ActionReadout/ActionReadout.js";
|
|
2
4
|
import { AgentPlan } from "./components/AgentPlan/AgentPlan.js";
|
|
3
5
|
import { AgentRail } from "./components/AgentRail/AgentRail.js";
|
|
4
6
|
import { AGENT_RING_CLASS, agentRingProps } from "./components/AgentStatus/AgentRing.js";
|
|
@@ -63,6 +65,7 @@ import { DropdownMenu } from "./components/DropdownMenu/DropdownMenu.js";
|
|
|
63
65
|
import { MenuKeyLabelsContext, MenuShortcutHint } from "./components/DropdownMenu/ShortcutHint.js";
|
|
64
66
|
import { EmptyState } from "./components/EmptyState/EmptyState.js";
|
|
65
67
|
import { EntityCard } from "./components/EntityCard/EntityCard.js";
|
|
68
|
+
import { EntitySwitcher } from "./components/EntitySwitcher/EntitySwitcher.js";
|
|
66
69
|
import { EventCalendar } from "./components/EventCalendar/EventCalendar.js";
|
|
67
70
|
import { Field } from "./components/Field/Field.js";
|
|
68
71
|
import { FieldContext, useField } from "./components/Field/FieldContext.js";
|
|
@@ -171,6 +174,8 @@ import { revokeAttachmentUrls, useAttachments } from "./components/Attachment/us
|
|
|
171
174
|
export {
|
|
172
175
|
AGENT_RING_CLASS,
|
|
173
176
|
Accordion,
|
|
177
|
+
ActionCard,
|
|
178
|
+
ActionReadout,
|
|
174
179
|
AgentPlan,
|
|
175
180
|
AgentRail,
|
|
176
181
|
AgentStatus,
|
|
@@ -240,6 +245,7 @@ export {
|
|
|
240
245
|
EditorHost,
|
|
241
246
|
EmptyState,
|
|
242
247
|
EntityCard,
|
|
248
|
+
EntitySwitcher,
|
|
243
249
|
EventCalendar,
|
|
244
250
|
FILE_KINDS,
|
|
245
251
|
Field,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "rift-ds",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.23.0",
|
|
4
4
|
"description": "An AI-ready React design system: accessible components on composable tokens, light/dark theming, and CSS-variable overrides.",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Robert Ritacca",
|
|
@@ -93,6 +93,10 @@
|
|
|
93
93
|
"types": "./chat/server.d.ts",
|
|
94
94
|
"import": "./chat/server.js"
|
|
95
95
|
},
|
|
96
|
+
"./chat/actions": {
|
|
97
|
+
"types": "./chat/actions.d.ts",
|
|
98
|
+
"import": "./chat/actions.js"
|
|
99
|
+
},
|
|
96
100
|
"./chat/upstash": {
|
|
97
101
|
"types": "./chat/upstash.d.ts",
|
|
98
102
|
"import": "./chat/upstash.js"
|
package/tokens/motion.d.ts
CHANGED
|
@@ -66,3 +66,5 @@ export declare const MOTION_CONTEXT_RESTORE_WAIT_MS = 700;
|
|
|
66
66
|
export declare const MOTION_ANNOUNCE_DEBOUNCE_MS = 500;
|
|
67
67
|
/** How long a keyboard shortcut sequence waits for its next key ("g" then "i"): a key pressed later than this after the one before starts a new sequence. A schedule timing, so the reduced-motion guard leaves it alone. */
|
|
68
68
|
export declare const MOTION_SHORTCUT_SEQUENCE_MS = 1000;
|
|
69
|
+
/** How long a host waits after a reader's selection stops changing (a drag across text, Shift+arrow) before acting on it, such as asking a model about it, so a sweep acts once rather than on every step. A schedule timing. */
|
|
70
|
+
export declare const MOTION_SELECTION_SETTLE_MS = 400;
|
package/tokens/motion.js
CHANGED
|
@@ -25,6 +25,7 @@ const MOTION_THREAD_NAMING_DELAY_MS = 1600;
|
|
|
25
25
|
const MOTION_CONTEXT_RESTORE_WAIT_MS = 700;
|
|
26
26
|
const MOTION_ANNOUNCE_DEBOUNCE_MS = 500;
|
|
27
27
|
const MOTION_SHORTCUT_SEQUENCE_MS = 1e3;
|
|
28
|
+
const MOTION_SELECTION_SETTLE_MS = 400;
|
|
28
29
|
export {
|
|
29
30
|
MOTION_ACTION_DISMISS_MS,
|
|
30
31
|
MOTION_ANNOUNCE_DEBOUNCE_MS,
|
|
@@ -42,6 +43,7 @@ export {
|
|
|
42
43
|
MOTION_ORBIT_REFERENCE_MS,
|
|
43
44
|
MOTION_RENDERER_WATCHDOG_MS,
|
|
44
45
|
MOTION_SCROLL_SETTLE_MS,
|
|
46
|
+
MOTION_SELECTION_SETTLE_MS,
|
|
45
47
|
MOTION_SHADER_COLOR_FADE_MS,
|
|
46
48
|
MOTION_SHORTCUT_SEQUENCE_MS,
|
|
47
49
|
MOTION_STREAM_CHAR_INTERVAL_MS,
|
|
@@ -0,0 +1,419 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* AUTO-GENERATED. Do not edit.
|
|
3
|
+
* Theme preset "plum" (Aubergine).
|
|
4
|
+
* Source of truth: website/src/lib/theme/presets.ts (THEME_PRESETS + presetOverrides).
|
|
5
|
+
* Fonts: self-hosted from src/fonts/presets/ (scripts/sync-preset-fonts.mjs; OFL-1.1).
|
|
6
|
+
* Regenerate: node scripts/generate-preset-stylesheets.mjs
|
|
7
|
+
* Import after tokens.css, then set data-brand="plum" on <html>.
|
|
8
|
+
*/
|
|
9
|
+
@font-face {
|
|
10
|
+
font-family: 'Figtree';
|
|
11
|
+
font-style: normal;
|
|
12
|
+
font-weight: 300 800;
|
|
13
|
+
font-display: swap;
|
|
14
|
+
src: url('../../fonts/presets/figtree-300-800-latin.woff2') format('woff2');
|
|
15
|
+
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
@font-face {
|
|
19
|
+
font-family: 'Figtree';
|
|
20
|
+
font-style: normal;
|
|
21
|
+
font-weight: 300 800;
|
|
22
|
+
font-display: swap;
|
|
23
|
+
src: url('../../fonts/presets/figtree-300-800-latin-ext.woff2') format('woff2');
|
|
24
|
+
unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
@font-face {
|
|
28
|
+
font-family: 'Bricolage Grotesque';
|
|
29
|
+
font-style: normal;
|
|
30
|
+
font-weight: 300 800;
|
|
31
|
+
font-display: swap;
|
|
32
|
+
src: url('../../fonts/presets/bricolage-grotesque-300-800-latin.woff2') format('woff2');
|
|
33
|
+
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
@font-face {
|
|
37
|
+
font-family: 'Bricolage Grotesque';
|
|
38
|
+
font-style: normal;
|
|
39
|
+
font-weight: 300 800;
|
|
40
|
+
font-display: swap;
|
|
41
|
+
src: url('../../fonts/presets/bricolage-grotesque-300-800-latin-ext.woff2') format('woff2');
|
|
42
|
+
unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
html[data-brand="plum"] {
|
|
46
|
+
--color-action-primary-bg: var(--primitive-yellow-07);
|
|
47
|
+
--color-action-primary-bg-active: var(--primitive-yellow-05);
|
|
48
|
+
--color-action-primary-bg-hover: var(--primitive-yellow-06);
|
|
49
|
+
--color-action-primary-border: var(--primitive-yellow-10);
|
|
50
|
+
--color-action-primary-border-secondary: var(--primitive-yellow-07);
|
|
51
|
+
--color-action-primary-border-tertiary: var(--primitive-yellow-07);
|
|
52
|
+
--color-action-primary-text: var(--primitive-yellow-11);
|
|
53
|
+
--color-action-primary-text-active: var(--primitive-yellow-11);
|
|
54
|
+
--color-action-primary-text-secondary: var(--primitive-yellow-10);
|
|
55
|
+
--color-action-primary-text-tertiary: var(--primitive-yellow-08);
|
|
56
|
+
--color-ai-gradient-end: var(--primitive-yellow-07);
|
|
57
|
+
--color-ai-gradient-mid: var(--primitive-purple-07);
|
|
58
|
+
--color-ai-gradient-start: var(--primitive-purple-09);
|
|
59
|
+
--color-ambient-1: #EFA640;
|
|
60
|
+
--color-ambient-2: #7A4A32;
|
|
61
|
+
--color-ambient-3: #3B2218;
|
|
62
|
+
--color-ambient-4: #F5C77E;
|
|
63
|
+
--color-ambient-5: #5C3426;
|
|
64
|
+
--color-ambient-6: #EFA640;
|
|
65
|
+
--color-brand-mark: var(--primitive-purple-07);
|
|
66
|
+
--color-brand-mark-end: var(--primitive-purple-08);
|
|
67
|
+
--color-core-accent-amber: #EFA640;
|
|
68
|
+
--color-core-accent-cobalt: #4F6BD8;
|
|
69
|
+
--color-core-accent-coral: #E0605A;
|
|
70
|
+
--color-core-accent-gold: #8CC0E8;
|
|
71
|
+
--color-core-accent-mint: #3F78B5;
|
|
72
|
+
--color-core-accent-violet: #7A4A32;
|
|
73
|
+
--color-core-ui-primary: var(--primitive-yellow-07);
|
|
74
|
+
--color-core-ui-secondary: var(--primitive-yellow-10);
|
|
75
|
+
--color-input-border-hover: var(--primitive-yellow-08);
|
|
76
|
+
--color-input-border-selected: var(--primitive-yellow-07);
|
|
77
|
+
--color-product-mark: var(--primitive-purple-07);
|
|
78
|
+
--color-text-display: var(--primitive-purple-08);
|
|
79
|
+
--font-caption-letter-spacing: 0.01em;
|
|
80
|
+
--font-display-1-letter-spacing: -0.022em;
|
|
81
|
+
--font-display-1-weight: 500;
|
|
82
|
+
--font-display-2-letter-spacing: -0.018em;
|
|
83
|
+
--font-display-2-weight: 500;
|
|
84
|
+
--font-family-heading: 'Bricolage Grotesque', sans-serif;
|
|
85
|
+
--font-family-primary: 'Figtree', sans-serif;
|
|
86
|
+
--font-heading-1-letter-spacing: 0.025em;
|
|
87
|
+
--font-heading-1-weight: 500;
|
|
88
|
+
--font-heading-2-letter-spacing: 0.025em;
|
|
89
|
+
--font-heading-2-weight: 500;
|
|
90
|
+
--font-heading-3-letter-spacing: 0.025em;
|
|
91
|
+
--font-heading-3-weight: 500;
|
|
92
|
+
--font-mega-1-letter-spacing: -0.025em;
|
|
93
|
+
--font-mega-1-weight: 500;
|
|
94
|
+
--font-mega-2-letter-spacing: -0.025em;
|
|
95
|
+
--font-mega-2-weight: 500;
|
|
96
|
+
--font-overline-letter-spacing: 0.09em;
|
|
97
|
+
--font-paragraph-emphasis-letter-spacing: 0;
|
|
98
|
+
--font-paragraph-letter-spacing: 0.01em;
|
|
99
|
+
--font-paragraph-sm-emphasis-letter-spacing: 0.01em;
|
|
100
|
+
--font-paragraph-sm-letter-spacing: 0.01em;
|
|
101
|
+
--font-sub-display-letter-spacing: -0.012em;
|
|
102
|
+
--font-sub-display-weight: 500;
|
|
103
|
+
--font-title-body-letter-spacing: 0;
|
|
104
|
+
--font-title-body-weight: 500;
|
|
105
|
+
--material-symbols-weight: 300;
|
|
106
|
+
--primitive-blue-00: #FAFBFE;
|
|
107
|
+
--primitive-blue-01: #F4F6FC;
|
|
108
|
+
--primitive-blue-02: #E1E5F6;
|
|
109
|
+
--primitive-blue-03: #C3CBEE;
|
|
110
|
+
--primitive-blue-04: #A0AEE4;
|
|
111
|
+
--primitive-blue-05: #7C8FD9;
|
|
112
|
+
--primitive-blue-06: #5C74D0;
|
|
113
|
+
--primitive-blue-07: #3F5BC8;
|
|
114
|
+
--primitive-blue-08: #304598;
|
|
115
|
+
--primitive-blue-09: #213069;
|
|
116
|
+
--primitive-blue-10: #121A3A;
|
|
117
|
+
--primitive-blue-11: #0D1228;
|
|
118
|
+
--primitive-green-00: #F8FCFA;
|
|
119
|
+
--primitive-green-01: #EFF7F4;
|
|
120
|
+
--primitive-green-02: #D1EADF;
|
|
121
|
+
--primitive-green-03: #A2D4BF;
|
|
122
|
+
--primitive-green-04: #73BE9E;
|
|
123
|
+
--primitive-green-05: #62B692;
|
|
124
|
+
--primitive-green-06: #4CAC83;
|
|
125
|
+
--primitive-green-07: #2E9E6E;
|
|
126
|
+
--primitive-green-08: #247B55;
|
|
127
|
+
--primitive-green-09: #1A583D;
|
|
128
|
+
--primitive-green-10: #0F3324;
|
|
129
|
+
--primitive-green-11: #0C281C;
|
|
130
|
+
--primitive-neutral-00: #FFFFFF;
|
|
131
|
+
--primitive-neutral-00-a01: rgba(255, 255, 255, 0.01);
|
|
132
|
+
--primitive-neutral-00-a60: rgba(255, 255, 255, 0.6);
|
|
133
|
+
--primitive-neutral-00-a90: rgba(255, 255, 255, 0.9);
|
|
134
|
+
--primitive-neutral-01: #F2EEEB;
|
|
135
|
+
--primitive-neutral-01-a01: rgba(242, 238, 235, 0.01);
|
|
136
|
+
--primitive-neutral-01-a60: rgba(242, 238, 235, 0.6);
|
|
137
|
+
--primitive-neutral-01-a82: rgba(242, 238, 235, 0.82);
|
|
138
|
+
--primitive-neutral-02: #D3CFCA;
|
|
139
|
+
--primitive-neutral-02-a50: rgba(211, 207, 202, 0.5);
|
|
140
|
+
--primitive-neutral-02-a80: rgba(211, 207, 202, 0.8);
|
|
141
|
+
--primitive-neutral-03: #BBB7B2;
|
|
142
|
+
--primitive-neutral-03-a80: rgba(187, 183, 178, 0.8);
|
|
143
|
+
--primitive-neutral-04: #A39F9B;
|
|
144
|
+
--primitive-neutral-05: #8B8783;
|
|
145
|
+
--primitive-neutral-06: #726E6A;
|
|
146
|
+
--primitive-neutral-07: #3A3632;
|
|
147
|
+
--primitive-neutral-07-a80: rgba(58, 54, 50, 0.8);
|
|
148
|
+
--primitive-neutral-08: #2E2A26;
|
|
149
|
+
--primitive-neutral-08-a50: rgba(46, 42, 38, 0.5);
|
|
150
|
+
--primitive-neutral-08-a80: rgba(46, 42, 38, 0.8);
|
|
151
|
+
--primitive-neutral-09: #1B1712;
|
|
152
|
+
--primitive-neutral-09-a01: rgba(27, 23, 18, 0.01);
|
|
153
|
+
--primitive-neutral-09-a60: rgba(27, 23, 18, 0.6);
|
|
154
|
+
--primitive-neutral-09-a66: rgba(27, 23, 18, 0.66);
|
|
155
|
+
--primitive-neutral-09-a80: rgba(27, 23, 18, 0.8);
|
|
156
|
+
--primitive-neutral-10: #130E0A;
|
|
157
|
+
--primitive-neutral-10-a01: rgba(19, 14, 10, 0.01);
|
|
158
|
+
--primitive-neutral-10-a60: rgba(19, 14, 10, 0.6);
|
|
159
|
+
--primitive-neutral-11: #0E0A06;
|
|
160
|
+
--primitive-orange-00: #FFFBF9;
|
|
161
|
+
--primitive-orange-01: #FEF6F1;
|
|
162
|
+
--primitive-orange-02: #FBD8C2;
|
|
163
|
+
--primitive-orange-03: #F6B387;
|
|
164
|
+
--primitive-orange-04: #F39152;
|
|
165
|
+
--primitive-orange-05: #F28946;
|
|
166
|
+
--primitive-orange-06: #F1833C;
|
|
167
|
+
--primitive-orange-07: #F07A2E;
|
|
168
|
+
--primitive-orange-08: #B65C23;
|
|
169
|
+
--primitive-orange-09: #824219;
|
|
170
|
+
--primitive-orange-10: #4D270F;
|
|
171
|
+
--primitive-orange-11: #391D0B;
|
|
172
|
+
--primitive-purple-00: #FBFAF9;
|
|
173
|
+
--primitive-purple-01: #F3F0EF;
|
|
174
|
+
--primitive-purple-02: #D6CCC9;
|
|
175
|
+
--primitive-purple-03: #B09D96;
|
|
176
|
+
--primitive-purple-04: #806056;
|
|
177
|
+
--primitive-purple-05: #5C3426;
|
|
178
|
+
--primitive-purple-06: #5C3426;
|
|
179
|
+
--primitive-purple-07: #5C3426;
|
|
180
|
+
--primitive-purple-08: #44261C;
|
|
181
|
+
--primitive-purple-09: #301B14;
|
|
182
|
+
--primitive-purple-10: #1D100C;
|
|
183
|
+
--primitive-purple-11: #150C09;
|
|
184
|
+
--primitive-radius-050: 1px;
|
|
185
|
+
--primitive-radius-100: 1px;
|
|
186
|
+
--primitive-radius-1200: 14px;
|
|
187
|
+
--primitive-radius-200: 2px;
|
|
188
|
+
--primitive-radius-300: 4px;
|
|
189
|
+
--primitive-radius-400: 5px;
|
|
190
|
+
--primitive-radius-600: 7px;
|
|
191
|
+
--primitive-radius-pill: 4px;
|
|
192
|
+
--primitive-red-00: #FDF6F7;
|
|
193
|
+
--primitive-red-01: #FBECED;
|
|
194
|
+
--primitive-red-02: #F5CCCF;
|
|
195
|
+
--primitive-red-03: #F0AFB6;
|
|
196
|
+
--primitive-red-04: #EA939C;
|
|
197
|
+
--primitive-red-05: #E4737E;
|
|
198
|
+
--primitive-red-06: #DE5764;
|
|
199
|
+
--primitive-red-07: #D93B4A;
|
|
200
|
+
--primitive-red-08: #B4313D;
|
|
201
|
+
--primitive-red-09: #7C222A;
|
|
202
|
+
--primitive-red-10: #4B141A;
|
|
203
|
+
--primitive-red-11: #380F13;
|
|
204
|
+
--primitive-teal-00: #F8FBFC;
|
|
205
|
+
--primitive-teal-01: #F0F7F8;
|
|
206
|
+
--primitive-teal-02: #D7EAED;
|
|
207
|
+
--primitive-teal-03: #ACD4DA;
|
|
208
|
+
--primitive-teal-04: #7FBCC5;
|
|
209
|
+
--primitive-teal-05: #51A4B1;
|
|
210
|
+
--primitive-teal-06: #3897A5;
|
|
211
|
+
--primitive-teal-07: #1F8A9A;
|
|
212
|
+
--primitive-teal-08: #19707C;
|
|
213
|
+
--primitive-teal-09: #124F59;
|
|
214
|
+
--primitive-teal-10: #0A2D32;
|
|
215
|
+
--primitive-teal-11: #072124;
|
|
216
|
+
--primitive-yellow-00: #FEF9F3;
|
|
217
|
+
--primitive-yellow-01: #FDF3E5;
|
|
218
|
+
--primitive-yellow-02: #FAE1BE;
|
|
219
|
+
--primitive-yellow-03: #F6CB90;
|
|
220
|
+
--primitive-yellow-04: #F2B560;
|
|
221
|
+
--primitive-yellow-05: #F1B055;
|
|
222
|
+
--primitive-yellow-06: #F0AC4C;
|
|
223
|
+
--primitive-yellow-07: #EFA640;
|
|
224
|
+
--primitive-yellow-08: #A8752D;
|
|
225
|
+
--primitive-yellow-09: #75511F;
|
|
226
|
+
--primitive-yellow-10: #442F12;
|
|
227
|
+
--primitive-yellow-11: #33240E;
|
|
228
|
+
--shadow-floating: none;
|
|
229
|
+
--shadow-modal: none;
|
|
230
|
+
--shadow-table-pinned: none;
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
html[data-brand="plum"][data-theme="dark"] {
|
|
234
|
+
--color-action-primary-bg: var(--primitive-yellow-07);
|
|
235
|
+
--color-action-primary-bg-active: var(--primitive-yellow-05);
|
|
236
|
+
--color-action-primary-bg-hover: var(--primitive-yellow-06);
|
|
237
|
+
--color-action-primary-border: var(--primitive-yellow-07);
|
|
238
|
+
--color-action-primary-border-secondary: var(--primitive-yellow-08);
|
|
239
|
+
--color-action-primary-border-tertiary: var(--primitive-yellow-07);
|
|
240
|
+
--color-action-primary-text: var(--primitive-yellow-11);
|
|
241
|
+
--color-action-primary-text-active: var(--primitive-yellow-11);
|
|
242
|
+
--color-action-primary-text-secondary: var(--primitive-yellow-10);
|
|
243
|
+
--color-action-primary-text-tertiary: var(--primitive-yellow-07);
|
|
244
|
+
--color-ai-gradient-end: var(--primitive-yellow-07);
|
|
245
|
+
--color-ai-gradient-mid: var(--primitive-purple-07);
|
|
246
|
+
--color-ai-gradient-start: var(--primitive-purple-09);
|
|
247
|
+
--color-ambient-1: #EFA640;
|
|
248
|
+
--color-ambient-2: #7A4A32;
|
|
249
|
+
--color-ambient-3: #3B2218;
|
|
250
|
+
--color-ambient-4: #F5C77E;
|
|
251
|
+
--color-ambient-5: #5C3426;
|
|
252
|
+
--color-ambient-6: #EFA640;
|
|
253
|
+
--color-brand-mark: #E0A878;
|
|
254
|
+
--color-brand-mark-end: #E0A878;
|
|
255
|
+
--color-core-accent-amber: #EFA640;
|
|
256
|
+
--color-core-accent-cobalt: #4F6BD8;
|
|
257
|
+
--color-core-accent-coral: #E0605A;
|
|
258
|
+
--color-core-accent-gold: #8CC0E8;
|
|
259
|
+
--color-core-accent-mint: #3F78B5;
|
|
260
|
+
--color-core-accent-violet: #7A4A32;
|
|
261
|
+
--color-core-ui-primary: var(--primitive-yellow-07);
|
|
262
|
+
--color-core-ui-secondary: var(--primitive-yellow-09);
|
|
263
|
+
--color-input-border-hover: var(--primitive-yellow-08);
|
|
264
|
+
--color-input-border-selected: var(--primitive-yellow-08);
|
|
265
|
+
--color-product-mark: #E0A878;
|
|
266
|
+
--color-text-display: #F2E8DC;
|
|
267
|
+
--font-caption-letter-spacing: 0.01em;
|
|
268
|
+
--font-display-1-letter-spacing: -0.022em;
|
|
269
|
+
--font-display-1-weight: 500;
|
|
270
|
+
--font-display-2-letter-spacing: -0.018em;
|
|
271
|
+
--font-display-2-weight: 500;
|
|
272
|
+
--font-family-heading: 'Bricolage Grotesque', sans-serif;
|
|
273
|
+
--font-family-primary: 'Figtree', sans-serif;
|
|
274
|
+
--font-heading-1-letter-spacing: 0.025em;
|
|
275
|
+
--font-heading-1-weight: 500;
|
|
276
|
+
--font-heading-2-letter-spacing: 0.025em;
|
|
277
|
+
--font-heading-2-weight: 500;
|
|
278
|
+
--font-heading-3-letter-spacing: 0.025em;
|
|
279
|
+
--font-heading-3-weight: 500;
|
|
280
|
+
--font-mega-1-letter-spacing: -0.025em;
|
|
281
|
+
--font-mega-1-weight: 500;
|
|
282
|
+
--font-mega-2-letter-spacing: -0.025em;
|
|
283
|
+
--font-mega-2-weight: 500;
|
|
284
|
+
--font-overline-letter-spacing: 0.09em;
|
|
285
|
+
--font-paragraph-emphasis-letter-spacing: 0;
|
|
286
|
+
--font-paragraph-letter-spacing: 0.01em;
|
|
287
|
+
--font-paragraph-sm-emphasis-letter-spacing: 0.01em;
|
|
288
|
+
--font-paragraph-sm-letter-spacing: 0.01em;
|
|
289
|
+
--font-sub-display-letter-spacing: -0.012em;
|
|
290
|
+
--font-sub-display-weight: 500;
|
|
291
|
+
--font-title-body-letter-spacing: 0;
|
|
292
|
+
--font-title-body-weight: 500;
|
|
293
|
+
--material-symbols-weight: 300;
|
|
294
|
+
--primitive-blue-00: #FAFBFE;
|
|
295
|
+
--primitive-blue-01: #F4F6FC;
|
|
296
|
+
--primitive-blue-02: #E1E5F6;
|
|
297
|
+
--primitive-blue-03: #C3CBEE;
|
|
298
|
+
--primitive-blue-04: #A0AEE4;
|
|
299
|
+
--primitive-blue-05: #7C8FD9;
|
|
300
|
+
--primitive-blue-06: #5C74D0;
|
|
301
|
+
--primitive-blue-07: #3F5BC8;
|
|
302
|
+
--primitive-blue-08: #304598;
|
|
303
|
+
--primitive-blue-09: #213069;
|
|
304
|
+
--primitive-blue-10: #121A3A;
|
|
305
|
+
--primitive-blue-11: #0D1228;
|
|
306
|
+
--primitive-green-00: #F8FCFA;
|
|
307
|
+
--primitive-green-01: #EFF7F4;
|
|
308
|
+
--primitive-green-02: #D1EADF;
|
|
309
|
+
--primitive-green-03: #A2D4BF;
|
|
310
|
+
--primitive-green-04: #73BE9E;
|
|
311
|
+
--primitive-green-05: #62B692;
|
|
312
|
+
--primitive-green-06: #4CAC83;
|
|
313
|
+
--primitive-green-07: #2E9E6E;
|
|
314
|
+
--primitive-green-08: #247B55;
|
|
315
|
+
--primitive-green-09: #1A583D;
|
|
316
|
+
--primitive-green-10: #0F3324;
|
|
317
|
+
--primitive-green-11: #0C281C;
|
|
318
|
+
--primitive-neutral-00: #F9F6F2;
|
|
319
|
+
--primitive-neutral-00-a01: rgba(249, 246, 242, 0.01);
|
|
320
|
+
--primitive-neutral-00-a60: rgba(249, 246, 242, 0.6);
|
|
321
|
+
--primitive-neutral-00-a90: rgba(249, 246, 242, 0.9);
|
|
322
|
+
--primitive-neutral-01: #ECE9E5;
|
|
323
|
+
--primitive-neutral-01-a01: rgba(236, 233, 229, 0.01);
|
|
324
|
+
--primitive-neutral-01-a60: rgba(236, 233, 229, 0.6);
|
|
325
|
+
--primitive-neutral-01-a82: rgba(236, 233, 229, 0.82);
|
|
326
|
+
--primitive-neutral-02: #D3D0CC;
|
|
327
|
+
--primitive-neutral-02-a50: rgba(211, 208, 204, 0.5);
|
|
328
|
+
--primitive-neutral-02-a80: rgba(211, 208, 204, 0.8);
|
|
329
|
+
--primitive-neutral-03: #BBB7B4;
|
|
330
|
+
--primitive-neutral-03-a80: rgba(187, 183, 180, 0.8);
|
|
331
|
+
--primitive-neutral-04: #A39F9B;
|
|
332
|
+
--primitive-neutral-05: #8B8783;
|
|
333
|
+
--primitive-neutral-06: #726E6A;
|
|
334
|
+
--primitive-neutral-07: #393531;
|
|
335
|
+
--primitive-neutral-07-a80: rgba(57, 53, 49, 0.8);
|
|
336
|
+
--primitive-neutral-08: #2D2925;
|
|
337
|
+
--primitive-neutral-08-a50: rgba(45, 41, 37, 0.5);
|
|
338
|
+
--primitive-neutral-08-a80: rgba(45, 41, 37, 0.8);
|
|
339
|
+
--primitive-neutral-09: #191612;
|
|
340
|
+
--primitive-neutral-09-a01: rgba(25, 22, 18, 0.01);
|
|
341
|
+
--primitive-neutral-09-a60: rgba(25, 22, 18, 0.6);
|
|
342
|
+
--primitive-neutral-09-a66: rgba(25, 22, 18, 0.66);
|
|
343
|
+
--primitive-neutral-09-a80: rgba(25, 22, 18, 0.8);
|
|
344
|
+
--primitive-neutral-10: #110D09;
|
|
345
|
+
--primitive-neutral-10-a01: rgba(17, 13, 9, 0.01);
|
|
346
|
+
--primitive-neutral-10-a60: rgba(17, 13, 9, 0.6);
|
|
347
|
+
--primitive-neutral-11: #0C0905;
|
|
348
|
+
--primitive-orange-00: #FFFBF9;
|
|
349
|
+
--primitive-orange-01: #FEF6F1;
|
|
350
|
+
--primitive-orange-02: #FBD8C2;
|
|
351
|
+
--primitive-orange-03: #F6B387;
|
|
352
|
+
--primitive-orange-04: #F39152;
|
|
353
|
+
--primitive-orange-05: #F28946;
|
|
354
|
+
--primitive-orange-06: #F1833C;
|
|
355
|
+
--primitive-orange-07: #F07A2E;
|
|
356
|
+
--primitive-orange-08: #B65C23;
|
|
357
|
+
--primitive-orange-09: #824219;
|
|
358
|
+
--primitive-orange-10: #4D270F;
|
|
359
|
+
--primitive-orange-11: #391D0B;
|
|
360
|
+
--primitive-purple-00: #FBFAF9;
|
|
361
|
+
--primitive-purple-01: #F3F0EF;
|
|
362
|
+
--primitive-purple-02: #D6CCC9;
|
|
363
|
+
--primitive-purple-03: #B09D96;
|
|
364
|
+
--primitive-purple-04: #806056;
|
|
365
|
+
--primitive-purple-05: #5C3426;
|
|
366
|
+
--primitive-purple-06: #5C3426;
|
|
367
|
+
--primitive-purple-07: #5C3426;
|
|
368
|
+
--primitive-purple-08: #44261C;
|
|
369
|
+
--primitive-purple-09: #301B14;
|
|
370
|
+
--primitive-purple-10: #1D100C;
|
|
371
|
+
--primitive-purple-11: #150C09;
|
|
372
|
+
--primitive-radius-050: 1px;
|
|
373
|
+
--primitive-radius-100: 1px;
|
|
374
|
+
--primitive-radius-1200: 14px;
|
|
375
|
+
--primitive-radius-200: 2px;
|
|
376
|
+
--primitive-radius-300: 4px;
|
|
377
|
+
--primitive-radius-400: 5px;
|
|
378
|
+
--primitive-radius-600: 7px;
|
|
379
|
+
--primitive-radius-pill: 4px;
|
|
380
|
+
--primitive-red-00: #FDF6F7;
|
|
381
|
+
--primitive-red-01: #FBECED;
|
|
382
|
+
--primitive-red-02: #F5CCCF;
|
|
383
|
+
--primitive-red-03: #F0AFB6;
|
|
384
|
+
--primitive-red-04: #EA939C;
|
|
385
|
+
--primitive-red-05: #E4737E;
|
|
386
|
+
--primitive-red-06: #DE5764;
|
|
387
|
+
--primitive-red-07: #D93B4A;
|
|
388
|
+
--primitive-red-08: #B4313D;
|
|
389
|
+
--primitive-red-09: #7C222A;
|
|
390
|
+
--primitive-red-10: #4B141A;
|
|
391
|
+
--primitive-red-11: #380F13;
|
|
392
|
+
--primitive-teal-00: #F8FBFC;
|
|
393
|
+
--primitive-teal-01: #F0F7F8;
|
|
394
|
+
--primitive-teal-02: #D7EAED;
|
|
395
|
+
--primitive-teal-03: #ACD4DA;
|
|
396
|
+
--primitive-teal-04: #7FBCC5;
|
|
397
|
+
--primitive-teal-05: #51A4B1;
|
|
398
|
+
--primitive-teal-06: #3897A5;
|
|
399
|
+
--primitive-teal-07: #1F8A9A;
|
|
400
|
+
--primitive-teal-08: #19707C;
|
|
401
|
+
--primitive-teal-09: #124F59;
|
|
402
|
+
--primitive-teal-10: #0A2D32;
|
|
403
|
+
--primitive-teal-11: #072124;
|
|
404
|
+
--primitive-yellow-00: #FEF9F3;
|
|
405
|
+
--primitive-yellow-01: #FDF3E5;
|
|
406
|
+
--primitive-yellow-02: #FAE1BE;
|
|
407
|
+
--primitive-yellow-03: #F6CB90;
|
|
408
|
+
--primitive-yellow-04: #F2B560;
|
|
409
|
+
--primitive-yellow-05: #F1B055;
|
|
410
|
+
--primitive-yellow-06: #F0AC4C;
|
|
411
|
+
--primitive-yellow-07: #EFA640;
|
|
412
|
+
--primitive-yellow-08: #A8752D;
|
|
413
|
+
--primitive-yellow-09: #75511F;
|
|
414
|
+
--primitive-yellow-10: #442F12;
|
|
415
|
+
--primitive-yellow-11: #33240E;
|
|
416
|
+
--shadow-floating: none;
|
|
417
|
+
--shadow-modal: none;
|
|
418
|
+
--shadow-table-pinned: none;
|
|
419
|
+
}
|
package/tokens/registry.json
CHANGED
|
@@ -86,6 +86,7 @@
|
|
|
86
86
|
"--color-chat-bubble-received-text",
|
|
87
87
|
"--color-chat-bubble-sent-bg",
|
|
88
88
|
"--color-chat-bubble-sent-text",
|
|
89
|
+
"--color-chat-card-bg",
|
|
89
90
|
"--color-chat-context-bg",
|
|
90
91
|
"--color-control-thumb",
|
|
91
92
|
"--color-core-accent-amber",
|
|
@@ -169,6 +170,7 @@
|
|
|
169
170
|
"--font-caption-line-height",
|
|
170
171
|
"--font-caption-size",
|
|
171
172
|
"--font-caption-weight",
|
|
173
|
+
"--font-code-aspect",
|
|
172
174
|
"--font-display-1-family",
|
|
173
175
|
"--font-display-1-letter-spacing",
|
|
174
176
|
"--font-display-1-line-height",
|
|
@@ -86,6 +86,7 @@ declare const _default: {
|
|
|
86
86
|
"--color-chat-bubble-received-text",
|
|
87
87
|
"--color-chat-bubble-sent-bg",
|
|
88
88
|
"--color-chat-bubble-sent-text",
|
|
89
|
+
"--color-chat-card-bg",
|
|
89
90
|
"--color-chat-context-bg",
|
|
90
91
|
"--color-control-thumb",
|
|
91
92
|
"--color-core-accent-amber",
|
|
@@ -169,6 +170,7 @@ declare const _default: {
|
|
|
169
170
|
"--font-caption-line-height",
|
|
170
171
|
"--font-caption-size",
|
|
171
172
|
"--font-caption-weight",
|
|
173
|
+
"--font-code-aspect",
|
|
172
174
|
"--font-display-1-family",
|
|
173
175
|
"--font-display-1-letter-spacing",
|
|
174
176
|
"--font-display-1-line-height",
|
package/tokens/registry.json.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const categories = { "colour": ["--color-action-destructive-bg", "--color-action-destructive-bg-active", "--color-action-destructive-bg-hover", "--color-action-destructive-border", "--color-action-destructive-text", "--color-action-destructive-text-secondary", "--color-action-icon-active", "--color-action-icon-default", "--color-action-neutral-bg", "--color-action-neutral-bg-active", "--color-action-neutral-bg-hover", "--color-action-neutral-border", "--color-action-neutral-text", "--color-action-passive-bg", "--color-action-passive-bg-active", "--color-action-passive-bg-hover", "--color-action-passive-text", "--color-action-primary-bg", "--color-action-primary-bg-active", "--color-action-primary-bg-hover", "--color-action-primary-border", "--color-action-primary-border-secondary", "--color-action-primary-border-tertiary", "--color-action-primary-text", "--color-action-primary-text-active", "--color-action-primary-text-secondary", "--color-action-primary-text-tertiary", "--color-ai-button-bg", "--color-ai-gradient-end", "--color-ai-gradient-mid", "--color-ai-gradient-start", "--color-ambient-1", "--color-ambient-2", "--color-ambient-3", "--color-ambient-4", "--color-ambient-5", "--color-ambient-6", "--color-avatar-bg-1", "--color-avatar-bg-2", "--color-avatar-bg-3", "--color-avatar-bg-4", "--color-avatar-bg-5", "--color-avatar-bg-6", "--color-avatar-text-1", "--color-avatar-text-2", "--color-avatar-text-3", "--color-avatar-text-4", "--color-avatar-text-5", "--color-avatar-text-6", "--color-bg-app-shell", "--color-bg-app-surface", "--color-bg-container-border", "--color-bg-container-inverse", "--color-bg-container-primary", "--color-bg-container-primary-semi", "--color-bg-container-primary-transparent", "--color-bg-container-secondary", "--color-bg-container-tertiary", "--color-bg-glass", "--color-bg-page-inverse", "--color-bg-page-primary", "--color-brand-mark", "--color-brand-mark-end", "--color-calendar-cell-bg", "--color-calendar-cell-bg-hover", "--color-calendar-event-bg", "--color-calendar-event-bg-hover", "--color-calendar-event-border", "--color-chart-contribution-0", "--color-chart-contribution-1", "--color-chart-contribution-2", "--color-chart-contribution-3", "--color-chart-contribution-4", "--color-chart-series-1", "--color-chart-series-2", "--color-chart-series-3", "--color-chart-series-4", "--color-chart-series-5", "--color-chart-series-6", "--color-chart-series-7", "--color-chat-bubble-received-bg", "--color-chat-bubble-received-text", "--color-chat-bubble-sent-bg", "--color-chat-bubble-sent-text", "--color-chat-context-bg", "--color-control-thumb", "--color-core-accent-amber", "--color-core-accent-cobalt", "--color-core-accent-coral", "--color-core-accent-gold", "--color-core-accent-mint", "--color-core-accent-violet", "--color-core-ui-primary", "--color-core-ui-secondary", "--color-count-badge-bg", "--color-count-badge-text", "--color-divider", "--color-file-document", "--color-file-pdf", "--color-file-presentation", "--color-file-spreadsheet", "--color-icon-bg", "--color-icon-primary", "--color-icon-secondary", "--color-input-bg-disabled", "--color-input-bg-primary", "--color-input-border-disabled", "--color-input-border-hover", "--color-input-border-primary", "--color-input-border-selected", "--color-input-indicator-border", "--color-input-text-disabled", "--color-input-text-inverse", "--color-input-text-placeholder", "--color-input-text-primary", "--color-label-bg", "--color-pixel-ink-1", "--color-pixel-ink-2", "--color-pixel-ink-3", "--color-pixel-ink-4", "--color-pixel-ink-5", "--color-pixel-ink-6", "--color-product-mark", "--color-scrim", "--color-status-error-bg", "--color-status-error-border", "--color-status-error-icon", "--color-status-error-text", "--color-status-info-bg", "--color-status-info-border", "--color-status-info-icon", "--color-status-info-text", "--color-status-neutral-bg", "--color-status-neutral-border", "--color-status-neutral-icon", "--color-status-neutral-text", "--color-status-positive-bg", "--color-status-positive-border", "--color-status-positive-icon", "--color-status-positive-text", "--color-status-warning-bg", "--color-status-warning-border", "--color-status-warning-icon", "--color-status-warning-text", "--color-table-body-bg", "--color-table-border", "--color-table-divider", "--color-table-header-bg", "--color-table-row-hover-bg", "--color-table-row-selected-bg", "--color-table-row-stripe-bg", "--color-text-display", "--color-text-heading", "--color-text-inverse", "--color-text-on-inverse", "--color-text-primary", "--color-text-secondary", "--color-text-tertiary", "--color-trend-down", "--color-trend-up"], "typography": ["--font-caption-family", "--font-caption-letter-spacing", "--font-caption-line-height", "--font-caption-size", "--font-caption-weight", "--font-display-1-family", "--font-display-1-letter-spacing", "--font-display-1-line-height", "--font-display-1-size", "--font-display-1-weight", "--font-display-2-family", "--font-display-2-letter-spacing", "--font-display-2-line-height", "--font-display-2-size", "--font-display-2-weight", "--font-family-body", "--font-family-code", "--font-family-heading", "--font-family-primary", "--font-heading-1-family", "--font-heading-1-letter-spacing", "--font-heading-1-line-height", "--font-heading-1-size", "--font-heading-1-weight", "--font-heading-2-family", "--font-heading-2-letter-spacing", "--font-heading-2-line-height", "--font-heading-2-size", "--font-heading-2-weight", "--font-heading-3-family", "--font-heading-3-letter-spacing", "--font-heading-3-line-height", "--font-heading-3-size", "--font-heading-3-weight", "--font-line-height-1100", "--font-line-height-400", "--font-line-height-500", "--font-line-height-600", "--font-line-height-700", "--font-line-height-800", "--font-line-height-900", "--font-mega-1-family", "--font-mega-1-letter-spacing", "--font-mega-1-line-height", "--font-mega-1-size", "--font-mega-1-weight", "--font-mega-2-family", "--font-mega-2-letter-spacing", "--font-mega-2-line-height", "--font-mega-2-size", "--font-mega-2-weight", "--font-overline-family", "--font-overline-letter-spacing", "--font-overline-line-height", "--font-overline-size", "--font-overline-weight", "--font-paragraph-emphasis-family", "--font-paragraph-emphasis-letter-spacing", "--font-paragraph-emphasis-line-height", "--font-paragraph-emphasis-size", "--font-paragraph-emphasis-weight", "--font-paragraph-family", "--font-paragraph-letter-spacing", "--font-paragraph-line-height", "--font-paragraph-size", "--font-paragraph-sm-emphasis-family", "--font-paragraph-sm-emphasis-letter-spacing", "--font-paragraph-sm-emphasis-line-height", "--font-paragraph-sm-emphasis-size", "--font-paragraph-sm-emphasis-weight", "--font-paragraph-sm-family", "--font-paragraph-sm-letter-spacing", "--font-paragraph-sm-line-height", "--font-paragraph-sm-size", "--font-paragraph-sm-weight", "--font-paragraph-weight", "--font-size-1000", "--font-size-1200", "--font-size-1400", "--font-size-1600", "--font-size-2400", "--font-size-2900", "--font-size-300", "--font-size-3300", "--font-size-350", "--font-size-400", "--font-size-550", "--font-size-600", "--font-size-650", "--font-size-750", "--font-sub-display-family", "--font-sub-display-letter-spacing", "--font-sub-display-line-height", "--font-sub-display-size", "--font-sub-display-weight", "--font-title-body-family", "--font-title-body-letter-spacing", "--font-title-body-line-height", "--font-title-body-size", "--font-title-body-weight"], "spacing": ["--gap-050", "--gap-100", "--gap-1000", "--gap-1500", "--gap-200", "--gap-2000", "--gap-300", "--gap-3000", "--gap-400", "--gap-500", "--padding-050", "--padding-100", "--padding-1000", "--padding-150", "--padding-1500", "--padding-200", "--padding-300", "--padding-400", "--padding-500"], "radius": ["--radius-050", "--radius-100", "--radius-1200", "--radius-200", "--radius-300", "--radius-400", "--radius-600", "--radius-pill"], "border": ["--border-025", "--border-050"], "shadow": ["--shadow-floating", "--shadow-modal", "--shadow-table-pinned"], "icons": ["--icon-size-1200", "--icon-size-500", "--icon-size-600", "--icon-size-800"], "controls": ["--control-height-compact", "--control-height-default"], "motion": ["--motion-duration-base", "--motion-duration-deliberate", "--motion-duration-fast", "--motion-duration-instant", "--motion-duration-loop-matrix", "--motion-duration-loop-shimmer", "--motion-duration-loop-spin", "--motion-duration-orbit", "--motion-duration-slow", "--motion-duration-slower", "--motion-ease-emphasized", "--motion-ease-entrance", "--motion-ease-linear", "--motion-ease-spring", "--motion-ease-standard"], "stacking": ["--layer-chat-launcher", "--layer-chat-panel", "--layer-chat-scrim", "--layer-command", "--layer-dropdown", "--layer-floating", "--layer-modal", "--layer-nav", "--layer-nav-rail", "--layer-nav-scrim", "--layer-sticky", "--layer-toast"] };
|
|
1
|
+
const categories = { "colour": ["--color-action-destructive-bg", "--color-action-destructive-bg-active", "--color-action-destructive-bg-hover", "--color-action-destructive-border", "--color-action-destructive-text", "--color-action-destructive-text-secondary", "--color-action-icon-active", "--color-action-icon-default", "--color-action-neutral-bg", "--color-action-neutral-bg-active", "--color-action-neutral-bg-hover", "--color-action-neutral-border", "--color-action-neutral-text", "--color-action-passive-bg", "--color-action-passive-bg-active", "--color-action-passive-bg-hover", "--color-action-passive-text", "--color-action-primary-bg", "--color-action-primary-bg-active", "--color-action-primary-bg-hover", "--color-action-primary-border", "--color-action-primary-border-secondary", "--color-action-primary-border-tertiary", "--color-action-primary-text", "--color-action-primary-text-active", "--color-action-primary-text-secondary", "--color-action-primary-text-tertiary", "--color-ai-button-bg", "--color-ai-gradient-end", "--color-ai-gradient-mid", "--color-ai-gradient-start", "--color-ambient-1", "--color-ambient-2", "--color-ambient-3", "--color-ambient-4", "--color-ambient-5", "--color-ambient-6", "--color-avatar-bg-1", "--color-avatar-bg-2", "--color-avatar-bg-3", "--color-avatar-bg-4", "--color-avatar-bg-5", "--color-avatar-bg-6", "--color-avatar-text-1", "--color-avatar-text-2", "--color-avatar-text-3", "--color-avatar-text-4", "--color-avatar-text-5", "--color-avatar-text-6", "--color-bg-app-shell", "--color-bg-app-surface", "--color-bg-container-border", "--color-bg-container-inverse", "--color-bg-container-primary", "--color-bg-container-primary-semi", "--color-bg-container-primary-transparent", "--color-bg-container-secondary", "--color-bg-container-tertiary", "--color-bg-glass", "--color-bg-page-inverse", "--color-bg-page-primary", "--color-brand-mark", "--color-brand-mark-end", "--color-calendar-cell-bg", "--color-calendar-cell-bg-hover", "--color-calendar-event-bg", "--color-calendar-event-bg-hover", "--color-calendar-event-border", "--color-chart-contribution-0", "--color-chart-contribution-1", "--color-chart-contribution-2", "--color-chart-contribution-3", "--color-chart-contribution-4", "--color-chart-series-1", "--color-chart-series-2", "--color-chart-series-3", "--color-chart-series-4", "--color-chart-series-5", "--color-chart-series-6", "--color-chart-series-7", "--color-chat-bubble-received-bg", "--color-chat-bubble-received-text", "--color-chat-bubble-sent-bg", "--color-chat-bubble-sent-text", "--color-chat-card-bg", "--color-chat-context-bg", "--color-control-thumb", "--color-core-accent-amber", "--color-core-accent-cobalt", "--color-core-accent-coral", "--color-core-accent-gold", "--color-core-accent-mint", "--color-core-accent-violet", "--color-core-ui-primary", "--color-core-ui-secondary", "--color-count-badge-bg", "--color-count-badge-text", "--color-divider", "--color-file-document", "--color-file-pdf", "--color-file-presentation", "--color-file-spreadsheet", "--color-icon-bg", "--color-icon-primary", "--color-icon-secondary", "--color-input-bg-disabled", "--color-input-bg-primary", "--color-input-border-disabled", "--color-input-border-hover", "--color-input-border-primary", "--color-input-border-selected", "--color-input-indicator-border", "--color-input-text-disabled", "--color-input-text-inverse", "--color-input-text-placeholder", "--color-input-text-primary", "--color-label-bg", "--color-pixel-ink-1", "--color-pixel-ink-2", "--color-pixel-ink-3", "--color-pixel-ink-4", "--color-pixel-ink-5", "--color-pixel-ink-6", "--color-product-mark", "--color-scrim", "--color-status-error-bg", "--color-status-error-border", "--color-status-error-icon", "--color-status-error-text", "--color-status-info-bg", "--color-status-info-border", "--color-status-info-icon", "--color-status-info-text", "--color-status-neutral-bg", "--color-status-neutral-border", "--color-status-neutral-icon", "--color-status-neutral-text", "--color-status-positive-bg", "--color-status-positive-border", "--color-status-positive-icon", "--color-status-positive-text", "--color-status-warning-bg", "--color-status-warning-border", "--color-status-warning-icon", "--color-status-warning-text", "--color-table-body-bg", "--color-table-border", "--color-table-divider", "--color-table-header-bg", "--color-table-row-hover-bg", "--color-table-row-selected-bg", "--color-table-row-stripe-bg", "--color-text-display", "--color-text-heading", "--color-text-inverse", "--color-text-on-inverse", "--color-text-primary", "--color-text-secondary", "--color-text-tertiary", "--color-trend-down", "--color-trend-up"], "typography": ["--font-caption-family", "--font-caption-letter-spacing", "--font-caption-line-height", "--font-caption-size", "--font-caption-weight", "--font-code-aspect", "--font-display-1-family", "--font-display-1-letter-spacing", "--font-display-1-line-height", "--font-display-1-size", "--font-display-1-weight", "--font-display-2-family", "--font-display-2-letter-spacing", "--font-display-2-line-height", "--font-display-2-size", "--font-display-2-weight", "--font-family-body", "--font-family-code", "--font-family-heading", "--font-family-primary", "--font-heading-1-family", "--font-heading-1-letter-spacing", "--font-heading-1-line-height", "--font-heading-1-size", "--font-heading-1-weight", "--font-heading-2-family", "--font-heading-2-letter-spacing", "--font-heading-2-line-height", "--font-heading-2-size", "--font-heading-2-weight", "--font-heading-3-family", "--font-heading-3-letter-spacing", "--font-heading-3-line-height", "--font-heading-3-size", "--font-heading-3-weight", "--font-line-height-1100", "--font-line-height-400", "--font-line-height-500", "--font-line-height-600", "--font-line-height-700", "--font-line-height-800", "--font-line-height-900", "--font-mega-1-family", "--font-mega-1-letter-spacing", "--font-mega-1-line-height", "--font-mega-1-size", "--font-mega-1-weight", "--font-mega-2-family", "--font-mega-2-letter-spacing", "--font-mega-2-line-height", "--font-mega-2-size", "--font-mega-2-weight", "--font-overline-family", "--font-overline-letter-spacing", "--font-overline-line-height", "--font-overline-size", "--font-overline-weight", "--font-paragraph-emphasis-family", "--font-paragraph-emphasis-letter-spacing", "--font-paragraph-emphasis-line-height", "--font-paragraph-emphasis-size", "--font-paragraph-emphasis-weight", "--font-paragraph-family", "--font-paragraph-letter-spacing", "--font-paragraph-line-height", "--font-paragraph-size", "--font-paragraph-sm-emphasis-family", "--font-paragraph-sm-emphasis-letter-spacing", "--font-paragraph-sm-emphasis-line-height", "--font-paragraph-sm-emphasis-size", "--font-paragraph-sm-emphasis-weight", "--font-paragraph-sm-family", "--font-paragraph-sm-letter-spacing", "--font-paragraph-sm-line-height", "--font-paragraph-sm-size", "--font-paragraph-sm-weight", "--font-paragraph-weight", "--font-size-1000", "--font-size-1200", "--font-size-1400", "--font-size-1600", "--font-size-2400", "--font-size-2900", "--font-size-300", "--font-size-3300", "--font-size-350", "--font-size-400", "--font-size-550", "--font-size-600", "--font-size-650", "--font-size-750", "--font-sub-display-family", "--font-sub-display-letter-spacing", "--font-sub-display-line-height", "--font-sub-display-size", "--font-sub-display-weight", "--font-title-body-family", "--font-title-body-letter-spacing", "--font-title-body-line-height", "--font-title-body-size", "--font-title-body-weight"], "spacing": ["--gap-050", "--gap-100", "--gap-1000", "--gap-1500", "--gap-200", "--gap-2000", "--gap-300", "--gap-3000", "--gap-400", "--gap-500", "--padding-050", "--padding-100", "--padding-1000", "--padding-150", "--padding-1500", "--padding-200", "--padding-300", "--padding-400", "--padding-500"], "radius": ["--radius-050", "--radius-100", "--radius-1200", "--radius-200", "--radius-300", "--radius-400", "--radius-600", "--radius-pill"], "border": ["--border-025", "--border-050"], "shadow": ["--shadow-floating", "--shadow-modal", "--shadow-table-pinned"], "icons": ["--icon-size-1200", "--icon-size-500", "--icon-size-600", "--icon-size-800"], "controls": ["--control-height-compact", "--control-height-default"], "motion": ["--motion-duration-base", "--motion-duration-deliberate", "--motion-duration-fast", "--motion-duration-instant", "--motion-duration-loop-matrix", "--motion-duration-loop-shimmer", "--motion-duration-loop-spin", "--motion-duration-orbit", "--motion-duration-slow", "--motion-duration-slower", "--motion-ease-emphasized", "--motion-ease-entrance", "--motion-ease-linear", "--motion-ease-spring", "--motion-ease-standard"], "stacking": ["--layer-chat-launcher", "--layer-chat-panel", "--layer-chat-scrim", "--layer-command", "--layer-dropdown", "--layer-floating", "--layer-modal", "--layer-nav", "--layer-nav-rail", "--layer-nav-scrim", "--layer-sticky", "--layer-toast"] };
|
|
2
2
|
const registry = {
|
|
3
3
|
categories
|
|
4
4
|
};
|
package/tokens/tokens-dark.css
CHANGED
|
@@ -85,6 +85,10 @@
|
|
|
85
85
|
--color-chat-bubble-received-text: var(--color-text-primary);
|
|
86
86
|
/* The composer's context note — one step off the #050505 shell */
|
|
87
87
|
--color-chat-context-bg: var(--primitive-neutral-09);
|
|
88
|
+
/* The fill every chat card sits on: the crisp end of the neutral ramp,
|
|
89
|
+
white in light and black in dark, so the cards read sharp against
|
|
90
|
+
the reply and the bubbles. */
|
|
91
|
+
--color-chat-card-bg: var(--primitive-neutral-10);
|
|
88
92
|
|
|
89
93
|
/* Calendar surfaces — the dark values are the reason this family exists:
|
|
90
94
|
the container ramp's second step (#303030) glares at calendar density, so
|
package/tokens/tokens-light.css
CHANGED
|
@@ -98,6 +98,10 @@
|
|
|
98
98
|
neutral to each shell that still separates from it. Its own role, not a
|
|
99
99
|
container alias, because it deliberately sits off the container ramp. */
|
|
100
100
|
--color-chat-context-bg: var(--primitive-neutral-01);
|
|
101
|
+
/* The fill every chat card sits on: the crisp end of the neutral ramp,
|
|
102
|
+
white in light and black in dark, so the cards read sharp against
|
|
103
|
+
the reply and the bubbles. */
|
|
104
|
+
--color-chat-card-bg: var(--primitive-neutral-00);
|
|
101
105
|
|
|
102
106
|
/* Calendar surfaces — EventCalendar's day cells and event pills. Their own
|
|
103
107
|
roles (the chat-surfaces pattern) because the container ramp's dark steps
|
|
@@ -21,10 +21,16 @@
|
|
|
21
21
|
--font-family-heading: var(--font-family-primary);
|
|
22
22
|
--font-family-body: var(--font-family-primary);
|
|
23
23
|
|
|
24
|
-
/* The one sanctioned monospace stack — CodeBlock,
|
|
25
|
-
|
|
24
|
+
/* The one sanctioned monospace stack — CodeBlock, CodeDiff and Prose
|
|
25
|
+
code. Anything monospace references this token. */
|
|
26
26
|
--font-family-code: ui-monospace, 'SF Mono', SFMono-Regular, Menlo, Consolas,
|
|
27
27
|
monospace;
|
|
28
|
+
/* Code's optical size, as a font-size-adjust aspect: a monospace face
|
|
29
|
+
draws its lowercase taller and wider than the body face at the same
|
|
30
|
+
size, so code set at the paragraph's size is scaled to the body face's
|
|
31
|
+
lowercase height (about half the font size for the faces the themes
|
|
32
|
+
ship) and reads level with the text around it. */
|
|
33
|
+
--font-code-aspect: 0.5;
|
|
28
34
|
|
|
29
35
|
/* ============================================
|
|
30
36
|
TYPE SCALE LADDERS
|