@yourgpt/copilot-sdk 1.2.10 → 1.3.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 +18 -9
- package/dist/{chunk-MHLF2QXY.cjs → chunk-3427BQ4M.cjs} +32 -2
- package/dist/chunk-3427BQ4M.cjs.map +1 -0
- package/dist/{chunk-EYNSW3NR.js → chunk-N2SMQKRK.js} +32 -2
- package/dist/chunk-N2SMQKRK.js.map +1 -0
- package/dist/react/index.cjs +37 -37
- package/dist/react/index.d.cts +6 -0
- package/dist/react/index.d.ts +6 -0
- package/dist/react/index.js +1 -1
- package/dist/styles.css +57 -41
- package/dist/themes/catppuccin.css +69 -0
- package/dist/themes/claude.css +68 -0
- package/dist/themes/linear.css +68 -0
- package/dist/themes/modern-minimal.css +68 -0
- package/dist/themes/posthog.css +216 -0
- package/dist/themes/supabase.css +68 -0
- package/dist/themes/twitter.css +68 -0
- package/dist/themes/vercel.css +68 -0
- package/dist/ui/index.cjs +18 -18
- package/dist/ui/index.cjs.map +1 -1
- package/dist/ui/index.js +15 -15
- package/dist/ui/index.js.map +1 -1
- package/package.json +10 -2
- package/dist/chunk-EYNSW3NR.js.map +0 -1
- package/dist/chunk-MHLF2QXY.cjs.map +0 -1
package/dist/react/index.cjs
CHANGED
|
@@ -1,153 +1,153 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunk3427BQ4M_cjs = require('../chunk-3427BQ4M.cjs');
|
|
4
4
|
var chunkMTFU6EHR_cjs = require('../chunk-MTFU6EHR.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, "AbstractAgentLoop", {
|
|
9
9
|
enumerable: true,
|
|
10
|
-
get: function () { return
|
|
10
|
+
get: function () { return chunk3427BQ4M_cjs.AbstractAgentLoop; }
|
|
11
11
|
});
|
|
12
12
|
Object.defineProperty(exports, "AbstractChat", {
|
|
13
13
|
enumerable: true,
|
|
14
|
-
get: function () { return
|
|
14
|
+
get: function () { return chunk3427BQ4M_cjs.AbstractChat; }
|
|
15
15
|
});
|
|
16
16
|
Object.defineProperty(exports, "CopilotProvider", {
|
|
17
17
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
18
|
+
get: function () { return chunk3427BQ4M_cjs.CopilotProvider; }
|
|
19
19
|
});
|
|
20
20
|
Object.defineProperty(exports, "ReactChat", {
|
|
21
21
|
enumerable: true,
|
|
22
|
-
get: function () { return
|
|
22
|
+
get: function () { return chunk3427BQ4M_cjs.ReactChat; }
|
|
23
23
|
});
|
|
24
24
|
Object.defineProperty(exports, "ReactChatState", {
|
|
25
25
|
enumerable: true,
|
|
26
|
-
get: function () { return
|
|
26
|
+
get: function () { return chunk3427BQ4M_cjs.ReactChatState; }
|
|
27
27
|
});
|
|
28
28
|
Object.defineProperty(exports, "ReactThreadManager", {
|
|
29
29
|
enumerable: true,
|
|
30
|
-
get: function () { return
|
|
30
|
+
get: function () { return chunk3427BQ4M_cjs.ReactThreadManager; }
|
|
31
31
|
});
|
|
32
32
|
Object.defineProperty(exports, "ReactThreadManagerState", {
|
|
33
33
|
enumerable: true,
|
|
34
|
-
get: function () { return
|
|
34
|
+
get: function () { return chunk3427BQ4M_cjs.ReactThreadManagerState; }
|
|
35
35
|
});
|
|
36
36
|
Object.defineProperty(exports, "createPermissionStorage", {
|
|
37
37
|
enumerable: true,
|
|
38
|
-
get: function () { return
|
|
38
|
+
get: function () { return chunk3427BQ4M_cjs.createPermissionStorage; }
|
|
39
39
|
});
|
|
40
40
|
Object.defineProperty(exports, "createReactChat", {
|
|
41
41
|
enumerable: true,
|
|
42
|
-
get: function () { return
|
|
42
|
+
get: function () { return chunk3427BQ4M_cjs.createReactChat; }
|
|
43
43
|
});
|
|
44
44
|
Object.defineProperty(exports, "createReactChatState", {
|
|
45
45
|
enumerable: true,
|
|
46
|
-
get: function () { return
|
|
46
|
+
get: function () { return chunk3427BQ4M_cjs.createReactChatState; }
|
|
47
47
|
});
|
|
48
48
|
Object.defineProperty(exports, "createReactThreadManager", {
|
|
49
49
|
enumerable: true,
|
|
50
|
-
get: function () { return
|
|
50
|
+
get: function () { return chunk3427BQ4M_cjs.createReactThreadManager; }
|
|
51
51
|
});
|
|
52
52
|
Object.defineProperty(exports, "createReactThreadManagerState", {
|
|
53
53
|
enumerable: true,
|
|
54
|
-
get: function () { return
|
|
54
|
+
get: function () { return chunk3427BQ4M_cjs.createReactThreadManagerState; }
|
|
55
55
|
});
|
|
56
56
|
Object.defineProperty(exports, "createSessionPermissionCache", {
|
|
57
57
|
enumerable: true,
|
|
58
|
-
get: function () { return
|
|
58
|
+
get: function () { return chunk3427BQ4M_cjs.createSessionPermissionCache; }
|
|
59
59
|
});
|
|
60
60
|
Object.defineProperty(exports, "formatKnowledgeResultsForAI", {
|
|
61
61
|
enumerable: true,
|
|
62
|
-
get: function () { return
|
|
62
|
+
get: function () { return chunk3427BQ4M_cjs.formatKnowledgeResultsForAI; }
|
|
63
63
|
});
|
|
64
64
|
Object.defineProperty(exports, "initialAgentLoopState", {
|
|
65
65
|
enumerable: true,
|
|
66
|
-
get: function () { return
|
|
66
|
+
get: function () { return chunk3427BQ4M_cjs.initialAgentLoopState; }
|
|
67
67
|
});
|
|
68
68
|
Object.defineProperty(exports, "searchKnowledgeBase", {
|
|
69
69
|
enumerable: true,
|
|
70
|
-
get: function () { return
|
|
70
|
+
get: function () { return chunk3427BQ4M_cjs.searchKnowledgeBase; }
|
|
71
71
|
});
|
|
72
72
|
Object.defineProperty(exports, "useAIAction", {
|
|
73
73
|
enumerable: true,
|
|
74
|
-
get: function () { return
|
|
74
|
+
get: function () { return chunk3427BQ4M_cjs.useAIAction; }
|
|
75
75
|
});
|
|
76
76
|
Object.defineProperty(exports, "useAIActions", {
|
|
77
77
|
enumerable: true,
|
|
78
|
-
get: function () { return
|
|
78
|
+
get: function () { return chunk3427BQ4M_cjs.useAIActions; }
|
|
79
79
|
});
|
|
80
80
|
Object.defineProperty(exports, "useAIContext", {
|
|
81
81
|
enumerable: true,
|
|
82
|
-
get: function () { return
|
|
82
|
+
get: function () { return chunk3427BQ4M_cjs.useAIContext; }
|
|
83
83
|
});
|
|
84
84
|
Object.defineProperty(exports, "useAIContexts", {
|
|
85
85
|
enumerable: true,
|
|
86
|
-
get: function () { return
|
|
86
|
+
get: function () { return chunk3427BQ4M_cjs.useAIContexts; }
|
|
87
87
|
});
|
|
88
88
|
Object.defineProperty(exports, "useAITools", {
|
|
89
89
|
enumerable: true,
|
|
90
|
-
get: function () { return
|
|
90
|
+
get: function () { return chunk3427BQ4M_cjs.useAITools; }
|
|
91
91
|
});
|
|
92
92
|
Object.defineProperty(exports, "useAgent", {
|
|
93
93
|
enumerable: true,
|
|
94
|
-
get: function () { return
|
|
94
|
+
get: function () { return chunk3427BQ4M_cjs.useAgent; }
|
|
95
95
|
});
|
|
96
96
|
Object.defineProperty(exports, "useCapabilities", {
|
|
97
97
|
enumerable: true,
|
|
98
|
-
get: function () { return
|
|
98
|
+
get: function () { return chunk3427BQ4M_cjs.useCapabilities; }
|
|
99
99
|
});
|
|
100
100
|
Object.defineProperty(exports, "useChat", {
|
|
101
101
|
enumerable: true,
|
|
102
|
-
get: function () { return
|
|
102
|
+
get: function () { return chunk3427BQ4M_cjs.useChat; }
|
|
103
103
|
});
|
|
104
104
|
Object.defineProperty(exports, "useCopilot", {
|
|
105
105
|
enumerable: true,
|
|
106
|
-
get: function () { return
|
|
106
|
+
get: function () { return chunk3427BQ4M_cjs.useCopilot; }
|
|
107
107
|
});
|
|
108
108
|
Object.defineProperty(exports, "useDevLogger", {
|
|
109
109
|
enumerable: true,
|
|
110
|
-
get: function () { return
|
|
110
|
+
get: function () { return chunk3427BQ4M_cjs.useDevLogger; }
|
|
111
111
|
});
|
|
112
112
|
Object.defineProperty(exports, "useFeatureSupport", {
|
|
113
113
|
enumerable: true,
|
|
114
|
-
get: function () { return
|
|
114
|
+
get: function () { return chunk3427BQ4M_cjs.useFeatureSupport; }
|
|
115
115
|
});
|
|
116
116
|
Object.defineProperty(exports, "useKnowledgeBase", {
|
|
117
117
|
enumerable: true,
|
|
118
|
-
get: function () { return
|
|
118
|
+
get: function () { return chunk3427BQ4M_cjs.useKnowledgeBase; }
|
|
119
119
|
});
|
|
120
120
|
Object.defineProperty(exports, "useSuggestions", {
|
|
121
121
|
enumerable: true,
|
|
122
|
-
get: function () { return
|
|
122
|
+
get: function () { return chunk3427BQ4M_cjs.useSuggestions; }
|
|
123
123
|
});
|
|
124
124
|
Object.defineProperty(exports, "useSupportedMediaTypes", {
|
|
125
125
|
enumerable: true,
|
|
126
|
-
get: function () { return
|
|
126
|
+
get: function () { return chunk3427BQ4M_cjs.useSupportedMediaTypes; }
|
|
127
127
|
});
|
|
128
128
|
Object.defineProperty(exports, "useThreadManager", {
|
|
129
129
|
enumerable: true,
|
|
130
|
-
get: function () { return
|
|
130
|
+
get: function () { return chunk3427BQ4M_cjs.useThreadManager; }
|
|
131
131
|
});
|
|
132
132
|
Object.defineProperty(exports, "useTool", {
|
|
133
133
|
enumerable: true,
|
|
134
|
-
get: function () { return
|
|
134
|
+
get: function () { return chunk3427BQ4M_cjs.useTool; }
|
|
135
135
|
});
|
|
136
136
|
Object.defineProperty(exports, "useToolExecutor", {
|
|
137
137
|
enumerable: true,
|
|
138
|
-
get: function () { return
|
|
138
|
+
get: function () { return chunk3427BQ4M_cjs.useToolExecutor; }
|
|
139
139
|
});
|
|
140
140
|
Object.defineProperty(exports, "useToolWithSchema", {
|
|
141
141
|
enumerable: true,
|
|
142
|
-
get: function () { return
|
|
142
|
+
get: function () { return chunk3427BQ4M_cjs.useToolWithSchema; }
|
|
143
143
|
});
|
|
144
144
|
Object.defineProperty(exports, "useTools", {
|
|
145
145
|
enumerable: true,
|
|
146
|
-
get: function () { return
|
|
146
|
+
get: function () { return chunk3427BQ4M_cjs.useTools; }
|
|
147
147
|
});
|
|
148
148
|
Object.defineProperty(exports, "useToolsWithSchema", {
|
|
149
149
|
enumerable: true,
|
|
150
|
-
get: function () { return
|
|
150
|
+
get: function () { return chunk3427BQ4M_cjs.useToolsWithSchema; }
|
|
151
151
|
});
|
|
152
152
|
Object.defineProperty(exports, "createLocalStorageAdapter", {
|
|
153
153
|
enumerable: true,
|
package/dist/react/index.d.cts
CHANGED
|
@@ -587,6 +587,11 @@ declare class AbstractChat<T extends UIMessage = UIMessage> {
|
|
|
587
587
|
* Set dynamic context (appended to system prompt)
|
|
588
588
|
*/
|
|
589
589
|
setContext(context: string): void;
|
|
590
|
+
/**
|
|
591
|
+
* Set system prompt dynamically
|
|
592
|
+
* This allows updating the system prompt after initialization
|
|
593
|
+
*/
|
|
594
|
+
setSystemPrompt(prompt: string): void;
|
|
590
595
|
/**
|
|
591
596
|
* Build the request payload
|
|
592
597
|
*/
|
|
@@ -816,6 +821,7 @@ interface CopilotContextValue {
|
|
|
816
821
|
registeredActions: ActionDefinition[];
|
|
817
822
|
addContext: (context: string, parentId?: string) => string;
|
|
818
823
|
removeContext: (id: string) => void;
|
|
824
|
+
setSystemPrompt: (prompt: string) => void;
|
|
819
825
|
threadId?: string;
|
|
820
826
|
runtimeUrl: string;
|
|
821
827
|
toolsConfig?: ToolsConfig;
|
package/dist/react/index.d.ts
CHANGED
|
@@ -587,6 +587,11 @@ declare class AbstractChat<T extends UIMessage = UIMessage> {
|
|
|
587
587
|
* Set dynamic context (appended to system prompt)
|
|
588
588
|
*/
|
|
589
589
|
setContext(context: string): void;
|
|
590
|
+
/**
|
|
591
|
+
* Set system prompt dynamically
|
|
592
|
+
* This allows updating the system prompt after initialization
|
|
593
|
+
*/
|
|
594
|
+
setSystemPrompt(prompt: string): void;
|
|
590
595
|
/**
|
|
591
596
|
* Build the request payload
|
|
592
597
|
*/
|
|
@@ -816,6 +821,7 @@ interface CopilotContextValue {
|
|
|
816
821
|
registeredActions: ActionDefinition[];
|
|
817
822
|
addContext: (context: string, parentId?: string) => string;
|
|
818
823
|
removeContext: (id: string) => void;
|
|
824
|
+
setSystemPrompt: (prompt: string) => void;
|
|
819
825
|
threadId?: string;
|
|
820
826
|
runtimeUrl: string;
|
|
821
827
|
toolsConfig?: ToolsConfig;
|
package/dist/react/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { AbstractAgentLoop, AbstractChat, CopilotProvider, ReactChat, ReactChatState, ReactThreadManager, ReactThreadManagerState, createPermissionStorage, createReactChat, createReactChatState, createReactThreadManager, createReactThreadManagerState, createSessionPermissionCache, formatKnowledgeResultsForAI, initialAgentLoopState, searchKnowledgeBase, useAIAction, useAIActions, useAIContext, useAIContexts, useAITools, useAgent, useCapabilities, useChat, useCopilot, useDevLogger, useFeatureSupport, useKnowledgeBase, useSuggestions, useSupportedMediaTypes, useThreadManager, useTool, useToolExecutor, useToolWithSchema, useTools, useToolsWithSchema } from '../chunk-
|
|
1
|
+
export { AbstractAgentLoop, AbstractChat, CopilotProvider, ReactChat, ReactChatState, ReactThreadManager, ReactThreadManagerState, createPermissionStorage, createReactChat, createReactChatState, createReactThreadManager, createReactThreadManagerState, createSessionPermissionCache, formatKnowledgeResultsForAI, initialAgentLoopState, searchKnowledgeBase, useAIAction, useAIActions, useAIContext, useAIContexts, useAITools, useAgent, useCapabilities, useChat, useCopilot, useDevLogger, useFeatureSupport, useKnowledgeBase, useSuggestions, useSupportedMediaTypes, useThreadManager, useTool, useToolExecutor, useToolWithSchema, useTools, useToolsWithSchema } from '../chunk-N2SMQKRK.js';
|
|
2
2
|
export { createLocalStorageAdapter, createMemoryAdapter, createServerAdapter, generateSuggestionReason } from '../chunk-CVD3X4MN.js';
|
|
3
3
|
//# sourceMappingURL=index.js.map
|
|
4
4
|
//# sourceMappingURL=index.js.map
|
package/dist/styles.css
CHANGED
|
@@ -1,48 +1,64 @@
|
|
|
1
|
-
/* YourGPT Copilot
|
|
2
|
-
/*
|
|
1
|
+
/* YourGPT Copilot SDK - Base Styles */
|
|
2
|
+
/* Default neutral theme */
|
|
3
3
|
|
|
4
|
-
/* shadcn/ui CSS Variables */
|
|
5
4
|
:root {
|
|
6
|
-
--background: 0 0% 100
|
|
7
|
-
--foreground: 240 10% 3.9
|
|
8
|
-
|
|
9
|
-
--card
|
|
10
|
-
--
|
|
11
|
-
|
|
12
|
-
--
|
|
13
|
-
--
|
|
14
|
-
|
|
15
|
-
--
|
|
16
|
-
--
|
|
17
|
-
|
|
18
|
-
--
|
|
19
|
-
--
|
|
20
|
-
|
|
21
|
-
--
|
|
22
|
-
--
|
|
23
|
-
|
|
24
|
-
--
|
|
5
|
+
--background: hsl(0 0% 100%);
|
|
6
|
+
--foreground: hsl(240 10% 3.9%);
|
|
7
|
+
|
|
8
|
+
--card: hsl(0 0% 100%);
|
|
9
|
+
--card-foreground: hsl(240 10% 3.9%);
|
|
10
|
+
|
|
11
|
+
--popover: hsl(0 0% 100%);
|
|
12
|
+
--popover-foreground: hsl(240 10% 3.9%);
|
|
13
|
+
|
|
14
|
+
--primary: hsl(240 5.9% 10%);
|
|
15
|
+
--primary-foreground: hsl(0 0% 98%);
|
|
16
|
+
|
|
17
|
+
--secondary: hsl(240 4.8% 95.9%);
|
|
18
|
+
--secondary-foreground: hsl(240 5.9% 10%);
|
|
19
|
+
|
|
20
|
+
--muted: hsl(240 4.8% 95.9%);
|
|
21
|
+
--muted-foreground: hsl(240 3.8% 46.1%);
|
|
22
|
+
|
|
23
|
+
--accent: hsl(240 4.8% 95.9%);
|
|
24
|
+
--accent-foreground: hsl(240 5.9% 10%);
|
|
25
|
+
|
|
26
|
+
--destructive: hsl(0 84.2% 60.2%);
|
|
27
|
+
--destructive-foreground: hsl(0 0% 98%);
|
|
28
|
+
|
|
29
|
+
--border: hsl(240 5.9% 90%);
|
|
30
|
+
--input: hsl(240 5.9% 90%);
|
|
31
|
+
--ring: hsl(240 5.9% 10%);
|
|
32
|
+
|
|
25
33
|
--radius: 0.5rem;
|
|
26
34
|
}
|
|
27
35
|
|
|
28
36
|
.dark {
|
|
29
|
-
--background: 240 10% 3.9
|
|
30
|
-
--foreground: 0 0% 98
|
|
31
|
-
|
|
32
|
-
--card
|
|
33
|
-
--
|
|
34
|
-
|
|
35
|
-
--
|
|
36
|
-
--
|
|
37
|
-
|
|
38
|
-
--
|
|
39
|
-
--
|
|
40
|
-
|
|
41
|
-
--
|
|
42
|
-
--
|
|
43
|
-
|
|
44
|
-
--
|
|
45
|
-
--
|
|
46
|
-
|
|
47
|
-
--
|
|
37
|
+
--background: hsl(240 10% 3.9%);
|
|
38
|
+
--foreground: hsl(0 0% 98%);
|
|
39
|
+
|
|
40
|
+
--card: hsl(240 10% 3.9%);
|
|
41
|
+
--card-foreground: hsl(0 0% 98%);
|
|
42
|
+
|
|
43
|
+
--popover: hsl(240 10% 3.9%);
|
|
44
|
+
--popover-foreground: hsl(0 0% 98%);
|
|
45
|
+
|
|
46
|
+
--primary: hsl(0 0% 98%);
|
|
47
|
+
--primary-foreground: hsl(240 5.9% 10%);
|
|
48
|
+
|
|
49
|
+
--secondary: hsl(240 3.7% 15.9%);
|
|
50
|
+
--secondary-foreground: hsl(0 0% 98%);
|
|
51
|
+
|
|
52
|
+
--muted: hsl(240 3.7% 15.9%);
|
|
53
|
+
--muted-foreground: hsl(240 5% 64.9%);
|
|
54
|
+
|
|
55
|
+
--accent: hsl(240 3.7% 15.9%);
|
|
56
|
+
--accent-foreground: hsl(0 0% 98%);
|
|
57
|
+
|
|
58
|
+
--destructive: hsl(0 62.8% 30.6%);
|
|
59
|
+
--destructive-foreground: hsl(0 0% 98%);
|
|
60
|
+
|
|
61
|
+
--border: hsl(240 3.7% 15.9%);
|
|
62
|
+
--input: hsl(240 3.7% 15.9%);
|
|
63
|
+
--ring: hsl(240 4.9% 83.9%);
|
|
48
64
|
}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
/* Catppuccin Theme - Popular community theme, pastel colors */
|
|
2
|
+
|
|
3
|
+
.csdk-theme-catppuccin,
|
|
4
|
+
[data-csdk-theme="catppuccin"] {
|
|
5
|
+
/* Latte (Light) */
|
|
6
|
+
--background: hsl(220 23% 95%);
|
|
7
|
+
--foreground: hsl(234 16% 35%);
|
|
8
|
+
|
|
9
|
+
--card: hsl(0 0% 100%);
|
|
10
|
+
--card-foreground: hsl(234 16% 35%);
|
|
11
|
+
|
|
12
|
+
--popover: hsl(223 16% 83%);
|
|
13
|
+
--popover-foreground: hsl(234 16% 35%);
|
|
14
|
+
|
|
15
|
+
--primary: hsl(267 84% 58%);
|
|
16
|
+
--primary-foreground: hsl(0 0% 100%);
|
|
17
|
+
|
|
18
|
+
--secondary: hsl(223 16% 83%);
|
|
19
|
+
--secondary-foreground: hsl(234 16% 35%);
|
|
20
|
+
|
|
21
|
+
--muted: hsl(220 17% 88%);
|
|
22
|
+
--muted-foreground: hsl(233 10% 47%);
|
|
23
|
+
|
|
24
|
+
--accent: hsl(189 71% 46%);
|
|
25
|
+
--accent-foreground: hsl(0 0% 100%);
|
|
26
|
+
|
|
27
|
+
--destructive: hsl(347 87% 44%);
|
|
28
|
+
--destructive-foreground: hsl(0 0% 100%);
|
|
29
|
+
|
|
30
|
+
--border: hsl(225 14% 77%);
|
|
31
|
+
--input: hsl(223 16% 83%);
|
|
32
|
+
--ring: hsl(267 84% 58%);
|
|
33
|
+
|
|
34
|
+
--radius: 0.35rem;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
/* Dark mode - Mocha */
|
|
38
|
+
.dark.csdk-theme-catppuccin,
|
|
39
|
+
.dark .csdk-theme-catppuccin,
|
|
40
|
+
.dark[data-csdk-theme="catppuccin"],
|
|
41
|
+
.dark [data-csdk-theme="catppuccin"] {
|
|
42
|
+
--background: hsl(240 21% 12%);
|
|
43
|
+
--foreground: hsl(227 70% 87%);
|
|
44
|
+
|
|
45
|
+
--card: hsl(240 21% 15%);
|
|
46
|
+
--card-foreground: hsl(227 70% 87%);
|
|
47
|
+
|
|
48
|
+
--popover: hsl(233 14% 31%);
|
|
49
|
+
--popover-foreground: hsl(227 70% 87%);
|
|
50
|
+
|
|
51
|
+
--primary: hsl(267 83% 80%);
|
|
52
|
+
--primary-foreground: hsl(240 21% 15%);
|
|
53
|
+
|
|
54
|
+
--secondary: hsl(234 13% 39%);
|
|
55
|
+
--secondary-foreground: hsl(227 70% 87%);
|
|
56
|
+
|
|
57
|
+
--muted: hsl(235 20% 21%);
|
|
58
|
+
--muted-foreground: hsl(228 24% 72%);
|
|
59
|
+
|
|
60
|
+
--accent: hsl(189 71% 73%);
|
|
61
|
+
--accent-foreground: hsl(240 21% 15%);
|
|
62
|
+
|
|
63
|
+
--destructive: hsl(351 74% 73%);
|
|
64
|
+
--destructive-foreground: hsl(240 21% 15%);
|
|
65
|
+
|
|
66
|
+
--border: hsl(237 16% 23%);
|
|
67
|
+
--input: hsl(237 16% 23%);
|
|
68
|
+
--ring: hsl(267 83% 80%);
|
|
69
|
+
}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
/* Claude Theme - Warm, earthy, AI-focused */
|
|
2
|
+
|
|
3
|
+
.csdk-theme-claude,
|
|
4
|
+
[data-csdk-theme="claude"] {
|
|
5
|
+
--background: hsl(45 33% 97%);
|
|
6
|
+
--foreground: hsl(47 20% 20%);
|
|
7
|
+
|
|
8
|
+
--card: hsl(45 33% 97%);
|
|
9
|
+
--card-foreground: hsl(60 5% 8%);
|
|
10
|
+
|
|
11
|
+
--popover: hsl(0 0% 100%);
|
|
12
|
+
--popover-foreground: hsl(50 22% 13%);
|
|
13
|
+
|
|
14
|
+
--primary: hsl(16 56% 52%);
|
|
15
|
+
--primary-foreground: hsl(0 0% 100%);
|
|
16
|
+
|
|
17
|
+
--secondary: hsl(43 20% 89%);
|
|
18
|
+
--secondary-foreground: hsl(48 7% 31%);
|
|
19
|
+
|
|
20
|
+
--muted: hsl(44 24% 90%);
|
|
21
|
+
--muted-foreground: hsl(60 1% 50%);
|
|
22
|
+
|
|
23
|
+
--accent: hsl(43 20% 89%);
|
|
24
|
+
--accent-foreground: hsl(53 22% 13%);
|
|
25
|
+
|
|
26
|
+
--destructive: hsl(0 84% 60%);
|
|
27
|
+
--destructive-foreground: hsl(0 0% 100%);
|
|
28
|
+
|
|
29
|
+
--border: hsl(45 8% 84%);
|
|
30
|
+
--input: hsl(47 6% 69%);
|
|
31
|
+
--ring: hsl(16 56% 52%);
|
|
32
|
+
|
|
33
|
+
--radius: 0.5rem;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
/* Dark mode */
|
|
37
|
+
.dark.csdk-theme-claude,
|
|
38
|
+
.dark .csdk-theme-claude,
|
|
39
|
+
.dark[data-csdk-theme="claude"],
|
|
40
|
+
.dark [data-csdk-theme="claude"] {
|
|
41
|
+
--background: hsl(60 3% 15%);
|
|
42
|
+
--foreground: hsl(44 8% 74%);
|
|
43
|
+
|
|
44
|
+
--card: hsl(60 3% 15%);
|
|
45
|
+
--card-foreground: hsl(45 33% 97%);
|
|
46
|
+
|
|
47
|
+
--popover: hsl(60 3% 18%);
|
|
48
|
+
--popover-foreground: hsl(60 3% 90%);
|
|
49
|
+
|
|
50
|
+
--primary: hsl(14 62% 60%);
|
|
51
|
+
--primary-foreground: hsl(0 0% 100%);
|
|
52
|
+
|
|
53
|
+
--secondary: hsl(45 33% 97%);
|
|
54
|
+
--secondary-foreground: hsl(60 2% 18%);
|
|
55
|
+
|
|
56
|
+
--muted: hsl(60 5% 10%);
|
|
57
|
+
--muted-foreground: hsl(46 7% 69%);
|
|
58
|
+
|
|
59
|
+
--accent: hsl(52 10% 9%);
|
|
60
|
+
--accent-foreground: hsl(50 20% 95%);
|
|
61
|
+
|
|
62
|
+
--destructive: hsl(0 84% 60%);
|
|
63
|
+
--destructive-foreground: hsl(0 0% 100%);
|
|
64
|
+
|
|
65
|
+
--border: hsl(55 5% 23%);
|
|
66
|
+
--input: hsl(52 5% 31%);
|
|
67
|
+
--ring: hsl(14 62% 60%);
|
|
68
|
+
}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
/* Linear Theme - Refined purple, sophisticated */
|
|
2
|
+
|
|
3
|
+
.csdk-theme-linear,
|
|
4
|
+
[data-csdk-theme="linear"] {
|
|
5
|
+
--background: hsl(260 20% 99%);
|
|
6
|
+
--foreground: hsl(260 25% 12%);
|
|
7
|
+
|
|
8
|
+
--card: hsl(0 0% 100%);
|
|
9
|
+
--card-foreground: hsl(260 25% 12%);
|
|
10
|
+
|
|
11
|
+
--popover: hsl(0 0% 100%);
|
|
12
|
+
--popover-foreground: hsl(260 25% 12%);
|
|
13
|
+
|
|
14
|
+
--primary: hsl(260 75% 50%);
|
|
15
|
+
--primary-foreground: hsl(0 0% 100%);
|
|
16
|
+
|
|
17
|
+
--secondary: hsl(260 15% 95%);
|
|
18
|
+
--secondary-foreground: hsl(260 25% 12%);
|
|
19
|
+
|
|
20
|
+
--muted: hsl(260 12% 94%);
|
|
21
|
+
--muted-foreground: hsl(260 10% 45%);
|
|
22
|
+
|
|
23
|
+
--accent: hsl(195 70% 55%);
|
|
24
|
+
--accent-foreground: hsl(260 25% 12%);
|
|
25
|
+
|
|
26
|
+
--destructive: hsl(0 75% 55%);
|
|
27
|
+
--destructive-foreground: hsl(0 0% 100%);
|
|
28
|
+
|
|
29
|
+
--border: hsl(260 12% 90%);
|
|
30
|
+
--input: hsl(260 12% 90%);
|
|
31
|
+
--ring: hsl(260 75% 50%);
|
|
32
|
+
|
|
33
|
+
--radius: 0.5rem;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
/* Dark mode */
|
|
37
|
+
.dark.csdk-theme-linear,
|
|
38
|
+
.dark .csdk-theme-linear,
|
|
39
|
+
.dark[data-csdk-theme="linear"],
|
|
40
|
+
.dark [data-csdk-theme="linear"] {
|
|
41
|
+
--background: hsl(260 30% 7%);
|
|
42
|
+
--foreground: hsl(260 10% 95%);
|
|
43
|
+
|
|
44
|
+
--card: hsl(260 28% 10%);
|
|
45
|
+
--card-foreground: hsl(260 10% 95%);
|
|
46
|
+
|
|
47
|
+
--popover: hsl(260 28% 10%);
|
|
48
|
+
--popover-foreground: hsl(260 10% 95%);
|
|
49
|
+
|
|
50
|
+
--primary: hsl(260 65% 58%);
|
|
51
|
+
--primary-foreground: hsl(260 30% 7%);
|
|
52
|
+
|
|
53
|
+
--secondary: hsl(260 22% 15%);
|
|
54
|
+
--secondary-foreground: hsl(260 10% 95%);
|
|
55
|
+
|
|
56
|
+
--muted: hsl(260 20% 15%);
|
|
57
|
+
--muted-foreground: hsl(260 10% 55%);
|
|
58
|
+
|
|
59
|
+
--accent: hsl(195 55% 55%);
|
|
60
|
+
--accent-foreground: hsl(260 30% 7%);
|
|
61
|
+
|
|
62
|
+
--destructive: hsl(0 62% 35%);
|
|
63
|
+
--destructive-foreground: hsl(0 0% 100%);
|
|
64
|
+
|
|
65
|
+
--border: hsl(260 22% 18%);
|
|
66
|
+
--input: hsl(260 22% 18%);
|
|
67
|
+
--ring: hsl(260 65% 58%);
|
|
68
|
+
}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
/* Modern Minimal Theme - Clean, sharp, tech-focused */
|
|
2
|
+
|
|
3
|
+
.csdk-theme-modern,
|
|
4
|
+
[data-csdk-theme="modern"] {
|
|
5
|
+
--background: hsl(0 0% 100%);
|
|
6
|
+
--foreground: hsl(0 0% 20%);
|
|
7
|
+
|
|
8
|
+
--card: hsl(0 0% 100%);
|
|
9
|
+
--card-foreground: hsl(0 0% 20%);
|
|
10
|
+
|
|
11
|
+
--popover: hsl(0 0% 100%);
|
|
12
|
+
--popover-foreground: hsl(0 0% 20%);
|
|
13
|
+
|
|
14
|
+
--primary: hsl(217 91% 60%);
|
|
15
|
+
--primary-foreground: hsl(0 0% 100%);
|
|
16
|
+
|
|
17
|
+
--secondary: hsl(220 14% 96%);
|
|
18
|
+
--secondary-foreground: hsl(220 9% 46%);
|
|
19
|
+
|
|
20
|
+
--muted: hsl(210 20% 98%);
|
|
21
|
+
--muted-foreground: hsl(220 9% 46%);
|
|
22
|
+
|
|
23
|
+
--accent: hsl(201 94% 94%);
|
|
24
|
+
--accent-foreground: hsl(224 64% 33%);
|
|
25
|
+
|
|
26
|
+
--destructive: hsl(0 84% 60%);
|
|
27
|
+
--destructive-foreground: hsl(0 0% 100%);
|
|
28
|
+
|
|
29
|
+
--border: hsl(220 13% 91%);
|
|
30
|
+
--input: hsl(220 13% 91%);
|
|
31
|
+
--ring: hsl(217 91% 60%);
|
|
32
|
+
|
|
33
|
+
--radius: 0.375rem;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
/* Dark mode */
|
|
37
|
+
.dark.csdk-theme-modern,
|
|
38
|
+
.dark .csdk-theme-modern,
|
|
39
|
+
.dark[data-csdk-theme="modern"],
|
|
40
|
+
.dark [data-csdk-theme="modern"] {
|
|
41
|
+
--background: hsl(0 0% 9%);
|
|
42
|
+
--foreground: hsl(0 0% 90%);
|
|
43
|
+
|
|
44
|
+
--card: hsl(0 0% 15%);
|
|
45
|
+
--card-foreground: hsl(0 0% 90%);
|
|
46
|
+
|
|
47
|
+
--popover: hsl(0 0% 15%);
|
|
48
|
+
--popover-foreground: hsl(0 0% 90%);
|
|
49
|
+
|
|
50
|
+
--primary: hsl(217 91% 60%);
|
|
51
|
+
--primary-foreground: hsl(0 0% 100%);
|
|
52
|
+
|
|
53
|
+
--secondary: hsl(0 0% 15%);
|
|
54
|
+
--secondary-foreground: hsl(0 0% 90%);
|
|
55
|
+
|
|
56
|
+
--muted: hsl(0 0% 12%);
|
|
57
|
+
--muted-foreground: hsl(0 0% 64%);
|
|
58
|
+
|
|
59
|
+
--accent: hsl(224 64% 33%);
|
|
60
|
+
--accent-foreground: hsl(213 97% 87%);
|
|
61
|
+
|
|
62
|
+
--destructive: hsl(0 84% 60%);
|
|
63
|
+
--destructive-foreground: hsl(0 0% 100%);
|
|
64
|
+
|
|
65
|
+
--border: hsl(0 0% 25%);
|
|
66
|
+
--input: hsl(0 0% 25%);
|
|
67
|
+
--ring: hsl(217 91% 60%);
|
|
68
|
+
}
|