@catalystsoftware/ui 1.0.4 → 1.0.5
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/data/tailwind.config.js +261 -3821
- package/dist/components/catalyst-ui/buttons/burger.tsx +207 -0
- package/dist/components/catalyst-ui/core/data-display/timeline.tsx +210 -0
- package/dist/components/catalyst-ui/core/feedback/alert.tsx +491 -0
- package/dist/components/catalyst-ui/core/feedback/spinner-1.tsx +65 -0
- package/dist/components/catalyst-ui/core/feedback/toast.tsx +1857 -0
- package/dist/components/catalyst-ui/core/navigation/menu.tsx +164 -0
- package/dist/components/catalyst-ui/forms/toggle-class.tsx +176 -0
- package/dist/components/catalyst-ui/hooks/use-copy-to-clipboard.tsx +419 -0
- package/dist/components/catalyst-ui/hooks/use-counter.tsx +13 -0
- package/dist/components/catalyst-ui/hooks/use-event-listener.tsx +23 -0
- package/dist/components/catalyst-ui/hooks/use-export-markdown.tsx +47 -0
- package/dist/components/catalyst-ui/hooks/use-focus.tsx +17 -0
- package/dist/components/catalyst-ui/hooks/use-interval.tsx +23 -0
- package/dist/components/catalyst-ui/hooks/use-is-client.tsx +16 -0
- package/dist/components/catalyst-ui/hooks/use-media-query.tsx +19 -0
- package/dist/components/catalyst-ui/hooks/use-mobile.tsx +19 -0
- package/dist/components/catalyst-ui/hooks/use-resize-observer.tsx +81 -0
- package/dist/components/catalyst-ui/hooks/use-timeout.tsx +21 -0
- package/dist/components/catalyst-ui/hooks/use-timer.tsx +209 -0
- package/dist/components/catalyst-ui/hooks/use-toggle.tsx +12 -0
- package/dist/components/catalyst-ui/media/image.tsx +13 -0
- package/dist/components/catalyst-ui/overlays/dual-sidebar.tsx +4142 -0
- package/dist/components/catalyst-ui/overlays/sidebar-original.tsx +726 -0
- package/dist/components/catalyst-ui/primitives/accordion.tsx +250 -0
- package/dist/components/catalyst-ui/primitives/alert-dialog.tsx +126 -0
- package/dist/components/catalyst-ui/primitives/aspect-ratio.tsx +9 -0
- package/dist/components/catalyst-ui/primitives/avatar.tsx +296 -0
- package/dist/components/catalyst-ui/primitives/badge.tsx +57 -0
- package/dist/components/catalyst-ui/primitives/breadcrumb.tsx +101 -0
- package/dist/components/catalyst-ui/primitives/button.tsx +265 -0
- package/dist/components/catalyst-ui/primitives/calendar-v4.tsx +208 -0
- package/dist/components/catalyst-ui/primitives/calendar.tsx +295 -0
- package/dist/components/catalyst-ui/primitives/card.tsx +618 -0
- package/dist/components/catalyst-ui/primitives/carousel.tsx +238 -0
- package/dist/components/catalyst-ui/primitives/chart.tsx +347 -0
- package/dist/components/catalyst-ui/primitives/checkbox.tsx +225 -0
- package/dist/components/catalyst-ui/primitives/collapsible.tsx +212 -0
- package/dist/components/catalyst-ui/primitives/command.tsx +393 -0
- package/dist/components/catalyst-ui/primitives/context-menu.tsx +236 -0
- package/dist/components/catalyst-ui/primitives/dialog.tsx +471 -0
- package/dist/components/catalyst-ui/primitives/drawer.tsx +761 -0
- package/dist/components/catalyst-ui/primitives/dropdown-menu.tsx +290 -0
- package/dist/components/catalyst-ui/primitives/empty.tsx +104 -0
- package/dist/components/catalyst-ui/primitives/field.tsx +244 -0
- package/dist/components/catalyst-ui/primitives/hover-card.tsx +124 -0
- package/dist/components/catalyst-ui/primitives/input-otp.tsx +76 -0
- package/dist/components/catalyst-ui/primitives/input.tsx +64 -0
- package/dist/components/catalyst-ui/primitives/item.tsx +196 -0
- package/dist/components/catalyst-ui/primitives/kbd.tsx +75 -0
- package/dist/components/catalyst-ui/primitives/label.tsx +24 -0
- package/dist/components/catalyst-ui/primitives/navigation-menu.tsx +150 -0
- package/dist/components/catalyst-ui/primitives/pagination.tsx +198 -0
- package/dist/components/catalyst-ui/primitives/popover.tsx +232 -0
- package/dist/components/catalyst-ui/primitives/progress.tsx +34 -0
- package/dist/components/catalyst-ui/primitives/radio-group.tsx +43 -0
- package/dist/components/catalyst-ui/primitives/resizable.tsx +56 -0
- package/dist/components/catalyst-ui/primitives/select.tsx +155 -0
- package/dist/components/catalyst-ui/primitives/separator.tsx +74 -0
- package/dist/components/catalyst-ui/primitives/sheet.tsx +126 -0
- package/dist/components/catalyst-ui/primitives/skeleton.tsx +15 -0
- package/dist/components/catalyst-ui/primitives/slider.tsx +27 -0
- package/dist/components/catalyst-ui/primitives/switch.tsx +187 -0
- package/dist/components/catalyst-ui/primitives/tabs.tsx +335 -0
- package/dist/components/catalyst-ui/primitives/textarea.tsx +24 -0
- package/dist/components/catalyst-ui/primitives/toggle-group.tsx +55 -0
- package/dist/components/catalyst-ui/primitives/toggle.tsx +42 -0
- package/dist/components/catalyst-ui/primitives/tooltip.tsx +116 -0
- package/dist/components/catalyst-ui/utils/basic-auth.tsx +40 -0
- package/dist/components/catalyst-ui/utils/context-storage.tsx +19 -0
- package/dist/components/catalyst-ui/utils/cors-middleware.tsx +71 -0
- package/dist/components/catalyst-ui/utils/deferred-content.tsx +595 -0
- package/dist/components/catalyst-ui/utils/honeypot-middleware.tsx +38 -0
- package/dist/components/catalyst-ui/utils/incId.tsx +75 -0
- package/dist/components/catalyst-ui/utils/jwk-auth.tsx +36 -0
- package/dist/components/catalyst-ui/utils/request-id.tsx +14 -0
- package/dist/components/catalyst-ui/utils/secure-headers.tsx +37 -0
- package/dist/components/catalyst-ui/utils/server-timing.tsx +23 -0
- package/dist/components/catalyst-ui/utils/utils.ts +43 -0
- package/dist/components/catalyst-ui/utils/with-cookie.tsx +43 -0
- package/dist/components/catalyst-ui/x/accordian-x.tsx +428 -0
- package/dist/components/catalyst-ui/x/alert-x.tsx +413 -0
- package/dist/components/catalyst-ui/x/animated-text-x.tsx +2242 -0
- package/dist/components/catalyst-ui/x/avatar-x.tsx +515 -0
- package/dist/components/catalyst-ui/x/badge-x.tsx +670 -0
- package/dist/components/catalyst-ui/x/button-X.tsx +2857 -0
- package/dist/components/catalyst-ui/x/button-group-x.tsx +847 -0
- package/dist/components/catalyst-ui/x/calendar-x.tsx +1910 -0
- package/dist/components/catalyst-ui/x/card-x.tsx +2597 -0
- package/dist/components/catalyst-ui/x/checkbox-x.tsx +656 -0
- package/dist/components/catalyst-ui/x/collapsible-x.tsx +1360 -0
- package/dist/components/catalyst-ui/x/combobox-x.tsx +911 -0
- package/dist/components/catalyst-ui/x/data-table-x.tsx +1753 -0
- package/dist/components/catalyst-ui/x/date-picker-x.tsx +648 -0
- package/dist/components/catalyst-ui/x/dialog-x.tsx +659 -0
- package/dist/components/catalyst-ui/x/dropdown-menu-x.tsx +612 -0
- package/dist/components/catalyst-ui/x/hover-card-x.tsx +375 -0
- package/dist/components/catalyst-ui/x/icon-x.tsx +840 -0
- package/dist/components/catalyst-ui/x/input-mask-x.tsx +981 -0
- package/dist/components/catalyst-ui/x/input-otp-x.tsx +659 -0
- package/dist/components/catalyst-ui/x/loader-x.tsx +1757 -0
- package/dist/components/catalyst-ui/x/pagination-x.tsx +622 -0
- package/dist/components/catalyst-ui/x/popover-x.tsx +744 -0
- package/dist/components/catalyst-ui/x/radio-group-x.tsx +499 -0
- package/dist/components/catalyst-ui/x/select-x.tsx +1127 -0
- package/dist/components/catalyst-ui/x/sheet-x.tsx +668 -0
- package/dist/components/catalyst-ui/x/switch-x.tsx +681 -0
- package/dist/components/catalyst-ui/x/table-x.tsx +574 -0
- package/dist/components/catalyst-ui/x/tabs-x.tsx +839 -0
- package/dist/components/catalyst-ui/x/textarea-x.tsx +1263 -0
- package/dist/components/catalyst-ui/x/tooltip-x.tsx +396 -0
- package/dist/components/catalyst-ui/x/tracker-x.tsx +560 -0
- package/dist/data/bg-data.tsx +901 -0
- package/dist/data/buttons-data.tsx +2327 -0
- package/dist/data/charts-data.tsx +102 -0
- package/dist/data/chat-data.tsx +83 -0
- package/dist/data/code-data.tsx +1040 -0
- package/dist/data/comboboxes-data.tsx +1843 -0
- package/dist/data/command-data.tsx +1381 -0
- package/dist/data/core-data.tsx +15953 -0
- package/dist/data/crm-data.tsx +47 -0
- package/dist/data/data.tsx +159 -0
- package/dist/data/date-and-time-data.tsx +554 -0
- package/dist/data/dependencies.tsx +7 -0
- package/dist/data/ecommerce-data.tsx +1387 -0
- package/dist/data/forms-data.tsx +7890 -0
- package/dist/data/hooks-data.tsx +5487 -0
- package/dist/data/index.ts +34 -0
- package/dist/data/inputs-data.tsx +557 -0
- package/dist/data/interactive-data.tsx +5394 -0
- package/dist/data/lofi-data.tsx +18295 -0
- package/dist/data/marketing-data.tsx +2546 -0
- package/dist/data/media-data.tsx +1510 -0
- package/dist/data/motion-data.tsx +5801 -0
- package/dist/data/overlay-data.tsx +4136 -0
- package/dist/data/pdf-data.tsx +124 -0
- package/dist/data/pos-data.tsx +213 -0
- package/dist/data/postcss.config.js +6 -0
- package/dist/data/primitive-data.tsx +5170 -0
- package/dist/data/prompt-data.tsx +1226 -0
- package/dist/data/requiredLibs.ts +4 -0
- package/dist/data/sandbox-data.tsx +1 -0
- package/dist/data/sidebars-data.tsx +5421 -0
- package/dist/data/stacks-data.tsx +32 -0
- package/dist/data/table-data.tsx +706 -0
- package/dist/data/tailwind.config.js +270 -0
- package/dist/data/tailwind.config.ngin.js +3830 -0
- package/dist/data/tailwind.css +431 -0
- package/dist/data/tools-data.tsx +6910 -0
- package/dist/data/typography-data.tsx +2050 -0
- package/dist/data/utils-data.tsx +6500 -0
- package/dist/data/x-data.tsx +1171 -0
- package/dist/data.tsx +159 -0
- package/package.json +1 -1
- package/dist/index.d.ts +0 -3
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js.map +0 -362
|
@@ -0,0 +1,431 @@
|
|
|
1
|
+
@tailwind base;
|
|
2
|
+
@tailwind components;
|
|
3
|
+
@tailwind utilities;
|
|
4
|
+
|
|
5
|
+
@layer base {
|
|
6
|
+
:root {
|
|
7
|
+
--background: 223, 84%, 5%;
|
|
8
|
+
--foreground: 0, 0%, 98%;
|
|
9
|
+
--card: 223, 84%, 5%;
|
|
10
|
+
--card-foreground: 0, 0%, 98%;
|
|
11
|
+
--popover: 223, 84%, 5%;
|
|
12
|
+
--popover-foreground: 223, 84%, 5%;
|
|
13
|
+
--primary: 217, 91%, 60%;
|
|
14
|
+
--primary-foreground:223, 84%, 5%;
|
|
15
|
+
--secondary: 215 25% 27%;
|
|
16
|
+
--secondary-foreground: 223, 84%, 5%;
|
|
17
|
+
--muted: 215 25% 27%;
|
|
18
|
+
--muted-foreground: 215 16% 47%;
|
|
19
|
+
--accent: 215 25% 27%;
|
|
20
|
+
--accent-foreground: 223, 84%, 5%;
|
|
21
|
+
--destructive: 0 63% 31%;
|
|
22
|
+
--destructive-foreground: 223, 84%, 5%;
|
|
23
|
+
--success: 166 54% 47%;
|
|
24
|
+
--success-foreground: 223, 84%, 5%;
|
|
25
|
+
--warning: 40 77% 49%;
|
|
26
|
+
--warning-foreground: 223, 84%, 5%;
|
|
27
|
+
--border: 215 25% 27%;
|
|
28
|
+
--input: 215 25% 27%;
|
|
29
|
+
--ring: 221 83% 53%;
|
|
30
|
+
--radius: 0.5rem;
|
|
31
|
+
--chart-1: 220 70% 50%;
|
|
32
|
+
--chart-2: 160 60% 45%;
|
|
33
|
+
--chart-3: 30 80% 55%;
|
|
34
|
+
--chart-4: 280 65% 60%;
|
|
35
|
+
--chart-5: 340 75% 55%;
|
|
36
|
+
--sidebar: 221 39% 11%;
|
|
37
|
+
--sidebar-foreground: 220 20% 95%;
|
|
38
|
+
--sidebar-muted-foreground: 220 20% 95%;
|
|
39
|
+
--sidebar-primary: 217 91% 60%;
|
|
40
|
+
--sidebar-primary-foreground: 220 20% 98%;
|
|
41
|
+
--sidebar-accent: 220 30% 20%;
|
|
42
|
+
--sidebar-accent-foreground: 220 20% 95%;
|
|
43
|
+
--sidebar-border: 220 20% 25%;
|
|
44
|
+
--sidebar-ring: 217 91% 60%;
|
|
45
|
+
--special: 227 21% 8%;
|
|
46
|
+
--special-muted-background: 240 10% 4%;
|
|
47
|
+
--special-border: 240 4% 16%;
|
|
48
|
+
--special-foreground: 240 5% 84%;
|
|
49
|
+
--special-muted-foreground: 240 4% 46%;
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
--background: 0 0% 3.9%;
|
|
54
|
+
--foreground: 0 0% 98%;
|
|
55
|
+
|
|
56
|
+
--card: 0 0% 3.9%;
|
|
57
|
+
--card-foreground: 0 0% 98%;
|
|
58
|
+
|
|
59
|
+
--popover: 0 0% 3.9%;
|
|
60
|
+
--popover-foreground: 0 0% 98%;
|
|
61
|
+
|
|
62
|
+
--primary: 0 0% 98%;
|
|
63
|
+
--primary-foreground: 0 0% 9%;
|
|
64
|
+
|
|
65
|
+
--secondary: 0 0% 14.9%;
|
|
66
|
+
--secondary-foreground: 0 0% 98%;
|
|
67
|
+
|
|
68
|
+
--muted: 0 0% 14.9%;
|
|
69
|
+
--muted-foreground: 0 0% 63.9%;
|
|
70
|
+
|
|
71
|
+
--accent: 0 0% 14.9%;
|
|
72
|
+
--accent-foreground: 0 0% 98%;
|
|
73
|
+
|
|
74
|
+
--destructive: 0 62.8% 30.6%;
|
|
75
|
+
--destructive-foreground: 0 0% 98%;
|
|
76
|
+
|
|
77
|
+
--border: 0 0% 14.9%;
|
|
78
|
+
--input: 0 0% 14.9%;
|
|
79
|
+
--ring: 0 0% 83.1%;
|
|
80
|
+
|
|
81
|
+
--chart-1: 220 70% 50%;
|
|
82
|
+
--chart-2: 160 60% 45%;
|
|
83
|
+
--chart-3: 30 80% 55%;
|
|
84
|
+
--chart-4: 280 65% 60%;
|
|
85
|
+
--chart-5: 340 75% 55%;
|
|
86
|
+
--sidebar: 0 0% 9%;
|
|
87
|
+
--sidebar-foreground: 0 0% 98%;
|
|
88
|
+
--sidebar-primary: 0 0% 98%;
|
|
89
|
+
--sidebar-primary-foreground:0 0% 9%;
|
|
90
|
+
--sidebar-accent: 0 0% 14.9%;
|
|
91
|
+
--sidebar-accent-foreground: 0 0% 98%;
|
|
92
|
+
--sidebar-border: 0 0% 14.9%;
|
|
93
|
+
--sidebar-ring: 0 0% 83.1%;
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
@layer base {
|
|
98
|
+
* {
|
|
99
|
+
@apply border-border;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
body {
|
|
103
|
+
@apply bg-background text-foreground;
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
@keyframes glimmer {
|
|
108
|
+
0% {
|
|
109
|
+
opacity: 0.1;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
50% {
|
|
113
|
+
opacity: 0.6;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
100% {
|
|
117
|
+
opacity: 0.1;
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
/* #dev */
|
|
122
|
+
.no-select {
|
|
123
|
+
-webkit-user-select: none;
|
|
124
|
+
/* Safari */
|
|
125
|
+
-moz-user-select: none;
|
|
126
|
+
/* Firefox */
|
|
127
|
+
-ms-user-select: none;
|
|
128
|
+
/* IE10+/Edge */
|
|
129
|
+
user-select: none;
|
|
130
|
+
/* Standard */
|
|
131
|
+
}
|
|
132
|
+
/* #enddev */
|
|
133
|
+
/* Allow text selection only when not dragging */
|
|
134
|
+
.carousel-container {
|
|
135
|
+
user-select: none;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
.carousel-container:active {
|
|
139
|
+
user-select: none;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
|
|
143
|
+
/* Mimic Quill's button states */
|
|
144
|
+
.toolbar-button {
|
|
145
|
+
transition: #020817 0.2s;
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
.toolbar-button:active {
|
|
149
|
+
background-color: hsl(var(--background));
|
|
150
|
+
/*#020817;*/
|
|
151
|
+
color: hsl(var(--primary));
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
/* Quill-like active state for format buttons */
|
|
155
|
+
.format-active {
|
|
156
|
+
background-color: hsl(var(--background));
|
|
157
|
+
color: hsl(var(--foreground));
|
|
158
|
+
/*#ffffff;*/
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
/* app/styles/markdown.css */
|
|
162
|
+
.markdown-preview {
|
|
163
|
+
color: hsl(var(--foreground));
|
|
164
|
+
/* Uses your CSS variable */
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
/* Specific element styling */
|
|
168
|
+
.markdown-preview h1,
|
|
169
|
+
.markdown-preview h2,
|
|
170
|
+
.markdown-preview h3 {
|
|
171
|
+
color: hsl(var(--primary));
|
|
172
|
+
/* Headings use primary color */
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
.markdown-preview a {
|
|
176
|
+
color: hsl(var(--primary));
|
|
177
|
+
/* Links use primary color */
|
|
178
|
+
text-decoration: underline;
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
.markdown-preview code {
|
|
182
|
+
background-color: hsl(var(--muted));
|
|
183
|
+
color: hsl(var(--primary));
|
|
184
|
+
padding: 0.2rem 0.4rem;
|
|
185
|
+
border-radius: 0.25rem;
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
.markdown-preview pre {
|
|
189
|
+
background-color: hsl(var(--muted));
|
|
190
|
+
padding: 1rem;
|
|
191
|
+
border-radius: 0.5rem;
|
|
192
|
+
overflow-x: auto;
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
/* Mermaid diagram sizing */
|
|
196
|
+
.mermaid-react {
|
|
197
|
+
margin: 1rem 0;
|
|
198
|
+
min-height: 200px;
|
|
199
|
+
background: hsl(var(--background));
|
|
200
|
+
border-radius: 0.5rem;
|
|
201
|
+
padding: 1rem;
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
/* Math equation styling */
|
|
205
|
+
.katex {
|
|
206
|
+
font-size: 1.1em;
|
|
207
|
+
padding: 0.5rem 0;
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
/* Dark mode support */
|
|
211
|
+
.dark .mermaid-react {
|
|
212
|
+
background: hsl(var(--background));
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
/* Focus Mode Styling */
|
|
216
|
+
.dimmed-line {
|
|
217
|
+
opacity: 0.5;
|
|
218
|
+
transition: opacity 0.2s ease;
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
.focused-line {
|
|
222
|
+
opacity: 1;
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
/* Typewriter Mode Styling */
|
|
226
|
+
[data-typewriter-mode] {
|
|
227
|
+
scroll-padding: 50vh;
|
|
228
|
+
/* Keeps active line centered */
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
|
|
232
|
+
.ToolbarPlugin__dialogActions {
|
|
233
|
+
display: flex;
|
|
234
|
+
flex-direction: row;
|
|
235
|
+
justify-content: right;
|
|
236
|
+
margin-top: 20px;
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
.ToolbarPlugin__dialogButtonsList {
|
|
240
|
+
display: flex;
|
|
241
|
+
flex-direction: column;
|
|
242
|
+
justify-content: right;
|
|
243
|
+
margin-top: 20px;
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
.ToolbarPlugin__dialogButtonsList button {
|
|
247
|
+
margin-bottom: 20px;
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
|
|
251
|
+
html {
|
|
252
|
+
scroll-behavior: smooth;
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
/* Section styling */
|
|
256
|
+
[data-observe-section] {
|
|
257
|
+
scroll-margin-top: 100px;
|
|
258
|
+
/* Account for fixed header */
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
/* In your global CSS file */
|
|
262
|
+
.recharts-line path,
|
|
263
|
+
.recharts-bar-rectangle {
|
|
264
|
+
stroke: hsl(var(--primary)) !important;
|
|
265
|
+
/* For line charts */
|
|
266
|
+
fill: hsl(var(--primary)) !important;
|
|
267
|
+
/* For bar charts */
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
/* For tooltips/legends */
|
|
271
|
+
.recharts-tooltip,
|
|
272
|
+
.recharts-legend-item {
|
|
273
|
+
color: var(--primary) !important;
|
|
274
|
+
}
|
|
275
|
+
|
|
276
|
+
.focus-mode-active {
|
|
277
|
+
background: #f5f5f5;
|
|
278
|
+
padding: 20px;
|
|
279
|
+
border-radius: 4px;
|
|
280
|
+
box-shadow: 0 0 0 2px #007bff;
|
|
281
|
+
}
|
|
282
|
+
|
|
283
|
+
/* THESE ARE THE EXACT SELECTORS LEXICAL USES NOW */
|
|
284
|
+
.table-cell {
|
|
285
|
+
width: 100%;
|
|
286
|
+
border: 1px solid var(--border);
|
|
287
|
+
}
|
|
288
|
+
|
|
289
|
+
table.EditorTheme__table td,
|
|
290
|
+
table.EditorTheme__table th {
|
|
291
|
+
border: 1px solid var(--border) !important;
|
|
292
|
+
padding: 8px;
|
|
293
|
+
min-width: 75px;
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
table.EditorTheme__table th {
|
|
297
|
+
background: var(--muted);
|
|
298
|
+
font-weight: bold;
|
|
299
|
+
}
|
|
300
|
+
|
|
301
|
+
/* Add this to your global CSS or component-scoped styles */
|
|
302
|
+
.prose :where(h4):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
|
|
303
|
+
color: hsl(var(--primary));
|
|
304
|
+
/* Use your CSS variable */
|
|
305
|
+
border-bottom: 1px solid hsl(var(--border));
|
|
306
|
+
padding-bottom: 0.5rem;
|
|
307
|
+
margin-top: 1rem;
|
|
308
|
+
margin-bottom: 1.25rem;
|
|
309
|
+
font-weight: 700;
|
|
310
|
+
/* More bold than original */
|
|
311
|
+
font-size: 1.25rem;
|
|
312
|
+
/* Maintain existing size */
|
|
313
|
+
}
|
|
314
|
+
|
|
315
|
+
/* Checked state */
|
|
316
|
+
.prose :where(input[type="checkbox"]:checked):not(:where([class~="not-prose"] *)) {
|
|
317
|
+
background-color: hsl(var(--primary));
|
|
318
|
+
border-color: hsl(var(--primary));
|
|
319
|
+
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='white'%3E%3Cpath fill-rule='evenodd' d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z' clip-rule='evenodd'/%3E%3C/svg%3E");
|
|
320
|
+
background-position: center;
|
|
321
|
+
background-repeat: no-repeat;
|
|
322
|
+
background-size: 0.75em;
|
|
323
|
+
}
|
|
324
|
+
|
|
325
|
+
/* Disabled AND checked */
|
|
326
|
+
.prose :where(input[type="checkbox"]:checked:disabled):not(:where([class~="not-prose"] *)) {
|
|
327
|
+
background-color: hsl(var(--primary));
|
|
328
|
+
border-color: hsl(var(--border));
|
|
329
|
+
}
|
|
330
|
+
|
|
331
|
+
/* Table header cells */
|
|
332
|
+
.prose :where(thead th):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
|
|
333
|
+
color: hsl(var(--primary));
|
|
334
|
+
/* Using your primary color variable */
|
|
335
|
+
background-color: hsl(var(--muted)/0.5);
|
|
336
|
+
/* Semi-transparent muted bg */
|
|
337
|
+
font-weight: 600;
|
|
338
|
+
vertical-align: bottom;
|
|
339
|
+
padding: 0.5714286em;
|
|
340
|
+
border-bottom: 2px solid hsl(var(--border));
|
|
341
|
+
}
|
|
342
|
+
|
|
343
|
+
.move-mode-active {
|
|
344
|
+
transition: all 0.2s ease;
|
|
345
|
+
}
|
|
346
|
+
|
|
347
|
+
.move-mode-active .item {
|
|
348
|
+
cursor: grabbing !important;
|
|
349
|
+
}
|
|
350
|
+
|
|
351
|
+
.move-mode-active .item:hover {
|
|
352
|
+
background-color: rgba(59, 130, 246, 0.1);
|
|
353
|
+
}
|
|
354
|
+
|
|
355
|
+
|
|
356
|
+
.theme-overlay {
|
|
357
|
+
z-index: 2147483643 !important;
|
|
358
|
+
position: fixed !important;
|
|
359
|
+
top: 0 !important;
|
|
360
|
+
left: 0 !important;
|
|
361
|
+
width: 100vw !important;
|
|
362
|
+
height: 100vh !important;
|
|
363
|
+
background: rgba(0, 0, 0, 0.6) !important;
|
|
364
|
+
}
|
|
365
|
+
|
|
366
|
+
.theme-container {
|
|
367
|
+
z-index: 2147483644 !important;
|
|
368
|
+
}
|
|
369
|
+
|
|
370
|
+
.theme-buttons {
|
|
371
|
+
z-index: 2147483646 !important;
|
|
372
|
+
}
|
|
373
|
+
|
|
374
|
+
.theme-flying-theme {
|
|
375
|
+
z-index: 2147483647 !important;
|
|
376
|
+
}
|
|
377
|
+
|
|
378
|
+
.theme-main-button {
|
|
379
|
+
z-index: 2147483645 !important;
|
|
380
|
+
}
|
|
381
|
+
|
|
382
|
+
|
|
383
|
+
|
|
384
|
+
|
|
385
|
+
|
|
386
|
+
/* scroll bar */
|
|
387
|
+
::-webkit-scrollbar {
|
|
388
|
+
width: 10px;
|
|
389
|
+
height: 10px;
|
|
390
|
+
}
|
|
391
|
+
|
|
392
|
+
::-webkit-scrollbar-track {
|
|
393
|
+
background-color: hsl(var(--muted));
|
|
394
|
+
border-radius: 0.25rem;
|
|
395
|
+
|
|
396
|
+
}
|
|
397
|
+
|
|
398
|
+
::-webkit-scrollbar-thumb {
|
|
399
|
+
background-color: hsl(var(--primary) / 0.3);
|
|
400
|
+
border-radius: 0.25rem;
|
|
401
|
+
}
|
|
402
|
+
|
|
403
|
+
::-webkit-scrollbar-thumb:hover {
|
|
404
|
+
background-color: hsl(var(--primary));
|
|
405
|
+
}
|
|
406
|
+
|
|
407
|
+
/* scroll bar - hidden by default */
|
|
408
|
+
.scrollbar-hide::-webkit-scrollbar {
|
|
409
|
+
width: 0px;
|
|
410
|
+
height: 0px;
|
|
411
|
+
}
|
|
412
|
+
|
|
413
|
+
/* scroll bar - shown on hover */
|
|
414
|
+
.scrollbar-show::-webkit-scrollbar {
|
|
415
|
+
width: 10px;
|
|
416
|
+
height: 10px;
|
|
417
|
+
}
|
|
418
|
+
|
|
419
|
+
.scrollbar-show::-webkit-scrollbar-track {
|
|
420
|
+
background-color: hsl(var(--muted));
|
|
421
|
+
border-radius: 0.25rem;
|
|
422
|
+
}
|
|
423
|
+
|
|
424
|
+
.scrollbar-show::-webkit-scrollbar-thumb {
|
|
425
|
+
background-color: hsl(var(--primary) / 0.3);
|
|
426
|
+
border-radius: 0.25rem;
|
|
427
|
+
}
|
|
428
|
+
|
|
429
|
+
.scrollbar-show::-webkit-scrollbar-thumb:hover {
|
|
430
|
+
background-color: hsl(var(--primary));
|
|
431
|
+
}
|