@cerebriline/ui 0.0.0-stage → 4.100.313
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/ADOPTION.md +833 -0
- package/LICENSE +201 -0
- package/RADIX-COLORS-LICENSE +21 -0
- package/README.md +427 -2
- package/components/agent-approval-card.css +70 -0
- package/components/agent-approval-card.tsx +109 -0
- package/components/agent-ask-question.css +103 -0
- package/components/agent-ask-question.tsx +276 -0
- package/components/agent-aurora.css +228 -0
- package/components/agent-aurora.tsx +96 -0
- package/components/agent-changes.css +13 -0
- package/components/agent-changes.tsx +167 -0
- package/components/agent-chat/agent-chat.css +556 -0
- package/components/agent-chat/index.tsx +1037 -0
- package/components/agent-chat/tool-diff.tsx +165 -0
- package/components/agent-chat/tool-summary/agents.ts +114 -0
- package/components/agent-chat/tool-summary/diff.ts +152 -0
- package/components/agent-chat/tool-summary/index.ts +928 -0
- package/components/agent-chat/tool-summary/parsers.ts +611 -0
- package/components/agent-chat/tool-summary/paths.ts +84 -0
- package/components/agent-chat/tool-summary/team.ts +401 -0
- package/components/agent-command-output.tsx +63 -0
- package/components/agent-composer.tsx +263 -0
- package/components/agent-context-usage.tsx +181 -0
- package/components/agent-conversation-layout.tsx +139 -0
- package/components/agent-hero-heading.css +53 -0
- package/components/agent-hero-heading.tsx +45 -0
- package/components/agent-image-lightbox.tsx +48 -0
- package/components/agent-prompt-queue.css +20 -0
- package/components/agent-prompt-queue.tsx +350 -0
- package/components/agent-pull-request-bar.css +13 -0
- package/components/agent-pull-request-bar.tsx +346 -0
- package/components/agent-quick-actions.css +19 -0
- package/components/agent-quick-actions.tsx +70 -0
- package/components/agent-session-row.tsx +183 -0
- package/components/agent-welcome-hero-pointer.ts +199 -0
- package/components/agent-welcome-hero.css +205 -0
- package/components/agent-welcome-hero.tsx +68 -0
- package/components/attachment-drop-zone.tsx +154 -0
- package/components/badge.tsx +21 -0
- package/components/button.tsx +324 -0
- package/components/generated-media.tsx +173 -0
- package/components/github-icon.tsx +19 -0
- package/components/index.ts +133 -0
- package/components/markdown.css +490 -0
- package/components/markdown.ts +365 -0
- package/components/mermaid-block.tsx +722 -0
- package/components/mermaid-diagram.ts +1260 -0
- package/components/mermaid-dom.ts +301 -0
- package/components/message-scroller.css +118 -0
- package/components/message-scroller.tsx +114 -0
- package/components/search-combobox.css +67 -0
- package/components/search-combobox.tsx +433 -0
- package/components/session-status.css +19 -0
- package/components/session-status.tsx +39 -0
- package/components/switch.css +221 -0
- package/components/switch.tsx +48 -0
- package/components.css +16 -0
- package/dist/components/agent-approval-card.d.ts +14 -0
- package/dist/components/agent-approval-card.d.ts.map +1 -0
- package/dist/components/agent-approval-card.js +12 -0
- package/dist/components/agent-approval-card.js.map +1 -0
- package/dist/components/agent-ask-question.d.ts +18 -0
- package/dist/components/agent-ask-question.d.ts.map +1 -0
- package/dist/components/agent-ask-question.js +101 -0
- package/dist/components/agent-ask-question.js.map +1 -0
- package/dist/components/agent-aurora.d.ts +3 -0
- package/dist/components/agent-aurora.d.ts.map +1 -0
- package/dist/components/agent-aurora.js +60 -0
- package/dist/components/agent-aurora.js.map +1 -0
- package/dist/components/agent-changes.d.ts +26 -0
- package/dist/components/agent-changes.d.ts.map +1 -0
- package/dist/components/agent-changes.js +19 -0
- package/dist/components/agent-changes.js.map +1 -0
- package/dist/components/agent-chat/disclosure.d.ts +25 -0
- package/dist/components/agent-chat/disclosure.d.ts.map +1 -0
- package/dist/components/agent-chat/disclosure.js +39 -0
- package/dist/components/agent-chat/disclosure.js.map +1 -0
- package/dist/components/agent-chat/index.d.ts +140 -0
- package/dist/components/agent-chat/index.d.ts.map +1 -0
- package/dist/components/agent-chat/index.js +379 -0
- package/dist/components/agent-chat/index.js.map +1 -0
- package/dist/components/agent-chat/tool-diff.d.ts +32 -0
- package/dist/components/agent-chat/tool-diff.d.ts.map +1 -0
- package/dist/components/agent-chat/tool-diff.js +97 -0
- package/dist/components/agent-chat/tool-diff.js.map +1 -0
- package/dist/components/agent-chat/tool-summary/agents.d.ts +10 -0
- package/dist/components/agent-chat/tool-summary/agents.d.ts.map +1 -0
- package/dist/components/agent-chat/tool-summary/agents.js +100 -0
- package/dist/components/agent-chat/tool-summary/agents.js.map +1 -0
- package/dist/components/agent-chat/tool-summary/diff.d.ts +22 -0
- package/dist/components/agent-chat/tool-summary/diff.d.ts.map +1 -0
- package/dist/components/agent-chat/tool-summary/diff.js +127 -0
- package/dist/components/agent-chat/tool-summary/diff.js.map +1 -0
- package/dist/components/agent-chat/tool-summary/index.d.ts +145 -0
- package/dist/components/agent-chat/tool-summary/index.d.ts.map +1 -0
- package/dist/components/agent-chat/tool-summary/index.js +663 -0
- package/dist/components/agent-chat/tool-summary/index.js.map +1 -0
- package/dist/components/agent-chat/tool-summary/parsers.d.ts +114 -0
- package/dist/components/agent-chat/tool-summary/parsers.d.ts.map +1 -0
- package/dist/components/agent-chat/tool-summary/parsers.js +502 -0
- package/dist/components/agent-chat/tool-summary/parsers.js.map +1 -0
- package/dist/components/agent-chat/tool-summary/paths.d.ts +10 -0
- package/dist/components/agent-chat/tool-summary/paths.d.ts.map +1 -0
- package/dist/components/agent-chat/tool-summary/paths.js +88 -0
- package/dist/components/agent-chat/tool-summary/paths.js.map +1 -0
- package/dist/components/agent-chat/tool-summary/team.d.ts +16 -0
- package/dist/components/agent-chat/tool-summary/team.d.ts.map +1 -0
- package/dist/components/agent-chat/tool-summary/team.js +283 -0
- package/dist/components/agent-chat/tool-summary/team.js.map +1 -0
- package/dist/components/agent-command-output.d.ts +14 -0
- package/dist/components/agent-command-output.d.ts.map +1 -0
- package/dist/components/agent-command-output.js +22 -0
- package/dist/components/agent-command-output.js.map +1 -0
- package/dist/components/agent-composer.d.ts +34 -0
- package/dist/components/agent-composer.d.ts.map +1 -0
- package/dist/components/agent-composer.js +65 -0
- package/dist/components/agent-composer.js.map +1 -0
- package/dist/components/agent-context-usage.d.ts +28 -0
- package/dist/components/agent-context-usage.d.ts.map +1 -0
- package/dist/components/agent-context-usage.js +51 -0
- package/dist/components/agent-context-usage.js.map +1 -0
- package/dist/components/agent-conversation-layout.d.ts +30 -0
- package/dist/components/agent-conversation-layout.d.ts.map +1 -0
- package/dist/components/agent-conversation-layout.js +24 -0
- package/dist/components/agent-conversation-layout.js.map +1 -0
- package/dist/components/agent-hero-heading.d.ts +2 -0
- package/dist/components/agent-hero-heading.d.ts.map +1 -0
- package/dist/components/agent-hero-heading.js +20 -0
- package/dist/components/agent-hero-heading.js.map +1 -0
- package/dist/components/agent-image-lightbox.d.ts +11 -0
- package/dist/components/agent-image-lightbox.d.ts.map +1 -0
- package/dist/components/agent-image-lightbox.js +8 -0
- package/dist/components/agent-image-lightbox.js.map +1 -0
- package/dist/components/agent-prompt-queue.d.ts +14 -0
- package/dist/components/agent-prompt-queue.d.ts.map +1 -0
- package/dist/components/agent-prompt-queue.js +114 -0
- package/dist/components/agent-prompt-queue.js.map +1 -0
- package/dist/components/agent-pull-request-bar.d.ts +72 -0
- package/dist/components/agent-pull-request-bar.d.ts.map +1 -0
- package/dist/components/agent-pull-request-bar.js +90 -0
- package/dist/components/agent-pull-request-bar.js.map +1 -0
- package/dist/components/agent-quick-actions.d.ts +14 -0
- package/dist/components/agent-quick-actions.d.ts.map +1 -0
- package/dist/components/agent-quick-actions.js +12 -0
- package/dist/components/agent-quick-actions.js.map +1 -0
- package/dist/components/agent-session-row.d.ts +45 -0
- package/dist/components/agent-session-row.d.ts.map +1 -0
- package/dist/components/agent-session-row.js +34 -0
- package/dist/components/agent-session-row.js.map +1 -0
- package/dist/components/agent-welcome-hero-pointer.d.ts +3 -0
- package/dist/components/agent-welcome-hero-pointer.d.ts.map +1 -0
- package/dist/components/agent-welcome-hero-pointer.js +169 -0
- package/dist/components/agent-welcome-hero-pointer.js.map +1 -0
- package/dist/components/agent-welcome-hero.d.ts +9 -0
- package/dist/components/agent-welcome-hero.d.ts.map +1 -0
- package/dist/components/agent-welcome-hero.js +14 -0
- package/dist/components/agent-welcome-hero.js.map +1 -0
- package/dist/components/attachment-drop-zone.d.ts +15 -0
- package/dist/components/attachment-drop-zone.d.ts.map +1 -0
- package/dist/components/attachment-drop-zone.js +64 -0
- package/dist/components/attachment-drop-zone.js.map +1 -0
- package/dist/components/badge.d.ts +5 -0
- package/dist/components/badge.d.ts.map +1 -0
- package/dist/components/badge.js +7 -0
- package/dist/components/badge.js.map +1 -0
- package/dist/components/button.d.ts +27 -0
- package/dist/components/button.d.ts.map +1 -0
- package/dist/components/button.js +209 -0
- package/dist/components/button.js.map +1 -0
- package/dist/components/generated-media.d.ts +12 -0
- package/dist/components/generated-media.d.ts.map +1 -0
- package/dist/components/generated-media.js +105 -0
- package/dist/components/generated-media.js.map +1 -0
- package/dist/components/github-icon.d.ts +3 -0
- package/dist/components/github-icon.d.ts.map +1 -0
- package/dist/components/github-icon.js +6 -0
- package/dist/components/github-icon.js.map +1 -0
- package/dist/components/index.d.ts +24 -0
- package/dist/components/index.d.ts.map +1 -0
- package/dist/components/index.js +25 -0
- package/dist/components/index.js.map +1 -0
- package/dist/components/markdown.d.ts +48 -0
- package/dist/components/markdown.d.ts.map +1 -0
- package/dist/components/markdown.js +264 -0
- package/dist/components/markdown.js.map +1 -0
- package/dist/components/mermaid-block.d.ts +14 -0
- package/dist/components/mermaid-block.d.ts.map +1 -0
- package/dist/components/mermaid-block.js +339 -0
- package/dist/components/mermaid-block.js.map +1 -0
- package/dist/components/mermaid-diagram.d.ts +264 -0
- package/dist/components/mermaid-diagram.d.ts.map +1 -0
- package/dist/components/mermaid-diagram.js +999 -0
- package/dist/components/mermaid-diagram.js.map +1 -0
- package/dist/components/mermaid-dom.d.ts +51 -0
- package/dist/components/mermaid-dom.d.ts.map +1 -0
- package/dist/components/mermaid-dom.js +246 -0
- package/dist/components/mermaid-dom.js.map +1 -0
- package/dist/components/message-scroller.d.ts +23 -0
- package/dist/components/message-scroller.d.ts.map +1 -0
- package/dist/components/message-scroller.js +31 -0
- package/dist/components/message-scroller.js.map +1 -0
- package/dist/components/search-combobox.d.ts +44 -0
- package/dist/components/search-combobox.d.ts.map +1 -0
- package/dist/components/search-combobox.js +191 -0
- package/dist/components/search-combobox.js.map +1 -0
- package/dist/components/session-status.d.ts +9 -0
- package/dist/components/session-status.d.ts.map +1 -0
- package/dist/components/session-status.js +11 -0
- package/dist/components/session-status.js.map +1 -0
- package/dist/components/switch.d.ts +7 -0
- package/dist/components/switch.d.ts.map +1 -0
- package/dist/components/switch.js +14 -0
- package/dist/components/switch.js.map +1 -0
- package/package.json +177 -5
- package/theme/base.css +83 -0
- package/theme/component-theme.css +126 -0
- package/theme/index.css +3 -0
- package/theme/palette.css +347 -0
- package/theme/scoped-tokens.css +503 -0
- package/theme/theme.css +90 -0
- package/theme/tokens.css +165 -0
|
@@ -0,0 +1,503 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Generated by scripts/generate-theme.ts from theme/palette.css and
|
|
3
|
+
* theme/tokens.css. Edit those sources, then run `bun run generate:theme`.
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
.cline-ui-theme {
|
|
7
|
+
/* Neutral */
|
|
8
|
+
--neutral-1: #fcfcfd;
|
|
9
|
+
--neutral-2: #f9f9fb;
|
|
10
|
+
--neutral-3: #f0f0f3;
|
|
11
|
+
--neutral-4: #e8e8ec;
|
|
12
|
+
--neutral-5: #e0e1e6;
|
|
13
|
+
--neutral-6: #d9d9e0;
|
|
14
|
+
--neutral-7: #cdced6;
|
|
15
|
+
--neutral-8: #b9bbc6;
|
|
16
|
+
--neutral-9: #8b8d98;
|
|
17
|
+
--neutral-10: #80838d;
|
|
18
|
+
--neutral-11: #60646c;
|
|
19
|
+
--neutral-12: #1c2024;
|
|
20
|
+
|
|
21
|
+
/* Neutral alpha */
|
|
22
|
+
--neutral-a1: #00005503;
|
|
23
|
+
--neutral-a2: #00005506;
|
|
24
|
+
--neutral-a3: #0000330b;
|
|
25
|
+
--neutral-a4: #00002d17;
|
|
26
|
+
--neutral-a5: #0009321f;
|
|
27
|
+
--neutral-a6: #00002f26;
|
|
28
|
+
--neutral-a7: #00062e32;
|
|
29
|
+
--neutral-a8: #00083046;
|
|
30
|
+
--neutral-a9: #00051d74;
|
|
31
|
+
--neutral-a10: #00071b7f;
|
|
32
|
+
--neutral-a11: #0007149f;
|
|
33
|
+
--neutral-a12: #000509e3;
|
|
34
|
+
|
|
35
|
+
/* Accent */
|
|
36
|
+
--accent-1: #fdfcfe;
|
|
37
|
+
--accent-2: #faf8ff;
|
|
38
|
+
--accent-3: #f4f0fe;
|
|
39
|
+
--accent-4: #ebe4ff;
|
|
40
|
+
--accent-5: #e1d9ff;
|
|
41
|
+
--accent-6: #d4cafe;
|
|
42
|
+
--accent-7: #c2b5f5;
|
|
43
|
+
--accent-8: #aa99ec;
|
|
44
|
+
--accent-9: #6e56cf;
|
|
45
|
+
--accent-10: #654dc4;
|
|
46
|
+
--accent-11: #6550b9;
|
|
47
|
+
--accent-12: #2f265f;
|
|
48
|
+
|
|
49
|
+
/* Accent alpha */
|
|
50
|
+
--accent-a1: #5500aa03;
|
|
51
|
+
--accent-a2: #4900ff07;
|
|
52
|
+
--accent-a3: #4400ee0f;
|
|
53
|
+
--accent-a4: #4300ff1b;
|
|
54
|
+
--accent-a5: #3600ff26;
|
|
55
|
+
--accent-a6: #3100fb35;
|
|
56
|
+
--accent-a7: #2d01dd4a;
|
|
57
|
+
--accent-a8: #2b00d066;
|
|
58
|
+
--accent-a9: #2400b7a9;
|
|
59
|
+
--accent-a10: #2300abb2;
|
|
60
|
+
--accent-a11: #1f0099af;
|
|
61
|
+
--accent-a12: #0b0043d9;
|
|
62
|
+
|
|
63
|
+
/* Error */
|
|
64
|
+
--error-1: #fffcfd;
|
|
65
|
+
--error-2: #fff7f8;
|
|
66
|
+
--error-3: #feeaed;
|
|
67
|
+
--error-4: #ffdce1;
|
|
68
|
+
--error-5: #ffced6;
|
|
69
|
+
--error-6: #f8bfc8;
|
|
70
|
+
--error-7: #efacb8;
|
|
71
|
+
--error-8: #e592a3;
|
|
72
|
+
--error-9: #e54666;
|
|
73
|
+
--error-10: #dc3b5d;
|
|
74
|
+
--error-11: #ca244d;
|
|
75
|
+
--error-12: #64172b;
|
|
76
|
+
|
|
77
|
+
/* Error alpha */
|
|
78
|
+
--error-a1: #ff005503;
|
|
79
|
+
--error-a2: #ff002008;
|
|
80
|
+
--error-a3: #f3002515;
|
|
81
|
+
--error-a4: #ff002523;
|
|
82
|
+
--error-a5: #ff002a31;
|
|
83
|
+
--error-a6: #e4002440;
|
|
84
|
+
--error-a7: #ce002553;
|
|
85
|
+
--error-a8: #c300286d;
|
|
86
|
+
--error-a9: #db002cb9;
|
|
87
|
+
--error-a10: #d2002cc4;
|
|
88
|
+
--error-a11: #c10030db;
|
|
89
|
+
--error-a12: #550016e8;
|
|
90
|
+
|
|
91
|
+
/* Success */
|
|
92
|
+
--success-1: #fbfefc;
|
|
93
|
+
--success-2: #f4fbf6;
|
|
94
|
+
--success-3: #e6f6eb;
|
|
95
|
+
--success-4: #d6f1df;
|
|
96
|
+
--success-5: #c4e8d1;
|
|
97
|
+
--success-6: #adddc0;
|
|
98
|
+
--success-7: #8eceaa;
|
|
99
|
+
--success-8: #5bb98b;
|
|
100
|
+
--success-9: #30a46c;
|
|
101
|
+
--success-10: #2b9a66;
|
|
102
|
+
--success-11: #218358;
|
|
103
|
+
--success-12: #193b2d;
|
|
104
|
+
|
|
105
|
+
/* Success alpha */
|
|
106
|
+
--success-a1: #00c04004;
|
|
107
|
+
--success-a2: #00a32f0b;
|
|
108
|
+
--success-a3: #00a43319;
|
|
109
|
+
--success-a4: #00a83829;
|
|
110
|
+
--success-a5: #019c393b;
|
|
111
|
+
--success-a6: #00963c52;
|
|
112
|
+
--success-a7: #00914071;
|
|
113
|
+
--success-a8: #00924ba4;
|
|
114
|
+
--success-a9: #008f4acf;
|
|
115
|
+
--success-a10: #008647d4;
|
|
116
|
+
--success-a11: #00713fde;
|
|
117
|
+
--success-a12: #002616e6;
|
|
118
|
+
|
|
119
|
+
/* Warning */
|
|
120
|
+
--warning-1: #fefdfb;
|
|
121
|
+
--warning-2: #fefbe9;
|
|
122
|
+
--warning-3: #fff7c2;
|
|
123
|
+
--warning-4: #ffee9c;
|
|
124
|
+
--warning-5: #fbe577;
|
|
125
|
+
--warning-6: #f3d673;
|
|
126
|
+
--warning-7: #e9c162;
|
|
127
|
+
--warning-8: #e2a336;
|
|
128
|
+
--warning-9: #ffc53d;
|
|
129
|
+
--warning-10: #ffba18;
|
|
130
|
+
--warning-11: #ab6400;
|
|
131
|
+
--warning-12: #4f3422;
|
|
132
|
+
|
|
133
|
+
/* Warning alpha */
|
|
134
|
+
--warning-a1: #c0800004;
|
|
135
|
+
--warning-a2: #f4d10016;
|
|
136
|
+
--warning-a3: #ffde003d;
|
|
137
|
+
--warning-a4: #ffd40063;
|
|
138
|
+
--warning-a5: #f8cf0088;
|
|
139
|
+
--warning-a6: #eab5008c;
|
|
140
|
+
--warning-a7: #dc9b009d;
|
|
141
|
+
--warning-a8: #da8a00c9;
|
|
142
|
+
--warning-a9: #ffb300c2;
|
|
143
|
+
--warning-a10: #ffb300e7;
|
|
144
|
+
--warning-a11: #ab6400;
|
|
145
|
+
--warning-a12: #341500dd;
|
|
146
|
+
|
|
147
|
+
/* Info */
|
|
148
|
+
--info-1: #f9feff;
|
|
149
|
+
--info-2: #f1fafd;
|
|
150
|
+
--info-3: #e1f6fd;
|
|
151
|
+
--info-4: #d1f0fa;
|
|
152
|
+
--info-5: #bee7f5;
|
|
153
|
+
--info-6: #a9daed;
|
|
154
|
+
--info-7: #8dcae3;
|
|
155
|
+
--info-8: #60b3d7;
|
|
156
|
+
--info-9: #7ce2fe;
|
|
157
|
+
--info-10: #74daf8;
|
|
158
|
+
--info-11: #00749e;
|
|
159
|
+
--info-12: #1d3e56;
|
|
160
|
+
|
|
161
|
+
/* Info alpha */
|
|
162
|
+
--info-a1: #00d5ff06;
|
|
163
|
+
--info-a2: #00a4db0e;
|
|
164
|
+
--info-a3: #00b3ee1e;
|
|
165
|
+
--info-a4: #00ace42e;
|
|
166
|
+
--info-a5: #00a1d841;
|
|
167
|
+
--info-a6: #0092ca56;
|
|
168
|
+
--info-a7: #0089c172;
|
|
169
|
+
--info-a8: #0085bf9f;
|
|
170
|
+
--info-a9: #00c7fe83;
|
|
171
|
+
--info-a10: #00bcf38b;
|
|
172
|
+
--info-a11: #00749e;
|
|
173
|
+
--info-a12: #002540e2;
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
.dark .cline-ui-theme,
|
|
177
|
+
.cline-ui-theme.dark {
|
|
178
|
+
/* Neutral */
|
|
179
|
+
--neutral-1: #121216;
|
|
180
|
+
--neutral-2: #18191b;
|
|
181
|
+
--neutral-3: #212225;
|
|
182
|
+
--neutral-4: #2f2f37;
|
|
183
|
+
--neutral-5: #2e3135;
|
|
184
|
+
--neutral-6: #363a3f;
|
|
185
|
+
--neutral-7: #43484e;
|
|
186
|
+
--neutral-8: #5a6169;
|
|
187
|
+
--neutral-9: #696e77;
|
|
188
|
+
--neutral-10: #777b84;
|
|
189
|
+
--neutral-11: #b0b4ba;
|
|
190
|
+
--neutral-12: #fcfcfd;
|
|
191
|
+
|
|
192
|
+
/* Neutral alpha */
|
|
193
|
+
--neutral-a1: #00000000;
|
|
194
|
+
--neutral-a2: #d8f4f609;
|
|
195
|
+
--neutral-a3: #ddeaf814;
|
|
196
|
+
--neutral-a4: #d3edf81d;
|
|
197
|
+
--neutral-a5: #d9edfe25;
|
|
198
|
+
--neutral-a6: #d6ebfd30;
|
|
199
|
+
--neutral-a7: #d9edff40;
|
|
200
|
+
--neutral-a8: #d9edff5d;
|
|
201
|
+
--neutral-a9: #dfebfd6d;
|
|
202
|
+
--neutral-a10: #e5edfd7b;
|
|
203
|
+
--neutral-a11: #f1f7feb5;
|
|
204
|
+
--neutral-a12: #fcfdffef;
|
|
205
|
+
|
|
206
|
+
/* Accent */
|
|
207
|
+
--accent-1: #14121f;
|
|
208
|
+
--accent-2: #1b1525;
|
|
209
|
+
--accent-3: #291f43;
|
|
210
|
+
--accent-4: #33255b;
|
|
211
|
+
--accent-5: #3c2e69;
|
|
212
|
+
--accent-6: #473876;
|
|
213
|
+
--accent-7: #56468b;
|
|
214
|
+
--accent-8: #6958ad;
|
|
215
|
+
--accent-9: #6e56cf;
|
|
216
|
+
--accent-10: #7d66d9;
|
|
217
|
+
--accent-11: #baa7ff;
|
|
218
|
+
--accent-12: #e2ddfe;
|
|
219
|
+
|
|
220
|
+
/* Accent alpha */
|
|
221
|
+
--accent-a1: #4422ff0f;
|
|
222
|
+
--accent-a2: #853ff916;
|
|
223
|
+
--accent-a3: #8354fe36;
|
|
224
|
+
--accent-a4: #7d51fd50;
|
|
225
|
+
--accent-a5: #845ffd5f;
|
|
226
|
+
--accent-a6: #8f6cfd6d;
|
|
227
|
+
--accent-a7: #9879ff83;
|
|
228
|
+
--accent-a8: #977dfea8;
|
|
229
|
+
--accent-a9: #8668ffcc;
|
|
230
|
+
--accent-a10: #9176fed7;
|
|
231
|
+
--accent-a11: #baa7ff;
|
|
232
|
+
--accent-a12: #e3defffe;
|
|
233
|
+
|
|
234
|
+
/* Error */
|
|
235
|
+
--error-1: #191113;
|
|
236
|
+
--error-2: #1e1517;
|
|
237
|
+
--error-3: #3a141e;
|
|
238
|
+
--error-4: #4e1325;
|
|
239
|
+
--error-5: #5e1a2e;
|
|
240
|
+
--error-6: #6f2539;
|
|
241
|
+
--error-7: #883447;
|
|
242
|
+
--error-8: #b3445a;
|
|
243
|
+
--error-9: #e54666;
|
|
244
|
+
--error-10: #ec5a72;
|
|
245
|
+
--error-11: #ff949d;
|
|
246
|
+
--error-12: #fed2e1;
|
|
247
|
+
|
|
248
|
+
/* Error alpha */
|
|
249
|
+
--error-a1: #f4124a09;
|
|
250
|
+
--error-a2: #fe5a7f0e;
|
|
251
|
+
--error-a3: #ff235d2c;
|
|
252
|
+
--error-a4: #fd195e42;
|
|
253
|
+
--error-a5: #fe2d6b53;
|
|
254
|
+
--error-a6: #ff447665;
|
|
255
|
+
--error-a7: #ff577d80;
|
|
256
|
+
--error-a8: #ff5c7cae;
|
|
257
|
+
--error-a9: #fe4c70e4;
|
|
258
|
+
--error-a10: #ff617beb;
|
|
259
|
+
--error-a11: #ff949d;
|
|
260
|
+
--error-a12: #ffd3e2fe;
|
|
261
|
+
|
|
262
|
+
/* Success */
|
|
263
|
+
--success-1: #0e1512;
|
|
264
|
+
--success-2: #121b17;
|
|
265
|
+
--success-3: #132d21;
|
|
266
|
+
--success-4: #113b29;
|
|
267
|
+
--success-5: #174933;
|
|
268
|
+
--success-6: #20573e;
|
|
269
|
+
--success-7: #28684a;
|
|
270
|
+
--success-8: #2f7c57;
|
|
271
|
+
--success-9: #30a46c;
|
|
272
|
+
--success-10: #33b074;
|
|
273
|
+
--success-11: #3dd68c;
|
|
274
|
+
--success-12: #b1f1cb;
|
|
275
|
+
|
|
276
|
+
/* Success alpha */
|
|
277
|
+
--success-a1: #00de4505;
|
|
278
|
+
--success-a2: #29f99d0b;
|
|
279
|
+
--success-a3: #22ff991e;
|
|
280
|
+
--success-a4: #11ff992d;
|
|
281
|
+
--success-a5: #2bffa23c;
|
|
282
|
+
--success-a6: #44ffaa4b;
|
|
283
|
+
--success-a7: #50fdac5e;
|
|
284
|
+
--success-a8: #54ffad73;
|
|
285
|
+
--success-a9: #44ffa49e;
|
|
286
|
+
--success-a10: #43fea4ab;
|
|
287
|
+
--success-a11: #46fea5d4;
|
|
288
|
+
--success-a12: #bbffd7f0;
|
|
289
|
+
|
|
290
|
+
/* Warning */
|
|
291
|
+
--warning-1: #16120c;
|
|
292
|
+
--warning-2: #1d180f;
|
|
293
|
+
--warning-3: #302008;
|
|
294
|
+
--warning-4: #3f2700;
|
|
295
|
+
--warning-5: #4d3000;
|
|
296
|
+
--warning-6: #5c3d05;
|
|
297
|
+
--warning-7: #714f19;
|
|
298
|
+
--warning-8: #8f6424;
|
|
299
|
+
--warning-9: #ffc53d;
|
|
300
|
+
--warning-10: #ffd60a;
|
|
301
|
+
--warning-11: #ffca16;
|
|
302
|
+
--warning-12: #ffe7b3;
|
|
303
|
+
|
|
304
|
+
/* Warning alpha */
|
|
305
|
+
--warning-a1: #e63c0006;
|
|
306
|
+
--warning-a2: #fd9b000d;
|
|
307
|
+
--warning-a3: #fa820022;
|
|
308
|
+
--warning-a4: #fc820032;
|
|
309
|
+
--warning-a5: #fd8b0041;
|
|
310
|
+
--warning-a6: #fd9b0051;
|
|
311
|
+
--warning-a7: #ffab2567;
|
|
312
|
+
--warning-a8: #ffae3587;
|
|
313
|
+
--warning-a9: #ffc53d;
|
|
314
|
+
--warning-a10: #ffd60a;
|
|
315
|
+
--warning-a11: #ffca16;
|
|
316
|
+
--warning-a12: #ffe7b3;
|
|
317
|
+
|
|
318
|
+
/* Info */
|
|
319
|
+
--info-1: #0d141f;
|
|
320
|
+
--info-2: #111a27;
|
|
321
|
+
--info-3: #112840;
|
|
322
|
+
--info-4: #113555;
|
|
323
|
+
--info-5: #154467;
|
|
324
|
+
--info-6: #1b537b;
|
|
325
|
+
--info-7: #1f6692;
|
|
326
|
+
--info-8: #197cae;
|
|
327
|
+
--info-9: #7ce2fe;
|
|
328
|
+
--info-10: #a8eeff;
|
|
329
|
+
--info-11: #75c7f0;
|
|
330
|
+
--info-12: #c2f3ff;
|
|
331
|
+
|
|
332
|
+
/* Info alpha */
|
|
333
|
+
--info-a1: #0044ff0f;
|
|
334
|
+
--info-a2: #1171fb18;
|
|
335
|
+
--info-a3: #1184fc33;
|
|
336
|
+
--info-a4: #128fff49;
|
|
337
|
+
--info-a5: #1c9dfd5d;
|
|
338
|
+
--info-a6: #28a5ff72;
|
|
339
|
+
--info-a7: #2badfe8b;
|
|
340
|
+
--info-a8: #1db2fea9;
|
|
341
|
+
--info-a9: #7ce3fffe;
|
|
342
|
+
--info-a10: #a8eeff;
|
|
343
|
+
--info-a11: #7cd3ffef;
|
|
344
|
+
--info-a12: #c2f3ff;
|
|
345
|
+
}
|
|
346
|
+
|
|
347
|
+
.cline-ui-theme {
|
|
348
|
+
/* Brand extensions for artwork; components should prefer semantic tokens. */
|
|
349
|
+
--brand-violet: oklch(0.55 0.22 293);
|
|
350
|
+
/* Filled brand surface (user chat bubbles): deep enough in both themes to
|
|
351
|
+
* carry near-white text at readable contrast. */
|
|
352
|
+
--brand-violet-surface: oklch(0.55 0.22 293);
|
|
353
|
+
--brand-violet-surface-foreground: oklch(0.985 0.005 293);
|
|
354
|
+
--brand-lilac: oklch(0.88 0.09 315);
|
|
355
|
+
--brand-magenta: oklch(0.75 0.15 330);
|
|
356
|
+
--brand-periwinkle: oklch(0.69 0.14 275);
|
|
357
|
+
--brand-cyan: oklch(0.87 0.07 210);
|
|
358
|
+
--card-surface: color-mix(in srgb, var(--neutral-2) 50%, var(--neutral-3));
|
|
359
|
+
|
|
360
|
+
/* Standard Tailwind typography variables. Consumers provide the fonts. */
|
|
361
|
+
--font-sans: "Inter Variable", sans-serif;
|
|
362
|
+
--font-mono:
|
|
363
|
+
"Geist Mono Variable", ui-monospace, "SFMono-Regular", Menlo, Consolas,
|
|
364
|
+
"Liberation Mono", monospace;
|
|
365
|
+
--font-weight-normal: 480;
|
|
366
|
+
--font-weight-medium: 560;
|
|
367
|
+
--font-weight-semibold: 640;
|
|
368
|
+
--font-weight-bold: 640;
|
|
369
|
+
/* 12px at 15px root */
|
|
370
|
+
--text-xs: 0.8rem;
|
|
371
|
+
--text-xs--line-height: 1rem;
|
|
372
|
+
--text-xs--letter-spacing: 0.0025em;
|
|
373
|
+
/* 13px at 15px root */
|
|
374
|
+
--text-sm: 0.86667rem;
|
|
375
|
+
--text-sm--line-height: 1.25rem;
|
|
376
|
+
--text-sm--letter-spacing: 0em;
|
|
377
|
+
/* 14px at 15px root */
|
|
378
|
+
--text-md: 0.93333rem;
|
|
379
|
+
--text-md--line-height: 1.4rem;
|
|
380
|
+
--text-md--letter-spacing: 0em;
|
|
381
|
+
--text-base: 1rem;
|
|
382
|
+
--text-base--line-height: 1.5rem;
|
|
383
|
+
--text-base--letter-spacing: 0em;
|
|
384
|
+
--text-lg: 1.125rem;
|
|
385
|
+
--text-lg--line-height: 1.625rem;
|
|
386
|
+
--text-lg--letter-spacing: -0.0025em;
|
|
387
|
+
--text-xl: 1.25rem;
|
|
388
|
+
--text-xl--line-height: 1.75rem;
|
|
389
|
+
--text-xl--letter-spacing: -0.005em;
|
|
390
|
+
--text-2xl: 1.5rem;
|
|
391
|
+
--text-2xl--line-height: 1.875rem;
|
|
392
|
+
--text-2xl--letter-spacing: -0.00625em;
|
|
393
|
+
--text-3xl: 1.75rem;
|
|
394
|
+
--text-3xl--line-height: 2.25rem;
|
|
395
|
+
--text-3xl--letter-spacing: -0.0075em;
|
|
396
|
+
--text-4xl: 2.1875rem;
|
|
397
|
+
--text-4xl--line-height: 2.5rem;
|
|
398
|
+
--text-4xl--letter-spacing: -0.01em;
|
|
399
|
+
--text-6xl: 3.75rem;
|
|
400
|
+
--text-6xl--line-height: 3.75rem;
|
|
401
|
+
--text-6xl--letter-spacing: -0.025em;
|
|
402
|
+
}
|
|
403
|
+
|
|
404
|
+
.dark .cline-ui-theme,
|
|
405
|
+
.cline-ui-theme.dark {
|
|
406
|
+
--brand-violet: oklch(0.7 0.17 293);
|
|
407
|
+
--brand-violet-surface: oklch(0.48 0.18 293);
|
|
408
|
+
--brand-violet-surface-foreground: oklch(0.97 0.01 293);
|
|
409
|
+
--brand-lilac: oklch(0.68 0.13 315);
|
|
410
|
+
--brand-magenta: oklch(0.64 0.17 330);
|
|
411
|
+
--brand-periwinkle: oklch(0.63 0.16 275);
|
|
412
|
+
--brand-cyan: oklch(0.72 0.09 210);
|
|
413
|
+
--card-surface: var(--neutral-3);
|
|
414
|
+
--font-weight-normal: 400;
|
|
415
|
+
--font-weight-medium: 500;
|
|
416
|
+
--font-weight-semibold: 600;
|
|
417
|
+
--font-weight-bold: 600;
|
|
418
|
+
}
|
|
419
|
+
|
|
420
|
+
.cline-ui-theme,
|
|
421
|
+
.dark .cline-ui-theme,
|
|
422
|
+
.cline-ui-theme.dark {
|
|
423
|
+
/* Readable visual roles. */
|
|
424
|
+
--surface-1: var(--neutral-1);
|
|
425
|
+
--surface-2: var(--neutral-2);
|
|
426
|
+
--surface-3: var(--neutral-3);
|
|
427
|
+
--surface-hover-lighter: var(--neutral-a2);
|
|
428
|
+
--surface-hover-darker: var(--neutral-a3);
|
|
429
|
+
--surface-hover: var(--surface-hover-darker);
|
|
430
|
+
--text-1: var(--neutral-12);
|
|
431
|
+
--text-2: var(--neutral-11);
|
|
432
|
+
--text-disabled: var(--neutral-9);
|
|
433
|
+
--border-1: var(--neutral-4);
|
|
434
|
+
--border-2: var(--neutral-5);
|
|
435
|
+
--focus-ring: var(--accent-8);
|
|
436
|
+
|
|
437
|
+
/* Status roles. Alpha surfaces stay composable over any host surface. */
|
|
438
|
+
--success-surface: var(--success-a3);
|
|
439
|
+
--success-border: var(--success-a7);
|
|
440
|
+
--success-solid: var(--success-9);
|
|
441
|
+
--success-text: var(--success-11);
|
|
442
|
+
--success-contrast: #fff;
|
|
443
|
+
--warning-surface: var(--warning-a3);
|
|
444
|
+
--warning-border: var(--warning-a7);
|
|
445
|
+
--warning-solid: var(--warning-9);
|
|
446
|
+
--warning-text: var(--warning-11);
|
|
447
|
+
--warning-contrast: #1c2024;
|
|
448
|
+
--error-surface: var(--error-a3);
|
|
449
|
+
--error-border: var(--error-a7);
|
|
450
|
+
--error-solid: var(--error-9);
|
|
451
|
+
--error-text: var(--error-11);
|
|
452
|
+
--error-contrast: #fff;
|
|
453
|
+
--info-surface: var(--info-a3);
|
|
454
|
+
--info-border: var(--info-a7);
|
|
455
|
+
--info-solid: var(--info-9);
|
|
456
|
+
--info-text: var(--info-11);
|
|
457
|
+
--info-contrast: #1c2024;
|
|
458
|
+
|
|
459
|
+
/* Global browser affordances. */
|
|
460
|
+
--scrollbar-thumb: var(--neutral-8);
|
|
461
|
+
--scrollbar-thumb-hover: var(--neutral-9);
|
|
462
|
+
--selection-background: var(--accent-a5);
|
|
463
|
+
|
|
464
|
+
/* Standard shadcn semantic surfaces. */
|
|
465
|
+
--background: var(--surface-1);
|
|
466
|
+
--foreground: var(--text-1);
|
|
467
|
+
--card: var(--surface-2);
|
|
468
|
+
--card-foreground: var(--text-1);
|
|
469
|
+
--popover: var(--surface-2);
|
|
470
|
+
--popover-foreground: var(--text-1);
|
|
471
|
+
--primary: var(--accent-9);
|
|
472
|
+
--primary-foreground: #fff;
|
|
473
|
+
--primary-emphasis: var(--accent-10);
|
|
474
|
+
--secondary: var(--surface-3);
|
|
475
|
+
--secondary-foreground: var(--text-1);
|
|
476
|
+
--muted: var(--surface-3);
|
|
477
|
+
--muted-foreground: var(--text-2);
|
|
478
|
+
--accent: var(--accent-3);
|
|
479
|
+
--accent-foreground: var(--accent-11);
|
|
480
|
+
--destructive: var(--error-solid);
|
|
481
|
+
--destructive-foreground: var(--error-contrast);
|
|
482
|
+
--border: var(--border-1);
|
|
483
|
+
--input: var(--border-2);
|
|
484
|
+
--ring: var(--focus-ring);
|
|
485
|
+
--chart-1: var(--accent-9);
|
|
486
|
+
--chart-2: var(--success-9);
|
|
487
|
+
--chart-3: var(--info-9);
|
|
488
|
+
--chart-4: var(--warning-9);
|
|
489
|
+
--chart-5: var(--error-9);
|
|
490
|
+
--radius: 0.5rem;
|
|
491
|
+
--radius-sm: calc(var(--radius) - 4px);
|
|
492
|
+
--radius-md: calc(var(--radius) - 2px);
|
|
493
|
+
--radius-lg: var(--radius);
|
|
494
|
+
--radius-xl: calc(var(--radius) + 4px);
|
|
495
|
+
--sidebar: var(--surface-2);
|
|
496
|
+
--sidebar-foreground: var(--text-1);
|
|
497
|
+
--sidebar-primary: var(--accent-9);
|
|
498
|
+
--sidebar-primary-foreground: #fff;
|
|
499
|
+
--sidebar-accent: var(--accent-3);
|
|
500
|
+
--sidebar-accent-foreground: var(--accent-11);
|
|
501
|
+
--sidebar-border: var(--border-1);
|
|
502
|
+
--sidebar-ring: var(--focus-ring);
|
|
503
|
+
}
|
package/theme/theme.css
ADDED
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
@custom-variant dark (&:is(.dark *));
|
|
2
|
+
|
|
3
|
+
@theme inline {
|
|
4
|
+
/* Register non-default typography companions for standard text utilities. */
|
|
5
|
+
--text-xs--letter-spacing: var(--text-xs--letter-spacing);
|
|
6
|
+
--text-sm--letter-spacing: var(--text-sm--letter-spacing);
|
|
7
|
+
--text-md--letter-spacing: var(--text-md--letter-spacing);
|
|
8
|
+
--text-base--letter-spacing: var(--text-base--letter-spacing);
|
|
9
|
+
--text-lg--letter-spacing: var(--text-lg--letter-spacing);
|
|
10
|
+
--text-xl--letter-spacing: var(--text-xl--letter-spacing);
|
|
11
|
+
--text-2xl--letter-spacing: var(--text-2xl--letter-spacing);
|
|
12
|
+
--text-3xl--letter-spacing: var(--text-3xl--letter-spacing);
|
|
13
|
+
--text-4xl--letter-spacing: var(--text-4xl--letter-spacing);
|
|
14
|
+
--text-6xl--letter-spacing: var(--text-6xl--letter-spacing);
|
|
15
|
+
|
|
16
|
+
--color-background: var(--background);
|
|
17
|
+
--color-foreground: var(--foreground);
|
|
18
|
+
--color-surface-1: var(--surface-1);
|
|
19
|
+
--color-surface-2: var(--surface-2);
|
|
20
|
+
--color-surface-3: var(--surface-3);
|
|
21
|
+
--color-surface-hover: var(--surface-hover);
|
|
22
|
+
--color-surface-hover-lighter: var(--surface-hover-lighter);
|
|
23
|
+
--color-surface-hover-darker: var(--surface-hover-darker);
|
|
24
|
+
--color-text-1: var(--text-1);
|
|
25
|
+
--color-text-2: var(--text-2);
|
|
26
|
+
--color-text-disabled: var(--text-disabled);
|
|
27
|
+
--color-border-1: var(--border-1);
|
|
28
|
+
--color-border-2: var(--border-2);
|
|
29
|
+
--color-focus-ring: var(--focus-ring);
|
|
30
|
+
--color-success-surface: var(--success-surface);
|
|
31
|
+
--color-success-border: var(--success-border);
|
|
32
|
+
--color-success-solid: var(--success-solid);
|
|
33
|
+
--color-success-text: var(--success-text);
|
|
34
|
+
--color-success-contrast: var(--success-contrast);
|
|
35
|
+
--color-warning-surface: var(--warning-surface);
|
|
36
|
+
--color-warning-border: var(--warning-border);
|
|
37
|
+
--color-warning-solid: var(--warning-solid);
|
|
38
|
+
--color-warning-text: var(--warning-text);
|
|
39
|
+
--color-warning-contrast: var(--warning-contrast);
|
|
40
|
+
--color-error-surface: var(--error-surface);
|
|
41
|
+
--color-error-border: var(--error-border);
|
|
42
|
+
--color-error-solid: var(--error-solid);
|
|
43
|
+
--color-error-text: var(--error-text);
|
|
44
|
+
--color-error-contrast: var(--error-contrast);
|
|
45
|
+
--color-info-surface: var(--info-surface);
|
|
46
|
+
--color-info-border: var(--info-border);
|
|
47
|
+
--color-info-solid: var(--info-solid);
|
|
48
|
+
--color-info-text: var(--info-text);
|
|
49
|
+
--color-info-contrast: var(--info-contrast);
|
|
50
|
+
--color-card: var(--card);
|
|
51
|
+
--color-card-foreground: var(--card-foreground);
|
|
52
|
+
--color-popover: var(--popover);
|
|
53
|
+
--color-popover-foreground: var(--popover-foreground);
|
|
54
|
+
--color-primary: var(--primary);
|
|
55
|
+
--color-primary-foreground: var(--primary-foreground);
|
|
56
|
+
--color-primary-emphasis: var(--primary-emphasis);
|
|
57
|
+
--color-secondary: var(--secondary);
|
|
58
|
+
--color-secondary-foreground: var(--secondary-foreground);
|
|
59
|
+
--color-muted: var(--muted);
|
|
60
|
+
--color-muted-foreground: var(--muted-foreground);
|
|
61
|
+
--color-accent: var(--accent);
|
|
62
|
+
--color-accent-foreground: var(--accent-foreground);
|
|
63
|
+
--color-destructive: var(--destructive);
|
|
64
|
+
--color-destructive-foreground: var(--destructive-foreground);
|
|
65
|
+
--color-border: var(--border);
|
|
66
|
+
--color-input: var(--input);
|
|
67
|
+
--color-ring: var(--ring);
|
|
68
|
+
--color-chart-1: var(--chart-1);
|
|
69
|
+
--color-chart-2: var(--chart-2);
|
|
70
|
+
--color-chart-3: var(--chart-3);
|
|
71
|
+
--color-chart-4: var(--chart-4);
|
|
72
|
+
--color-chart-5: var(--chart-5);
|
|
73
|
+
--color-brand-violet: var(--brand-violet);
|
|
74
|
+
--color-brand-lilac: var(--brand-lilac);
|
|
75
|
+
--color-brand-magenta: var(--brand-magenta);
|
|
76
|
+
--color-brand-periwinkle: var(--brand-periwinkle);
|
|
77
|
+
--color-brand-cyan: var(--brand-cyan);
|
|
78
|
+
--radius-sm: calc(var(--radius) - 4px);
|
|
79
|
+
--radius-md: calc(var(--radius) - 2px);
|
|
80
|
+
--radius-lg: var(--radius);
|
|
81
|
+
--radius-xl: calc(var(--radius) + 4px);
|
|
82
|
+
--color-sidebar: var(--sidebar);
|
|
83
|
+
--color-sidebar-foreground: var(--sidebar-foreground);
|
|
84
|
+
--color-sidebar-primary: var(--sidebar-primary);
|
|
85
|
+
--color-sidebar-primary-foreground: var(--sidebar-primary-foreground);
|
|
86
|
+
--color-sidebar-accent: var(--sidebar-accent);
|
|
87
|
+
--color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
|
|
88
|
+
--color-sidebar-border: var(--sidebar-border);
|
|
89
|
+
--color-sidebar-ring: var(--sidebar-ring);
|
|
90
|
+
}
|