@tulipfarm/sprout 0.3.0 → 0.4.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 +45 -40
- package/dist/components/accordion.d.ts +2 -2
- package/dist/components/accordion.js +9 -9
- package/dist/components/agent-fanout.d.ts +2 -2
- package/dist/components/agent-fanout.js +65 -87
- package/dist/components/alert-dialog.d.ts +6 -6
- package/dist/components/alert-dialog.js +20 -20
- package/dist/components/alert.d.ts +6 -6
- package/dist/components/alert.js +13 -13
- package/dist/components/aspect-ratio.d.ts +2 -2
- package/dist/components/aspect-ratio.js +2 -2
- package/dist/components/attachment.d.ts +17 -17
- package/dist/components/attachment.js +82 -115
- package/dist/components/avatar.d.ts +10 -10
- package/dist/components/avatar.js +14 -14
- package/dist/components/badge.d.ts +4 -4
- package/dist/components/badge.js +18 -18
- package/dist/components/board.d.ts +107 -0
- package/dist/components/board.js +640 -0
- package/dist/components/brand-icon.d.ts +6 -6
- package/dist/components/brand-icon.js +55 -63
- package/dist/components/breadcrumb.d.ts +11 -11
- package/dist/components/breadcrumb.js +16 -18
- package/dist/components/button-group.d.ts +6 -6
- package/dist/components/button-group.js +14 -14
- package/dist/components/button.d.ts +11 -11
- package/dist/components/button.js +46 -56
- package/dist/components/calendar.d.ts +5 -5
- package/dist/components/calendar.js +44 -53
- package/dist/components/canvas.d.ts +4 -4
- package/dist/components/canvas.js +39 -46
- package/dist/components/card.d.ts +6 -6
- package/dist/components/card.js +17 -17
- package/dist/components/carousel.d.ts +7 -7
- package/dist/components/carousel.js +57 -75
- package/dist/components/chart.d.ts +5 -112
- package/dist/components/chart.js +5 -172
- package/dist/components/chat-confirmation.d.ts +13 -11
- package/dist/components/chat-confirmation.js +32 -38
- package/dist/components/chat-input.d.ts +4 -4
- package/dist/components/chat-input.js +74 -81
- package/dist/components/chat-plan.d.ts +2 -2
- package/dist/components/chat-plan.js +15 -20
- package/dist/components/chat-sources.d.ts +8 -8
- package/dist/components/chat-sources.js +18 -27
- package/dist/components/checkbox.d.ts +1 -1
- package/dist/components/checkbox.js +9 -9
- package/dist/components/choice-list.d.ts +2 -2
- package/dist/components/choice-list.js +16 -18
- package/dist/components/code-block.d.ts +5 -5
- package/dist/components/code-block.js +26 -26
- package/dist/components/collapsible.d.ts +1 -1
- package/dist/components/collapsible.js +7 -11
- package/dist/components/combobox.d.ts +3 -3
- package/dist/components/combobox.js +24 -24
- package/dist/components/command.d.ts +13 -13
- package/dist/components/command.js +61 -73
- package/dist/components/context-menu.d.ts +5 -5
- package/dist/components/context-menu.js +22 -22
- package/dist/components/dialog.d.ts +6 -6
- package/dist/components/dialog.js +23 -28
- package/dist/components/direction.d.ts +1 -1
- package/dist/components/direction.js +1 -1
- package/dist/components/dropdown-menu.d.ts +5 -5
- package/dist/components/dropdown-menu.js +20 -20
- package/dist/components/field.d.ts +11 -11
- package/dist/components/field.js +41 -61
- package/dist/components/file-explorer.d.ts +2 -2
- package/dist/components/file-explorer.js +89 -105
- package/dist/components/file-viewer.d.ts +10 -10
- package/dist/components/file-viewer.js +112 -140
- package/dist/components/form.d.ts +7 -7
- package/dist/components/form.js +24 -28
- package/dist/components/glass-banner.d.ts +3 -3
- package/dist/components/glass-banner.js +21 -24
- package/dist/components/gradient-banner.d.ts +5 -5
- package/dist/components/gradient-banner.js +13 -22
- package/dist/components/hover-card.d.ts +4 -4
- package/dist/components/hover-card.js +6 -6
- package/dist/components/input-group.d.ts +11 -11
- package/dist/components/input-group.js +22 -36
- package/dist/components/input-otp.d.ts +10 -10
- package/dist/components/input-otp.js +13 -15
- package/dist/components/input.d.ts +1 -1
- package/dist/components/input.js +7 -7
- package/dist/components/kbd.d.ts +3 -3
- package/dist/components/kbd.js +5 -5
- package/dist/components/label.d.ts +2 -2
- package/dist/components/label.js +2 -2
- package/dist/components/mention-list.d.ts +3 -3
- package/dist/components/mention-list.js +10 -10
- package/dist/components/menubar.d.ts +6 -6
- package/dist/components/menubar.js +22 -22
- package/dist/components/message-actions.d.ts +2 -2
- package/dist/components/message-actions.js +29 -31
- package/dist/components/message-response.d.ts +3 -3
- package/dist/components/message-response.js +18 -18
- package/dist/components/message-scroller.d.ts +12 -12
- package/dist/components/message-scroller.js +44 -56
- package/dist/components/message.d.ts +11 -11
- package/dist/components/message.js +25 -25
- package/dist/components/navigation-menu.d.ts +2 -2
- package/dist/components/navigation-menu.js +15 -15
- package/dist/components/notice-banner.d.ts +2 -2
- package/dist/components/notice-banner.js +2 -2
- package/dist/components/page-content.d.ts +2 -2
- package/dist/components/page-content.js +2 -2
- package/dist/components/page-header.d.ts +1 -1
- package/dist/components/page-header.js +16 -16
- package/dist/components/pagination.d.ts +9 -9
- package/dist/components/pagination.js +17 -17
- package/dist/components/plan-outline.d.ts +2 -2
- package/dist/components/plan-outline.js +43 -60
- package/dist/components/popover.d.ts +6 -6
- package/dist/components/popover.js +15 -15
- package/dist/components/presence-cursor.d.ts +2 -2
- package/dist/components/presence-cursor.js +3 -3
- package/dist/components/progress.d.ts +1 -1
- package/dist/components/progress.js +8 -8
- package/dist/components/prompt-list.d.ts +3 -3
- package/dist/components/prompt-list.js +6 -6
- package/dist/components/questionnaire.d.ts +19 -19
- package/dist/components/questionnaire.js +183 -242
- package/dist/components/radio-group.d.ts +2 -2
- package/dist/components/radio-group.js +6 -6
- package/dist/components/reasoning-effort.d.ts +3 -3
- package/dist/components/reasoning-effort.js +9 -12
- package/dist/components/record-list.d.ts +66 -0
- package/dist/components/record-list.js +151 -0
- package/dist/components/resizable.d.ts +5 -5
- package/dist/components/resizable.js +76 -102
- package/dist/components/result-card.d.ts +10 -5
- package/dist/components/result-card.js +42 -53
- package/dist/components/result-notice.d.ts +18 -0
- package/dist/components/result-notice.js +29 -0
- package/dist/components/review-card.d.ts +6 -6
- package/dist/components/review-card.js +18 -18
- package/dist/components/rich-text-editor.d.ts +2 -2
- package/dist/components/rich-text-editor.js +56 -72
- package/dist/components/schema-diagram.d.ts +3 -3
- package/dist/components/schema-diagram.js +39 -53
- package/dist/components/scroll-area.d.ts +1 -1
- package/dist/components/scroll-area.js +10 -14
- package/dist/components/search-dialog.d.ts +6 -6
- package/dist/components/search-dialog.js +16 -16
- package/dist/components/search-field.d.ts +1 -1
- package/dist/components/search-field.js +11 -11
- package/dist/components/select.d.ts +3 -3
- package/dist/components/select.js +20 -20
- package/dist/components/selection-slot.d.ts +2 -2
- package/dist/components/selection-slot.js +6 -9
- package/dist/components/separator.d.ts +15 -15
- package/dist/components/separator.js +22 -27
- package/dist/components/settings-list.d.ts +3 -3
- package/dist/components/settings-list.js +5 -5
- package/dist/components/sheet.d.ts +6 -6
- package/dist/components/sheet.js +27 -27
- package/dist/components/sidebar.d.ts +22 -22
- package/dist/components/sidebar.js +57 -58
- package/dist/components/skeleton.d.ts +5 -5
- package/dist/components/skeleton.js +14 -21
- package/dist/components/slider.d.ts +2 -2
- package/dist/components/slider.js +6 -6
- package/dist/components/spinner.d.ts +5 -5
- package/dist/components/spinner.js +22 -26
- package/dist/components/sql-viewer.d.ts +14 -14
- package/dist/components/sql-viewer.js +99 -128
- package/dist/components/state-panel-samples.d.ts +2 -2
- package/dist/components/state-panel-samples.js +209 -245
- package/dist/components/state-panel.d.ts +2 -35
- package/dist/components/state-panel.js +2 -29
- package/dist/components/state-sample.d.ts +7 -7
- package/dist/components/state-sample.js +18 -31
- package/dist/components/switch.d.ts +1 -1
- package/dist/components/switch.js +7 -7
- package/dist/components/table-nuqs.d.ts +2 -2
- package/dist/components/table-nuqs.js +11 -12
- package/dist/components/table.d.ts +4 -4
- package/dist/components/table.js +166 -235
- package/dist/components/tabs.d.ts +2 -2
- package/dist/components/tabs.js +12 -12
- package/dist/components/textarea.d.ts +2 -2
- package/dist/components/textarea.js +6 -8
- package/dist/components/timeline.d.ts +3 -0
- package/dist/components/timeline.js +3 -0
- package/dist/components/toast.d.ts +2 -2
- package/dist/components/toast.js +19 -25
- package/dist/components/toggle-group.d.ts +2 -2
- package/dist/components/toggle-group.js +18 -20
- package/dist/components/toggle.d.ts +2 -2
- package/dist/components/toggle.js +8 -8
- package/dist/components/tool-activity.d.ts +1 -1
- package/dist/components/tool-activity.js +83 -110
- package/dist/components/toolbar-status.d.ts +2 -2
- package/dist/components/toolbar-status.js +7 -7
- package/dist/components/tooltip.d.ts +5 -5
- package/dist/components/tooltip.js +12 -11
- package/dist/components/typed-text.d.ts +2 -2
- package/dist/components/typed-text.js +10 -12
- package/dist/components/view-switcher.d.ts +51 -0
- package/dist/components/view-switcher.js +114 -0
- package/dist/index.d.ts +98 -93
- package/dist/index.js +98 -93
- package/dist/internal/chart-kit.d.ts +142 -0
- package/dist/internal/chart-kit.js +200 -0
- package/dist/internal/charts/bars.d.ts +61 -0
- package/dist/internal/charts/bars.js +86 -0
- package/dist/internal/charts/lines.d.ts +67 -0
- package/dist/internal/charts/lines.js +70 -0
- package/dist/internal/charts/more.d.ts +77 -0
- package/dist/internal/charts/more.js +68 -0
- package/dist/internal/charts/parts.d.ts +54 -0
- package/dist/internal/charts/parts.js +82 -0
- package/dist/internal/charts/timeline-dates.d.ts +38 -0
- package/dist/internal/charts/timeline-dates.js +113 -0
- package/dist/internal/charts/timeline-window.d.ts +31 -0
- package/dist/internal/charts/timeline-window.js +26 -0
- package/dist/internal/charts/timeline.d.ts +72 -0
- package/dist/internal/charts/timeline.js +287 -0
- package/dist/internal/classes.d.ts +1 -1
- package/dist/internal/classes.js +7 -9
- package/dist/internal/code-tokens.d.ts +2 -2
- package/dist/internal/code-tokens.js +12 -12
- package/dist/internal/fieldset.d.ts +1 -1
- package/dist/internal/fieldset.js +6 -6
- package/dist/internal/file-kind.d.ts +1 -1
- package/dist/internal/file-kind.js +43 -51
- package/dist/internal/flow.d.ts +4 -4
- package/dist/internal/flow.js +20 -23
- package/dist/internal/languages.js +999 -999
- package/dist/internal/message-scroller.d.ts +3 -3
- package/dist/internal/message-scroller.js +64 -112
- package/dist/internal/pressable.d.ts +1 -1
- package/dist/internal/pressable.js +7 -7
- package/dist/internal/state-panel.d.ts +35 -0
- package/dist/internal/state-panel.js +22 -0
- package/dist/internal/syntax.d.ts +2 -2
- package/dist/internal/syntax.js +36 -47
- package/dist/styles/accordion.css +3 -5
- package/dist/styles/agent-fanout.css +64 -60
- package/dist/styles/alert-dialog.css +12 -26
- package/dist/styles/alert.css +10 -15
- package/dist/styles/attachment.css +51 -93
- package/dist/styles/avatar.css +17 -24
- package/dist/styles/badge.css +11 -36
- package/dist/styles/board.css +571 -0
- package/dist/styles/brand-icon.css +7 -8
- package/dist/styles/breadcrumb.css +4 -7
- package/dist/styles/button-group.css +8 -14
- package/dist/styles/button.css +22 -27
- package/dist/styles/calendar.css +24 -36
- package/dist/styles/canvas.css +2 -3
- package/dist/styles/card.css +7 -23
- package/dist/styles/carousel.css +11 -12
- package/dist/styles/chart.css +215 -31
- package/dist/styles/chat-input.css +15 -39
- package/dist/styles/chat-plan.css +3 -4
- package/dist/styles/chat-sources.css +3 -6
- package/dist/styles/checkbox.css +11 -25
- package/dist/styles/choice-list.css +17 -31
- package/dist/styles/code-block.css +11 -25
- package/dist/styles/collapsible.css +10 -15
- package/dist/styles/combobox.css +11 -15
- package/dist/styles/command.css +5 -8
- package/dist/styles/context-menu.css +2 -2
- package/dist/styles/dialog.css +5 -16
- package/dist/styles/dropdown-menu.css +2 -2
- package/dist/styles/field.css +15 -21
- package/dist/styles/file-explorer.css +19 -33
- package/dist/styles/file-viewer.css +13 -17
- package/dist/styles/form.css +3 -3
- package/dist/styles/glass-banner.css +12 -47
- package/dist/styles/gradient-banner.css +17 -35
- package/dist/styles/hover-card.css +9 -15
- package/dist/styles/index.css +116 -108
- package/dist/styles/input-group.css +25 -41
- package/dist/styles/input-otp.css +5 -6
- package/dist/styles/input.css +5 -5
- package/dist/styles/kbd.css +1 -1
- package/dist/styles/label.css +9 -30
- package/dist/styles/mention-list.css +6 -8
- package/dist/styles/menubar.css +5 -6
- package/dist/styles/message-actions.css +1 -1
- package/dist/styles/message-response.css +3 -5
- package/dist/styles/message-scroller.css +14 -21
- package/dist/styles/message.css +23 -60
- package/dist/styles/navigation-menu.css +14 -29
- package/dist/styles/notice-banner.css +1 -2
- package/dist/styles/page-header.css +7 -10
- package/dist/styles/pagination.css +1 -4
- package/dist/styles/plan-outline.css +20 -37
- package/dist/styles/popover.css +10 -19
- package/dist/styles/presence-cursor.css +1 -2
- package/dist/styles/progress.css +2 -4
- package/dist/styles/prompt-list.css +6 -17
- package/dist/styles/questionnaire.css +16 -40
- package/dist/styles/radio-group.css +12 -23
- package/dist/styles/reasoning-effort.css +8 -15
- package/dist/styles/record-list.css +243 -0
- package/dist/styles/resizable.css +10 -11
- package/dist/styles/result-card.css +17 -3
- package/dist/styles/result-notice.css +80 -0
- package/dist/styles/review-card.css +2 -3
- package/dist/styles/rich-text-editor.css +1 -2
- package/dist/styles/schema-diagram.css +12 -17
- package/dist/styles/scroll-area.css +8 -10
- package/dist/styles/search-dialog.css +1 -5
- package/dist/styles/search-field.css +1 -2
- package/dist/styles/select.css +7 -7
- package/dist/styles/selection-slot.css +1 -2
- package/dist/styles/separator.css +7 -8
- package/dist/styles/settings-list.css +1 -2
- package/dist/styles/sheet.css +40 -73
- package/dist/styles/sidebar.css +17 -21
- package/dist/styles/skeleton.css +9 -11
- package/dist/styles/slider.css +11 -21
- package/dist/styles/spinner.css +2 -2
- package/dist/styles/sql-viewer.css +29 -29
- package/dist/styles/state-panel.css +8 -9
- package/dist/styles/state-sample.css +20 -33
- package/dist/styles/switch.css +11 -18
- package/dist/styles/table.css +51 -77
- package/dist/styles/tabs.css +12 -16
- package/dist/styles/textarea.css +3 -3
- package/dist/styles/themes/chatgpt.css +11 -23
- package/dist/styles/themes/claude.css +12 -24
- package/dist/styles/themes/cloudflare.css +11 -23
- package/dist/styles/themes/discord.css +11 -23
- package/dist/styles/themes/github.css +11 -23
- package/dist/styles/themes/grok.css +11 -23
- package/dist/styles/themes/linear.css +12 -25
- package/dist/styles/themes/neutral.css +11 -23
- package/dist/styles/themes/notion.css +11 -23
- package/dist/styles/themes/perplexity.css +11 -23
- package/dist/styles/themes/raycast.css +11 -23
- package/dist/styles/themes/spotify.css +11 -23
- package/dist/styles/themes/stripe.css +11 -23
- package/dist/styles/themes/supabase.css +11 -23
- package/dist/styles/themes/tulipfarm.css +9 -10
- package/dist/styles/themes/vercel.css +12 -25
- package/dist/styles/timeline.css +276 -0
- package/dist/styles/toast.css +13 -20
- package/dist/styles/toggle-group.css +17 -23
- package/dist/styles/toggle.css +8 -8
- package/dist/styles/tool-activity.css +7 -13
- package/dist/styles/toolbar-status.css +2 -7
- package/dist/styles/tooltip.css +15 -21
- package/dist/styles/view-switcher.css +279 -0
- package/package.json +21 -1
package/dist/styles/table.css
CHANGED
|
@@ -10,16 +10,8 @@
|
|
|
10
10
|
}
|
|
11
11
|
|
|
12
12
|
.sprout-table {
|
|
13
|
-
--sprout-table-hover: color-mix(
|
|
14
|
-
|
|
15
|
-
var(--sprout-hover) 55%,
|
|
16
|
-
var(--sprout-surface)
|
|
17
|
-
);
|
|
18
|
-
--sprout-table-head-bg: color-mix(
|
|
19
|
-
in oklab,
|
|
20
|
-
var(--sprout-hover) 70%,
|
|
21
|
-
var(--sprout-surface)
|
|
22
|
-
);
|
|
13
|
+
--sprout-table-hover: color-mix(in oklab, var(--sprout-hover) 55%, var(--sprout-surface));
|
|
14
|
+
--sprout-table-head-bg: color-mix(in oklab, var(--sprout-hover) 70%, var(--sprout-surface));
|
|
23
15
|
width: 100%;
|
|
24
16
|
caption-side: bottom;
|
|
25
17
|
border-collapse: collapse;
|
|
@@ -45,21 +37,21 @@
|
|
|
45
37
|
background-color: var(--sprout-table-hover);
|
|
46
38
|
}
|
|
47
39
|
}
|
|
48
|
-
.sprout-table-row:has([aria-expanded=
|
|
40
|
+
.sprout-table-row:has([aria-expanded='true']),
|
|
49
41
|
.sprout-table-row[data-interactive]:has(:focus-visible) {
|
|
50
42
|
--sprout-table-row-bg: var(--sprout-table-hover);
|
|
51
43
|
background-color: var(--sprout-table-hover);
|
|
52
44
|
}
|
|
53
|
-
.sprout-table-row[data-state=
|
|
54
|
-
.sprout-table-body > .sprout-table-row[data-state=
|
|
45
|
+
.sprout-table-row[data-state='selected'],
|
|
46
|
+
.sprout-table-body > .sprout-table-row[data-state='selected']:hover {
|
|
55
47
|
--sprout-table-row-bg: var(--sprout-primary-subtle);
|
|
56
48
|
background-color: var(--sprout-primary-subtle);
|
|
57
49
|
}
|
|
58
|
-
.sprout-table-row[data-state=
|
|
50
|
+
.sprout-table-row[data-state='selected'] > td:first-child {
|
|
59
51
|
position: relative;
|
|
60
52
|
}
|
|
61
|
-
.sprout-table-row[data-state=
|
|
62
|
-
content:
|
|
53
|
+
.sprout-table-row[data-state='selected'] > td:first-child::before {
|
|
54
|
+
content: '';
|
|
63
55
|
position: absolute;
|
|
64
56
|
inset-block: 0;
|
|
65
57
|
inset-inline-start: 0;
|
|
@@ -88,10 +80,10 @@
|
|
|
88
80
|
white-space: nowrap;
|
|
89
81
|
text-align: start;
|
|
90
82
|
}
|
|
91
|
-
.sprout-table-head[data-align=
|
|
83
|
+
.sprout-table-head[data-align='right'] {
|
|
92
84
|
text-align: end;
|
|
93
85
|
}
|
|
94
|
-
.sprout-table-cell[data-align=
|
|
86
|
+
.sprout-table-cell[data-align='right'] {
|
|
95
87
|
text-align: end;
|
|
96
88
|
font-variant-numeric: tabular-nums;
|
|
97
89
|
}
|
|
@@ -117,7 +109,7 @@
|
|
|
117
109
|
}
|
|
118
110
|
.sprout-table-head[data-sticky-end]::before,
|
|
119
111
|
.sprout-table-cell[data-sticky-end]::before {
|
|
120
|
-
content:
|
|
112
|
+
content: '';
|
|
121
113
|
pointer-events: none;
|
|
122
114
|
position: absolute;
|
|
123
115
|
inset-block: 0;
|
|
@@ -132,33 +124,31 @@
|
|
|
132
124
|
color: var(--sprout-muted);
|
|
133
125
|
}
|
|
134
126
|
|
|
135
|
-
.sprout-table[data-variant=
|
|
127
|
+
.sprout-table[data-variant='grid'] .sprout-table-row {
|
|
136
128
|
border-color: var(--sprout-input);
|
|
137
129
|
}
|
|
138
|
-
.sprout-table[data-variant=
|
|
130
|
+
.sprout-table[data-variant='grid'] > .sprout-table-header {
|
|
139
131
|
position: sticky;
|
|
140
132
|
top: 0;
|
|
141
133
|
z-index: 10;
|
|
142
134
|
background: var(--sprout-table-head-bg);
|
|
143
135
|
}
|
|
144
|
-
.sprout-table[data-variant=
|
|
145
|
-
> .sprout-table-header
|
|
146
|
-
> .sprout-table-row {
|
|
136
|
+
.sprout-table[data-variant='grid'] > .sprout-table-header > .sprout-table-row {
|
|
147
137
|
border-bottom: 0;
|
|
148
138
|
}
|
|
149
|
-
.sprout-table[data-variant=
|
|
139
|
+
.sprout-table[data-variant='grid'] .sprout-table-head {
|
|
150
140
|
padding: 0 12px;
|
|
151
141
|
box-shadow: inset 0 -1px var(--sprout-input);
|
|
152
142
|
}
|
|
153
|
-
.sprout-table[data-variant=
|
|
143
|
+
.sprout-table[data-variant='grid'] .sprout-table-cell {
|
|
154
144
|
padding: 10px 12px;
|
|
155
145
|
}
|
|
156
|
-
.sprout-table[data-variant=
|
|
157
|
-
.sprout-table[data-variant=
|
|
146
|
+
.sprout-table[data-variant='grid'] .sprout-table-head,
|
|
147
|
+
.sprout-table[data-variant='grid'] .sprout-table-cell {
|
|
158
148
|
border-inline-end: 1px solid var(--sprout-input);
|
|
159
149
|
}
|
|
160
|
-
.sprout-table[data-variant=
|
|
161
|
-
.sprout-table[data-variant=
|
|
150
|
+
.sprout-table[data-variant='grid'] .sprout-table-head:last-child,
|
|
151
|
+
.sprout-table[data-variant='grid'] .sprout-table-cell:last-child {
|
|
162
152
|
border-inline-end: 0;
|
|
163
153
|
}
|
|
164
154
|
|
|
@@ -248,7 +238,7 @@
|
|
|
248
238
|
align-items: center;
|
|
249
239
|
gap: 4px;
|
|
250
240
|
}
|
|
251
|
-
.sprout-table-head[data-align=
|
|
241
|
+
.sprout-table-head[data-align='right'] > .sprout-table-head-inner {
|
|
252
242
|
flex-direction: row-reverse;
|
|
253
243
|
}
|
|
254
244
|
.sprout-table-hint,
|
|
@@ -305,7 +295,7 @@
|
|
|
305
295
|
user-select: none;
|
|
306
296
|
}
|
|
307
297
|
.sprout-table-resizer::after {
|
|
308
|
-
content:
|
|
298
|
+
content: '';
|
|
309
299
|
position: absolute;
|
|
310
300
|
inset-block: 0;
|
|
311
301
|
inset-inline-end: 2px;
|
|
@@ -338,16 +328,15 @@
|
|
|
338
328
|
z-index: 20;
|
|
339
329
|
background: var(--sprout-table-head-bg);
|
|
340
330
|
}
|
|
341
|
-
.sprout-table-head[data-pinned=
|
|
342
|
-
.sprout-table-cell[data-pinned=
|
|
331
|
+
.sprout-table-head[data-pinned='start'],
|
|
332
|
+
.sprout-table-cell[data-pinned='start'] {
|
|
343
333
|
box-shadow: inset -1px 0 var(--sprout-input);
|
|
344
334
|
}
|
|
345
|
-
.sprout-table-head[data-pinned=
|
|
346
|
-
.sprout-table-cell[data-pinned=
|
|
335
|
+
.sprout-table-head[data-pinned='end'],
|
|
336
|
+
.sprout-table-cell[data-pinned='end'] {
|
|
347
337
|
box-shadow: inset 1px 0 var(--sprout-input);
|
|
348
338
|
}
|
|
349
|
-
.sprout-table[data-pin-start]
|
|
350
|
-
:is(.sprout-table-head, .sprout-table-cell)[data-selection] {
|
|
339
|
+
.sprout-table[data-pin-start] :is(.sprout-table-head, .sprout-table-cell)[data-selection] {
|
|
351
340
|
position: sticky;
|
|
352
341
|
z-index: 1;
|
|
353
342
|
background: var(--sprout-table-row-bg, var(--sprout-surface));
|
|
@@ -410,7 +399,7 @@
|
|
|
410
399
|
outline: none;
|
|
411
400
|
}
|
|
412
401
|
.sprout-table-link::after {
|
|
413
|
-
content:
|
|
402
|
+
content: '';
|
|
414
403
|
position: absolute;
|
|
415
404
|
inset: 0;
|
|
416
405
|
}
|
|
@@ -424,21 +413,14 @@
|
|
|
424
413
|
box-shadow: inset 0 0 0 var(--sprout-focus-width) var(--sprout-focus-ring);
|
|
425
414
|
}
|
|
426
415
|
.sprout-table-row[data-linked]
|
|
427
|
-
:is(
|
|
428
|
-
.sprout-table-handle,
|
|
429
|
-
[data-slot="checkbox"],
|
|
430
|
-
.sprout-table-toggle,
|
|
431
|
-
.sprout-table-hint
|
|
432
|
-
),
|
|
416
|
+
:is(.sprout-table-handle, [data-slot='checkbox'], .sprout-table-toggle, .sprout-table-hint),
|
|
433
417
|
.sprout-table-row[data-linked] > td[data-selection],
|
|
434
418
|
.sprout-table-row[data-linked] > td[data-sticky-end] {
|
|
435
419
|
position: relative;
|
|
436
420
|
z-index: 10;
|
|
437
421
|
}
|
|
438
422
|
.sprout-table-row[data-linked] > td[data-sticky-end],
|
|
439
|
-
.sprout-table[data-pin-start]
|
|
440
|
-
.sprout-table-row[data-linked]
|
|
441
|
-
> td[data-selection] {
|
|
423
|
+
.sprout-table[data-pin-start] .sprout-table-row[data-linked] > td[data-selection] {
|
|
442
424
|
position: sticky;
|
|
443
425
|
}
|
|
444
426
|
.sprout-table-row[data-drop-target] {
|
|
@@ -459,7 +441,7 @@
|
|
|
459
441
|
.sprout-table-input {
|
|
460
442
|
min-width: 6rem;
|
|
461
443
|
}
|
|
462
|
-
.sprout-table-cell[data-align=
|
|
444
|
+
.sprout-table-cell[data-align='right'] .sprout-table-input {
|
|
463
445
|
text-align: end;
|
|
464
446
|
}
|
|
465
447
|
.sprout-table-select {
|
|
@@ -519,27 +501,27 @@
|
|
|
519
501
|
|
|
520
502
|
/* Stack layout: under 36rem each row becomes a card of label and value pairs. */
|
|
521
503
|
@container sprout-table (width < 36rem) {
|
|
522
|
-
.sprout-table[data-narrow=
|
|
523
|
-
.sprout-table[data-narrow=
|
|
524
|
-
.sprout-table[data-narrow=
|
|
525
|
-
.sprout-table[data-narrow=
|
|
504
|
+
.sprout-table[data-narrow='stack'],
|
|
505
|
+
.sprout-table[data-narrow='stack'] > :is(thead, tbody, tfoot),
|
|
506
|
+
.sprout-table[data-narrow='stack'] .sprout-table-row,
|
|
507
|
+
.sprout-table[data-narrow='stack'] .sprout-table-cell {
|
|
526
508
|
display: block;
|
|
527
509
|
}
|
|
528
|
-
.sprout-table[data-narrow=
|
|
510
|
+
.sprout-table[data-narrow='stack'] {
|
|
529
511
|
min-width: 0 !important;
|
|
530
512
|
}
|
|
531
|
-
.sprout-table[data-narrow=
|
|
513
|
+
.sprout-table[data-narrow='stack'] > thead {
|
|
532
514
|
position: absolute;
|
|
533
515
|
width: 1px;
|
|
534
516
|
height: 1px;
|
|
535
517
|
overflow: hidden;
|
|
536
518
|
clip-path: inset(50%);
|
|
537
519
|
}
|
|
538
|
-
.sprout-table[data-narrow=
|
|
520
|
+
.sprout-table[data-narrow='stack'] .sprout-table-row {
|
|
539
521
|
position: relative;
|
|
540
522
|
padding: 10px 8px;
|
|
541
523
|
}
|
|
542
|
-
.sprout-table[data-narrow=
|
|
524
|
+
.sprout-table[data-narrow='stack'] .sprout-table-cell {
|
|
543
525
|
display: flex;
|
|
544
526
|
gap: 12px;
|
|
545
527
|
padding: 2px 0;
|
|
@@ -547,28 +529,24 @@
|
|
|
547
529
|
text-align: start;
|
|
548
530
|
overflow-wrap: anywhere;
|
|
549
531
|
}
|
|
550
|
-
.sprout-table[data-narrow=
|
|
532
|
+
.sprout-table[data-narrow='stack'] .sprout-table-cell[data-label]::before {
|
|
551
533
|
content: attr(data-label);
|
|
552
534
|
flex: 0 0 40%;
|
|
553
535
|
color: var(--sprout-muted);
|
|
554
536
|
font-weight: 400;
|
|
555
537
|
}
|
|
556
|
-
.sprout-table[data-narrow=
|
|
557
|
-
|
|
558
|
-
.sprout-table[data-narrow="stack"]
|
|
559
|
-
.sprout-table-row[data-group]
|
|
560
|
-
.sprout-table-cell::before {
|
|
538
|
+
.sprout-table[data-narrow='stack'] .sprout-table-cell:first-of-type[data-label]::before,
|
|
539
|
+
.sprout-table[data-narrow='stack'] .sprout-table-row[data-group] .sprout-table-cell::before {
|
|
561
540
|
content: none;
|
|
562
541
|
}
|
|
563
|
-
.sprout-table[data-narrow=
|
|
542
|
+
.sprout-table[data-narrow='stack'] .sprout-table-cell:first-of-type {
|
|
564
543
|
font-weight: 500;
|
|
565
544
|
}
|
|
566
|
-
.sprout-table[data-narrow=
|
|
567
|
-
.sprout-table[data-narrow=
|
|
568
|
-
.sprout-table-cell[data-selection]:empty {
|
|
545
|
+
.sprout-table[data-narrow='stack'] .sprout-table-cell:empty,
|
|
546
|
+
.sprout-table[data-narrow='stack'] .sprout-table-cell[data-selection]:empty {
|
|
569
547
|
display: none;
|
|
570
548
|
}
|
|
571
|
-
.sprout-table[data-narrow=
|
|
549
|
+
.sprout-table[data-narrow='stack'] .sprout-table-cell[data-selection] {
|
|
572
550
|
position: absolute;
|
|
573
551
|
inset-block-start: 10px;
|
|
574
552
|
inset-inline-start: auto;
|
|
@@ -576,20 +554,17 @@
|
|
|
576
554
|
width: auto;
|
|
577
555
|
min-width: 0;
|
|
578
556
|
}
|
|
579
|
-
.sprout-table[data-narrow=
|
|
580
|
-
.sprout-table[data-narrow=
|
|
557
|
+
.sprout-table[data-narrow='stack'] .sprout-table-cell[data-sticky-end],
|
|
558
|
+
.sprout-table[data-narrow='stack'] .sprout-table-cell[data-pinned] {
|
|
581
559
|
position: static;
|
|
582
560
|
width: auto;
|
|
583
561
|
background: none;
|
|
584
562
|
box-shadow: none;
|
|
585
563
|
}
|
|
586
|
-
.sprout-table[data-narrow=
|
|
587
|
-
.sprout-table-cell[data-sticky-end]::before {
|
|
564
|
+
.sprout-table[data-narrow='stack'] .sprout-table-cell[data-sticky-end]::before {
|
|
588
565
|
content: none;
|
|
589
566
|
}
|
|
590
|
-
.sprout-table[data-narrow=
|
|
591
|
-
.sprout-table-row[data-state="selected"]
|
|
592
|
-
> td:first-child::before {
|
|
567
|
+
.sprout-table[data-narrow='stack'] .sprout-table-row[data-state='selected'] > td:first-child::before {
|
|
593
568
|
content: none;
|
|
594
569
|
}
|
|
595
570
|
}
|
|
@@ -597,8 +572,7 @@
|
|
|
597
572
|
@media (prefers-reduced-motion: no-preference) {
|
|
598
573
|
.sprout-table-row,
|
|
599
574
|
.sprout-table-cell[data-sticky-end] {
|
|
600
|
-
transition: background-color var(--sprout-motion-fast)
|
|
601
|
-
var(--sprout-motion-ease);
|
|
575
|
+
transition: background-color var(--sprout-motion-fast) var(--sprout-motion-ease);
|
|
602
576
|
}
|
|
603
577
|
}
|
|
604
578
|
}
|
package/dist/styles/tabs.css
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
gap: 8px;
|
|
6
6
|
min-width: 0;
|
|
7
7
|
}
|
|
8
|
-
.sprout-tabs[data-orientation=
|
|
8
|
+
.sprout-tabs[data-orientation='vertical'] {
|
|
9
9
|
flex-direction: row;
|
|
10
10
|
}
|
|
11
11
|
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
border-radius: calc(var(--sprout-radius-control) + 2px);
|
|
23
23
|
color: var(--sprout-muted);
|
|
24
24
|
}
|
|
25
|
-
.sprout-tabs-list[data-orientation=
|
|
25
|
+
.sprout-tabs-list[data-orientation='vertical'] {
|
|
26
26
|
flex-direction: column;
|
|
27
27
|
align-items: stretch;
|
|
28
28
|
height: fit-content;
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
border-radius: 0;
|
|
55
55
|
background: transparent;
|
|
56
56
|
}
|
|
57
|
-
.sprout-tabs-list-steps[data-orientation=
|
|
57
|
+
.sprout-tabs-list-steps[data-orientation='vertical'] {
|
|
58
58
|
justify-content: flex-start;
|
|
59
59
|
width: fit-content;
|
|
60
60
|
border-bottom: 0;
|
|
@@ -86,17 +86,17 @@
|
|
|
86
86
|
user-select: none;
|
|
87
87
|
-webkit-tap-highlight-color: transparent;
|
|
88
88
|
}
|
|
89
|
-
.sprout-tabs-trigger:has(> [data-icon=
|
|
89
|
+
.sprout-tabs-trigger:has(> [data-icon='inline-start']) {
|
|
90
90
|
padding-inline-start: 6px;
|
|
91
91
|
}
|
|
92
|
-
.sprout-tabs-trigger:has(> [data-icon=
|
|
92
|
+
.sprout-tabs-trigger:has(> [data-icon='inline-end']) {
|
|
93
93
|
padding-inline-end: 6px;
|
|
94
94
|
}
|
|
95
95
|
.sprout-tabs-trigger svg {
|
|
96
96
|
flex-shrink: 0;
|
|
97
97
|
pointer-events: none;
|
|
98
98
|
}
|
|
99
|
-
.sprout-tabs-trigger svg:not([class*=
|
|
99
|
+
.sprout-tabs-trigger svg:not([class*='size-']) {
|
|
100
100
|
width: 16px;
|
|
101
101
|
height: 16px;
|
|
102
102
|
}
|
|
@@ -119,7 +119,7 @@
|
|
|
119
119
|
|
|
120
120
|
/* The underline for line and steps lists. */
|
|
121
121
|
.sprout-tabs-trigger::after {
|
|
122
|
-
content:
|
|
122
|
+
content: '';
|
|
123
123
|
position: absolute;
|
|
124
124
|
inset-inline: 0;
|
|
125
125
|
bottom: -3px;
|
|
@@ -128,12 +128,12 @@
|
|
|
128
128
|
opacity: 0;
|
|
129
129
|
pointer-events: none;
|
|
130
130
|
}
|
|
131
|
-
.sprout-tabs-trigger[data-orientation=
|
|
131
|
+
.sprout-tabs-trigger[data-orientation='vertical'] {
|
|
132
132
|
flex: none;
|
|
133
133
|
width: 100%;
|
|
134
134
|
justify-content: flex-start;
|
|
135
135
|
}
|
|
136
|
-
.sprout-tabs-trigger[data-orientation=
|
|
136
|
+
.sprout-tabs-trigger[data-orientation='vertical']::after {
|
|
137
137
|
inset-inline: auto -3px;
|
|
138
138
|
inset-block: 0;
|
|
139
139
|
bottom: 0;
|
|
@@ -156,9 +156,7 @@
|
|
|
156
156
|
0 1px 2px rgb(0 0 0 / 0.3);
|
|
157
157
|
}
|
|
158
158
|
@media (prefers-color-scheme: dark) {
|
|
159
|
-
:root:not(.light):not(.dark)
|
|
160
|
-
.sprout-tabs-list-default
|
|
161
|
-
> .sprout-tabs-trigger[data-active] {
|
|
159
|
+
:root:not(.light):not(.dark) .sprout-tabs-list-default > .sprout-tabs-trigger[data-active] {
|
|
162
160
|
border-color: color-mix(in oklab, var(--sprout-text) 16%, transparent);
|
|
163
161
|
background: color-mix(in oklab, var(--sprout-text) 9%, transparent);
|
|
164
162
|
box-shadow:
|
|
@@ -181,8 +179,7 @@
|
|
|
181
179
|
bottom: -1px;
|
|
182
180
|
background: var(--sprout-primary);
|
|
183
181
|
}
|
|
184
|
-
.sprout-tabs-list-steps
|
|
185
|
-
> .sprout-tabs-trigger[data-orientation="vertical"]::after {
|
|
182
|
+
.sprout-tabs-list-steps > .sprout-tabs-trigger[data-orientation='vertical']::after {
|
|
186
183
|
inset-inline: auto -1px;
|
|
187
184
|
bottom: 0;
|
|
188
185
|
}
|
|
@@ -216,8 +213,7 @@
|
|
|
216
213
|
box-shadow var(--sprout-motion-fast, 120ms) ease-out;
|
|
217
214
|
}
|
|
218
215
|
.sprout-tabs-trigger::after {
|
|
219
|
-
transition: opacity var(--sprout-motion-normal, 180ms)
|
|
220
|
-
var(--sprout-motion-ease, ease-out);
|
|
216
|
+
transition: opacity var(--sprout-motion-normal, 180ms) var(--sprout-motion-ease, ease-out);
|
|
221
217
|
}
|
|
222
218
|
}
|
|
223
219
|
}
|
package/dist/styles/textarea.css
CHANGED
|
@@ -36,16 +36,16 @@
|
|
|
36
36
|
background-color: var(--sprout-hover);
|
|
37
37
|
opacity: 0.5;
|
|
38
38
|
}
|
|
39
|
-
.sprout-textarea[aria-invalid=
|
|
39
|
+
.sprout-textarea[aria-invalid='true'] {
|
|
40
40
|
border-color: var(--sprout-danger);
|
|
41
41
|
}
|
|
42
|
-
.sprout-textarea[aria-invalid=
|
|
42
|
+
.sprout-textarea[aria-invalid='true']:focus-visible {
|
|
43
43
|
outline-color: var(--sprout-danger);
|
|
44
44
|
}
|
|
45
45
|
|
|
46
46
|
.sprout-textarea-variant-embedded,
|
|
47
47
|
.sprout-textarea-variant-embedded:focus-visible,
|
|
48
|
-
.sprout-textarea-variant-embedded[aria-invalid=
|
|
48
|
+
.sprout-textarea-variant-embedded[aria-invalid='true'] {
|
|
49
49
|
border-color: transparent;
|
|
50
50
|
border-radius: 0;
|
|
51
51
|
background-color: transparent;
|
|
@@ -6,15 +6,15 @@
|
|
|
6
6
|
* that subtree.
|
|
7
7
|
*/
|
|
8
8
|
@layer base {
|
|
9
|
-
[data-sprout-theme=
|
|
9
|
+
[data-sprout-theme='chatgpt'] {
|
|
10
10
|
--sprout-font: ui-sans-serif, system-ui, sans-serif;
|
|
11
11
|
--sprout-radius-control: 0.75rem;
|
|
12
12
|
--sprout-radius-panel: 1rem;
|
|
13
13
|
}
|
|
14
14
|
|
|
15
|
-
[data-sprout-theme=
|
|
16
|
-
.light[data-sprout-theme=
|
|
17
|
-
.light [data-sprout-theme=
|
|
15
|
+
[data-sprout-theme='chatgpt'],
|
|
16
|
+
.light[data-sprout-theme='chatgpt'],
|
|
17
|
+
.light [data-sprout-theme='chatgpt'] {
|
|
18
18
|
--sprout-canvas: #f9f9f9;
|
|
19
19
|
--sprout-surface: #ffffff;
|
|
20
20
|
--sprout-hover: #f0f0f0;
|
|
@@ -40,17 +40,13 @@
|
|
|
40
40
|
--sprout-success-subtle: #e8f4eb;
|
|
41
41
|
--sprout-warning: #8a4b08;
|
|
42
42
|
--sprout-warning-subtle: #fdf1dc;
|
|
43
|
-
--sprout-primary-subtle: color-mix(
|
|
44
|
-
in oklab,
|
|
45
|
-
var(--sprout-primary) 10%,
|
|
46
|
-
var(--sprout-surface)
|
|
47
|
-
);
|
|
43
|
+
--sprout-primary-subtle: color-mix(in oklab, var(--sprout-primary) 10%, var(--sprout-surface));
|
|
48
44
|
--sprout-secondary: #eeeeee;
|
|
49
45
|
--sprout-overlay: rgb(18 18 18 / 0.35);
|
|
50
46
|
}
|
|
51
47
|
|
|
52
|
-
.dark[data-sprout-theme=
|
|
53
|
-
.dark [data-sprout-theme=
|
|
48
|
+
.dark[data-sprout-theme='chatgpt'],
|
|
49
|
+
.dark [data-sprout-theme='chatgpt'] {
|
|
54
50
|
--sprout-canvas: #212121;
|
|
55
51
|
--sprout-surface: #2f2f2f;
|
|
56
52
|
--sprout-hover: #3e3e3e;
|
|
@@ -76,18 +72,14 @@
|
|
|
76
72
|
--sprout-success-subtle: #1c3223;
|
|
77
73
|
--sprout-warning: #eec27e;
|
|
78
74
|
--sprout-warning-subtle: #34291b;
|
|
79
|
-
--sprout-primary-subtle: color-mix(
|
|
80
|
-
in oklab,
|
|
81
|
-
var(--sprout-primary) 16%,
|
|
82
|
-
var(--sprout-surface)
|
|
83
|
-
);
|
|
75
|
+
--sprout-primary-subtle: color-mix(in oklab, var(--sprout-primary) 16%, var(--sprout-surface));
|
|
84
76
|
--sprout-secondary: #404040;
|
|
85
77
|
--sprout-overlay: rgb(8 8 8 / 0.65);
|
|
86
78
|
}
|
|
87
79
|
|
|
88
80
|
@media (prefers-color-scheme: dark) {
|
|
89
|
-
:root:not(.light):not(.dark)[data-sprout-theme=
|
|
90
|
-
:root:not(.light):not(.dark) [data-sprout-theme=
|
|
81
|
+
:root:not(.light):not(.dark)[data-sprout-theme='chatgpt'],
|
|
82
|
+
:root:not(.light):not(.dark) [data-sprout-theme='chatgpt'] {
|
|
91
83
|
--sprout-canvas: #212121;
|
|
92
84
|
--sprout-surface: #2f2f2f;
|
|
93
85
|
--sprout-hover: #3e3e3e;
|
|
@@ -113,11 +105,7 @@
|
|
|
113
105
|
--sprout-success-subtle: #1c3223;
|
|
114
106
|
--sprout-warning: #eec27e;
|
|
115
107
|
--sprout-warning-subtle: #34291b;
|
|
116
|
-
--sprout-primary-subtle: color-mix(
|
|
117
|
-
in oklab,
|
|
118
|
-
var(--sprout-primary) 16%,
|
|
119
|
-
var(--sprout-surface)
|
|
120
|
-
);
|
|
108
|
+
--sprout-primary-subtle: color-mix(in oklab, var(--sprout-primary) 16%, var(--sprout-surface));
|
|
121
109
|
--sprout-secondary: #404040;
|
|
122
110
|
--sprout-overlay: rgb(8 8 8 / 0.65);
|
|
123
111
|
}
|
|
@@ -6,15 +6,15 @@
|
|
|
6
6
|
* that subtree.
|
|
7
7
|
*/
|
|
8
8
|
@layer base {
|
|
9
|
-
[data-sprout-theme=
|
|
10
|
-
--sprout-font: ui-serif, Georgia,
|
|
9
|
+
[data-sprout-theme='claude'] {
|
|
10
|
+
--sprout-font: ui-serif, Georgia, 'Times New Roman', serif;
|
|
11
11
|
--sprout-radius-control: 0.5rem;
|
|
12
12
|
--sprout-radius-panel: 0.875rem;
|
|
13
13
|
}
|
|
14
14
|
|
|
15
|
-
[data-sprout-theme=
|
|
16
|
-
.light[data-sprout-theme=
|
|
17
|
-
.light [data-sprout-theme=
|
|
15
|
+
[data-sprout-theme='claude'],
|
|
16
|
+
.light[data-sprout-theme='claude'],
|
|
17
|
+
.light [data-sprout-theme='claude'] {
|
|
18
18
|
--sprout-canvas: #f5f4ed;
|
|
19
19
|
--sprout-surface: #faf9f5;
|
|
20
20
|
--sprout-hover: #efede9;
|
|
@@ -40,17 +40,13 @@
|
|
|
40
40
|
--sprout-success-subtle: #e8f4eb;
|
|
41
41
|
--sprout-warning: #8a4b08;
|
|
42
42
|
--sprout-warning-subtle: #fdf1dc;
|
|
43
|
-
--sprout-primary-subtle: color-mix(
|
|
44
|
-
in oklab,
|
|
45
|
-
var(--sprout-primary) 10%,
|
|
46
|
-
var(--sprout-surface)
|
|
47
|
-
);
|
|
43
|
+
--sprout-primary-subtle: color-mix(in oklab, var(--sprout-primary) 10%, var(--sprout-surface));
|
|
48
44
|
--sprout-secondary: #edece7;
|
|
49
45
|
--sprout-overlay: rgb(18 18 18 / 0.35);
|
|
50
46
|
}
|
|
51
47
|
|
|
52
|
-
.dark[data-sprout-theme=
|
|
53
|
-
.dark [data-sprout-theme=
|
|
48
|
+
.dark[data-sprout-theme='claude'],
|
|
49
|
+
.dark [data-sprout-theme='claude'] {
|
|
54
50
|
--sprout-canvas: #262624;
|
|
55
51
|
--sprout-surface: #30302e;
|
|
56
52
|
--sprout-hover: #40403d;
|
|
@@ -76,18 +72,14 @@
|
|
|
76
72
|
--sprout-success-subtle: #1c3223;
|
|
77
73
|
--sprout-warning: #eec27e;
|
|
78
74
|
--sprout-warning-subtle: #34291b;
|
|
79
|
-
--sprout-primary-subtle: color-mix(
|
|
80
|
-
in oklab,
|
|
81
|
-
var(--sprout-primary) 16%,
|
|
82
|
-
var(--sprout-surface)
|
|
83
|
-
);
|
|
75
|
+
--sprout-primary-subtle: color-mix(in oklab, var(--sprout-primary) 16%, var(--sprout-surface));
|
|
84
76
|
--sprout-secondary: #42423f;
|
|
85
77
|
--sprout-overlay: rgb(8 8 8 / 0.65);
|
|
86
78
|
}
|
|
87
79
|
|
|
88
80
|
@media (prefers-color-scheme: dark) {
|
|
89
|
-
:root:not(.light):not(.dark)[data-sprout-theme=
|
|
90
|
-
:root:not(.light):not(.dark) [data-sprout-theme=
|
|
81
|
+
:root:not(.light):not(.dark)[data-sprout-theme='claude'],
|
|
82
|
+
:root:not(.light):not(.dark) [data-sprout-theme='claude'] {
|
|
91
83
|
--sprout-canvas: #262624;
|
|
92
84
|
--sprout-surface: #30302e;
|
|
93
85
|
--sprout-hover: #40403d;
|
|
@@ -113,11 +105,7 @@
|
|
|
113
105
|
--sprout-success-subtle: #1c3223;
|
|
114
106
|
--sprout-warning: #eec27e;
|
|
115
107
|
--sprout-warning-subtle: #34291b;
|
|
116
|
-
--sprout-primary-subtle: color-mix(
|
|
117
|
-
in oklab,
|
|
118
|
-
var(--sprout-primary) 16%,
|
|
119
|
-
var(--sprout-surface)
|
|
120
|
-
);
|
|
108
|
+
--sprout-primary-subtle: color-mix(in oklab, var(--sprout-primary) 16%, var(--sprout-surface));
|
|
121
109
|
--sprout-secondary: #42423f;
|
|
122
110
|
--sprout-overlay: rgb(8 8 8 / 0.65);
|
|
123
111
|
}
|
|
@@ -6,15 +6,15 @@
|
|
|
6
6
|
* that subtree.
|
|
7
7
|
*/
|
|
8
8
|
@layer base {
|
|
9
|
-
[data-sprout-theme=
|
|
9
|
+
[data-sprout-theme='cloudflare'] {
|
|
10
10
|
--sprout-font: ui-sans-serif, system-ui, sans-serif;
|
|
11
11
|
--sprout-radius-control: 0.25rem;
|
|
12
12
|
--sprout-radius-panel: 0.5rem;
|
|
13
13
|
}
|
|
14
14
|
|
|
15
|
-
[data-sprout-theme=
|
|
16
|
-
.light[data-sprout-theme=
|
|
17
|
-
.light [data-sprout-theme=
|
|
15
|
+
[data-sprout-theme='cloudflare'],
|
|
16
|
+
.light[data-sprout-theme='cloudflare'],
|
|
17
|
+
.light [data-sprout-theme='cloudflare'] {
|
|
18
18
|
--sprout-canvas: #f7f7f8;
|
|
19
19
|
--sprout-surface: #ffffff;
|
|
20
20
|
--sprout-hover: #f1f2f2;
|
|
@@ -40,17 +40,13 @@
|
|
|
40
40
|
--sprout-success-subtle: #e8f4eb;
|
|
41
41
|
--sprout-warning: #8a4b08;
|
|
42
42
|
--sprout-warning-subtle: #fdf1dc;
|
|
43
|
-
--sprout-primary-subtle: color-mix(
|
|
44
|
-
in oklab,
|
|
45
|
-
var(--sprout-primary) 10%,
|
|
46
|
-
var(--sprout-surface)
|
|
47
|
-
);
|
|
43
|
+
--sprout-primary-subtle: color-mix(in oklab, var(--sprout-primary) 10%, var(--sprout-surface));
|
|
48
44
|
--sprout-secondary: #efefef;
|
|
49
45
|
--sprout-overlay: rgb(18 18 18 / 0.35);
|
|
50
46
|
}
|
|
51
47
|
|
|
52
|
-
.dark[data-sprout-theme=
|
|
53
|
-
.dark [data-sprout-theme=
|
|
48
|
+
.dark[data-sprout-theme='cloudflare'],
|
|
49
|
+
.dark [data-sprout-theme='cloudflare'] {
|
|
54
50
|
--sprout-canvas: #1a1b1e;
|
|
55
51
|
--sprout-surface: #222327;
|
|
56
52
|
--sprout-hover: #323337;
|
|
@@ -76,18 +72,14 @@
|
|
|
76
72
|
--sprout-success-subtle: #1c3223;
|
|
77
73
|
--sprout-warning: #eec27e;
|
|
78
74
|
--sprout-warning-subtle: #34291b;
|
|
79
|
-
--sprout-primary-subtle: color-mix(
|
|
80
|
-
in oklab,
|
|
81
|
-
var(--sprout-primary) 16%,
|
|
82
|
-
var(--sprout-surface)
|
|
83
|
-
);
|
|
75
|
+
--sprout-primary-subtle: color-mix(in oklab, var(--sprout-primary) 16%, var(--sprout-surface));
|
|
84
76
|
--sprout-secondary: #343539;
|
|
85
77
|
--sprout-overlay: rgb(8 8 8 / 0.65);
|
|
86
78
|
}
|
|
87
79
|
|
|
88
80
|
@media (prefers-color-scheme: dark) {
|
|
89
|
-
:root:not(.light):not(.dark)[data-sprout-theme=
|
|
90
|
-
:root:not(.light):not(.dark) [data-sprout-theme=
|
|
81
|
+
:root:not(.light):not(.dark)[data-sprout-theme='cloudflare'],
|
|
82
|
+
:root:not(.light):not(.dark) [data-sprout-theme='cloudflare'] {
|
|
91
83
|
--sprout-canvas: #1a1b1e;
|
|
92
84
|
--sprout-surface: #222327;
|
|
93
85
|
--sprout-hover: #323337;
|
|
@@ -113,11 +105,7 @@
|
|
|
113
105
|
--sprout-success-subtle: #1c3223;
|
|
114
106
|
--sprout-warning: #eec27e;
|
|
115
107
|
--sprout-warning-subtle: #34291b;
|
|
116
|
-
--sprout-primary-subtle: color-mix(
|
|
117
|
-
in oklab,
|
|
118
|
-
var(--sprout-primary) 16%,
|
|
119
|
-
var(--sprout-surface)
|
|
120
|
-
);
|
|
108
|
+
--sprout-primary-subtle: color-mix(in oklab, var(--sprout-primary) 16%, var(--sprout-surface));
|
|
121
109
|
--sprout-secondary: #343539;
|
|
122
110
|
--sprout-overlay: rgb(8 8 8 / 0.65);
|
|
123
111
|
}
|