@@ -59,35 +59,33 @@ export default function SidebarContent() {
59
59
return (
60
60
< div
61
61
className = { cn (
62
- 'bg-slate -3 border-slate -5 z-[1] flex h-full w-full min-w-56 resize-x flex-col items-start gap-4 rounded-2xl border p-2'
62
+ 'bg-base -3 border-base -5 z-[1] flex h-full w-full min-w-56 resize-x flex-col items-start gap-4 rounded-2xl border p-2'
63
63
) } >
64
64
< OrgMenu />
65
65
< div
66
66
className = { cn (
67
67
'flex w-full grow flex-col items-start justify-start gap-4 p-0'
68
68
) } >
69
69
< div className = "flex w-full flex-col gap-0 p-0" >
70
- < span className = "text-slate -10 p-1 text-[10px] font-semibold uppercase" >
70
+ < span className = "text-base -10 p-1 text-[10px] font-semibold uppercase" >
71
71
Spaces
72
72
</ span >
73
73
< Link
74
- className = "hover:bg-slate -1 flex w-full max-w-full flex-row items-center gap-2 truncate rounded-lg p-1.5"
74
+ className = "hover:bg-base -1 flex w-full max-w-full flex-row items-center gap-2 truncate rounded-lg p-1.5"
75
75
href = { `/${ orgShortcode } /convo` } >
76
76
< div className = "bg-blue-4 text-blue-9 flex h-6 w-6 items-center justify-center rounded-sm" >
77
77
< User
78
78
weight = "bold"
79
79
className = { 'h-4 w-4' }
80
80
/>
81
81
</ div >
82
- < span className = "text-slate -12 font-medium" > My personal space</ span >
82
+ < span className = "text-base -12 font-medium" > My personal space</ span >
83
83
</ Link >
84
84
</ div >
85
85
</ div >
86
86
< div className = "flex w-full flex-row items-center justify-between p-1" >
87
- < span className = { cn ( 'font-display text-slate-11 text-sm' ) } >
88
- UnInbox
89
- </ span >
90
- < span className = { cn ( 'text-slate-11 text-xs' ) } > v0.1.0</ span >
87
+ < span className = { cn ( 'font-display text-base-11 text-sm' ) } > UnInbox</ span >
88
+ < span className = { cn ( 'text-base-11 text-xs' ) } > v0.1.0</ span >
91
89
</ div >
92
90
</ div >
93
91
) ;
@@ -151,7 +149,7 @@ function OrgMenu() {
151
149
< DropdownMenu onOpenChange = { ( open ) => setSidebarSubmenuOpen ( open ) } >
152
150
< DropdownMenuTrigger
153
151
className = {
154
- 'bg-slate -1 border-slate -5 hover:bg-slate -2 flex w-full flex-row items-center justify-between gap-2 rounded-lg border p-3 shadow-sm'
152
+ 'bg-base -1 border-base -5 hover:bg-base -2 flex w-full flex-row items-center justify-between gap-2 rounded-lg border p-3 shadow-sm'
155
153
} >
156
154
< div className = { 'flex flex-row items-center gap-2' } >
157
155
< Avatar className = "h-8 w-8" >
@@ -165,9 +163,7 @@ function OrgMenu() {
165
163
{ currentOrg . name }
166
164
</ span >
167
165
< span
168
- className = { cn (
169
- 'text-slate-11 text-xs font-medium leading-none'
170
- ) } >
166
+ className = { cn ( 'text-base-11 text-xs font-medium leading-none' ) } >
171
167
{ displayName }
172
168
</ span >
173
169
</ div >
@@ -177,10 +173,10 @@ function OrgMenu() {
177
173
< CaretUpDown className = { 'h-4 w-4' } />
178
174
</ div >
179
175
</ DropdownMenuTrigger >
180
- < DropdownMenuContent className = "bg-slate -1 border-slate -5 flex w-[214px] flex-col gap-0 p-0" >
176
+ < DropdownMenuContent className = "bg-base -1 border-base -5 flex w-[214px] flex-col gap-0 p-0" >
181
177
< DropdownMenuLabel className = { 'px-0 py-0' } >
182
178
< div className = "flex flex-col items-start justify-start gap-2 p-3" >
183
- < span className = { 'text-slate -11 text-xs font-medium uppercase' } >
179
+ < span className = { 'text-base -11 text-xs font-medium uppercase' } >
184
180
Signed in as
185
181
</ span >
186
182
< div className = { 'flex flex-row gap-2' } >
@@ -190,15 +186,11 @@ function OrgMenu() {
190
186
</ Avatar >
191
187
< div className = "flex flex-col items-start justify-center" >
192
188
< span
193
- className = {
194
- 'text-slate-12 text-sm font-medium leading-none'
195
- } >
189
+ className = { 'text-base-12 text-sm font-medium leading-none' } >
196
190
{ displayName }
197
191
</ span >
198
192
< span
199
- className = {
200
- 'text-slate-11 text-xs font-normal leading-none'
201
- } >
193
+ className = { 'text-base-11 text-xs font-normal leading-none' } >
202
194
@{ username }
203
195
</ span >
204
196
</ div >
@@ -211,15 +203,15 @@ function OrgMenu() {
211
203
< DropdownMenuLabel className = { 'px-0 py-0' } >
212
204
< span
213
205
className = {
214
- 'text-slate -11 w-full text-left text-xs font-medium uppercase'
206
+ 'text-base -11 w-full text-left text-xs font-medium uppercase'
215
207
} >
216
208
Organizations
217
209
</ span >
218
210
</ DropdownMenuLabel >
219
211
{ orgs . map ( ( org ) => (
220
212
< DropdownMenuItem
221
213
key = { org . publicId }
222
- className = "focus:bg-slate -3 rounded-sm p-0"
214
+ className = "focus:bg-base -3 rounded-sm p-0"
223
215
asChild >
224
216
< div
225
217
onClick = { ( ) => {
@@ -242,7 +234,7 @@ function OrgMenu() {
242
234
/>
243
235
< AvatarFallback > { getInitials ( org . name ) } </ AvatarFallback >
244
236
</ Avatar >
245
- < span className = { 'text-slate -12 text-sm font-medium' } >
237
+ < span className = { 'text-base -12 text-sm font-medium' } >
246
238
{ org . name }
247
239
</ span >
248
240
</ div >
@@ -252,7 +244,7 @@ function OrgMenu() {
252
244
) ) }
253
245
< DropdownMenuItem
254
246
key = { 'addNewOrg' }
255
- className = "focus:bg-slate -3 rounded-sm p-0"
247
+ className = "focus:bg-base -3 rounded-sm p-0"
256
248
asChild >
257
249
< div
258
250
onClick = { ( ) => {
@@ -264,14 +256,14 @@ function OrgMenu() {
264
256
< div className = "flex flex-row items-center gap-2" >
265
257
< div
266
258
className = {
267
- 'border-slate -5 flex h-10 w-10 shrink-0 items-center justify-center overflow-hidden rounded-md border-2 border-dotted'
259
+ 'border-base -5 flex h-10 w-10 shrink-0 items-center justify-center overflow-hidden rounded-md border-2 border-dotted'
268
260
} >
269
261
< Plus
270
262
weight = "bold"
271
263
className = { 'absolute h-4 w-4' }
272
264
/>
273
265
</ div >
274
- < span className = { 'text-slate -11 text-sm font-medium' } >
266
+ < span className = { 'text-base -11 text-sm font-medium' } >
275
267
Create Organization
276
268
</ span >
277
269
</ div >
@@ -283,7 +275,7 @@ function OrgMenu() {
283
275
< DropdownMenuItem asChild >
284
276
< Link
285
277
href = { `/${ currentOrg . shortcode } /settings` }
286
- className = "text-slate -11 flex w-full flex-row items-center gap-2 font-medium" >
278
+ className = "text-base -11 flex w-full flex-row items-center gap-2 font-medium" >
287
279
< Gear className = { 'h-4 w-4' } />
288
280
< span > Settings</ span >
289
281
</ Link >
@@ -294,11 +286,11 @@ function OrgMenu() {
294
286
} } >
295
287
< div
296
288
className = {
297
- 'text-slate -11 flex w-full flex-row items-center justify-between'
289
+ 'text-base -11 flex w-full flex-row items-center justify-between'
298
290
} >
299
291
< div
300
292
className = {
301
- 'text-slate -11 flex flex-row items-center gap-2 font-medium'
293
+ 'text-base -11 flex flex-row items-center gap-2 font-medium'
302
294
} >
303
295
< Palette className = { 'h-4 w-4' } />
304
296
< span > Theme</ span >
@@ -316,17 +308,15 @@ function OrgMenu() {
316
308
value = "light"
317
309
aria-label = "Toggle light mode"
318
310
className = {
319
- theme === 'light'
320
- ? 'border-slate-7 rounded-md border'
321
- : ''
311
+ theme === 'light' ? 'border-base-7 rounded-md border' : ''
322
312
} >
323
313
< Sun className = { 'h-4 w-4' } />
324
314
</ ToggleGroupItem >
325
315
< ToggleGroupItem
326
316
value = "dark"
327
317
aria-label = "Toggle dark mode"
328
318
className = {
329
- theme === 'dark' ? 'border-slate -7 rounded-md border' : ''
319
+ theme === 'dark' ? 'border-base -7 rounded-md border' : ''
330
320
} >
331
321
< MoonStars className = { 'h-4 w-4' } />
332
322
</ ToggleGroupItem >
@@ -335,7 +325,7 @@ function OrgMenu() {
335
325
aria-label = "Toggle system default"
336
326
className = {
337
327
theme === 'system'
338
- ? 'border-slate -7 rounded-md border'
328
+ ? 'border-base -7 rounded-md border'
339
329
: ''
340
330
} >
341
331
< Monitor className = { 'h-4 w-4' } />
@@ -345,7 +335,7 @@ function OrgMenu() {
345
335
</ DropdownMenuItem >
346
336
< DropdownMenuSub >
347
337
< DropdownMenuSubTrigger >
348
- < div className = "text-slate -11 flex w-full flex-row items-center gap-2 font-medium" >
338
+ < div className = "text-base -11 flex w-full flex-row items-center gap-2 font-medium" >
349
339
< Question className = { 'h-4 w-4' } />
350
340
< span > Help</ span >
351
341
</ div >
@@ -355,7 +345,7 @@ function OrgMenu() {
355
345
< DropdownMenuItem >
356
346
< div
357
347
className = {
358
- 'text-slate -11 flex w-full flex-row items-center gap-2 font-medium'
348
+ 'text-base -11 flex w-full flex-row items-center gap-2 font-medium'
359
349
} >
360
350
< Book className = { 'h-4 w-4' } />
361
351
< span > Documentation</ span >
@@ -364,7 +354,7 @@ function OrgMenu() {
364
354
< DropdownMenuItem >
365
355
< div
366
356
className = {
367
- 'text-slate -11 flex w-full flex-row items-center gap-2 font-medium'
357
+ 'text-base -11 flex w-full flex-row items-center gap-2 font-medium'
368
358
} >
369
359
< QuestionMark />
370
360
< span > Support</ span >
@@ -373,7 +363,7 @@ function OrgMenu() {
373
363
< DropdownMenuItem >
374
364
< div
375
365
className = {
376
- 'text-slate -11 flex w-full flex-row items-center gap-2 font-medium'
366
+ 'text-base -11 flex w-full flex-row items-center gap-2 font-medium'
377
367
} >
378
368
< MapPin className = { 'h-4 w-4' } />
379
369
< span > Roadmap</ span >
@@ -382,7 +372,7 @@ function OrgMenu() {
382
372
< DropdownMenuItem >
383
373
< div
384
374
className = {
385
- 'text-slate -11 flex w-full flex-row items-center gap-2 font-medium'
375
+ 'text-base -11 flex w-full flex-row items-center gap-2 font-medium'
386
376
} >
387
377
< Activity className = { 'h-4 w-4' } />
388
378
< span > Status</ span >
@@ -391,7 +381,7 @@ function OrgMenu() {
391
381
< DropdownMenuItem >
392
382
< div
393
383
className = {
394
- 'text-slate -11 flex w-full flex-row items-center gap-2 font-medium'
384
+ 'text-base -11 flex w-full flex-row items-center gap-2 font-medium'
395
385
} >
396
386
< Megaphone className = { 'h-4 w-4' } />
397
387
< span > Changelog</ span >
@@ -408,7 +398,7 @@ function OrgMenu() {
408
398
logOut ( ) ;
409
399
} }
410
400
disabled = { loggingOut }
411
- className = "focus:bg-red-9 focus:text-slate -1 text-slate -11" >
401
+ className = "focus:bg-red-9 focus:text-base -1 text-base -11" >
412
402
< div className = { 'flex flex-row items-center gap-2 p-2 font-medium' } >
413
403
< SignOut className = { 'h-4 w-4' } />
414
404
< span > Log out</ span >
0 commit comments