|
97 | 97 | --secondary: oklch(50% .02 250); |
98 | 98 | --secondary-foreground: oklch(100% 0 0); |
99 | 99 | --muted: oklch(30% .01 250); |
100 | | - --muted-foreground: oklch(72% .01 250); |
| 100 | + --muted-foreground: oklch(65% .01 250); |
101 | 101 | --accent: oklch(58% .19 35); |
102 | 102 | --accent-foreground: oklch(100% 0 0); |
103 | 103 | --destructive: oklch(65% .2 25); |
|
229 | 229 | --secondary: oklch(50% .02 264); |
230 | 230 | --secondary-foreground: oklch(100% 0 0); |
231 | 231 | --muted: oklch(30% .01 264); |
232 | | - --muted-foreground: oklch(72% .01 264); |
| 232 | + --muted-foreground: oklch(65% .01 264); |
233 | 233 | --accent: oklch(79% .17 70); |
234 | 234 | --accent-foreground: oklch(15% 0 0); |
235 | 235 | --destructive: oklch(65% .2 25); |
|
306 | 306 | transform: translateY(-2px); |
307 | 307 | background: color-mix(in srgb, var(--accent) 6%, transparent); |
308 | 308 | } |
309 | | - button[data-slot="button"] { |
| 309 | + button[data-slot="button"]:not([class*="bg-primary"]):not([class*="bg-destructive"]):not([class*="bg-secondary"]):not([class*="bg-background"]):not(:hover) { |
310 | 310 | background-color: var(--button); |
311 | 311 | } |
312 | 312 | button[data-slot="switch"] { |
|
322 | 322 | border: 1px solid var(--border); |
323 | 323 | } |
324 | 324 | } |
325 | | - |
326 | | -/* Button Hover Effects - Specific to shadcn-svelte variants */ |
327 | | -button:hover { |
328 | | - transition: background-color 0.2s ease, color 0.2s ease; |
329 | | -} |
330 | | -.add-board-button { |
331 | | - background-color: var(--muted); |
332 | | - border: 2px dotted var(--border); |
333 | | - color: var(--muted-foreground); |
334 | | - } |
335 | | - |
336 | | - |
337 | | -.menu-item:hover{ |
338 | | - background-color: var(--primary) !important; |
339 | | - color: var(--primary-foreground) !important; |
340 | | - border-color: var(--accent) !important; |
341 | | -} |
342 | | -.menu-item-danger:hover{ |
343 | | - background-color: var(--destructive) !important; |
344 | | - color: var(--destructive-foreground) !important; |
345 | | - border-color: var(--destructive) !important; |
346 | | -} |
347 | | -.editor-menu button.menu-item{ |
348 | | - background-color: transparent; |
349 | | -} |
350 | | -.editor-menu button.menu-item:hover{ |
351 | | - border-radius: 0!important; |
352 | | -} |
353 | | -button.btn:hover{ |
354 | | - border: 2px solid var(--border); |
355 | | - border-color: var(--accent); |
356 | | -} |
357 | | -.editor-menu-item{ |
358 | | - background-color: transparent; |
359 | | -} |
360 | | - |
361 | | -/* hover:bg-primary hover:text-primary-foreground */ |
362 | | -.editor-menu-item:hover, .editor-menu-item:active{ |
363 | | - background-color: var(--primary) !important; |
364 | | - color: var(--primary-foreground) !important; |
365 | | -} |
366 | | -.hamburger-menu-button:hover, .hamburger-menu-button:active{ |
367 | | - background-color: var(--primary) !important; |
368 | | - color: var(--foreground) !important; |
369 | | -} |
370 | | - |
371 | | -button.trash{ |
372 | | - /* background-color: var(--destructive)!important; */ |
373 | | - color: var(--destructive)!important; |
374 | | - |
375 | | -} |
376 | | - |
377 | | -button.btn:focus-visible, |
378 | | -.menu-item:focus-visible { |
379 | | - outline: 2px solid var(--accent); |
380 | | - outline-offset: 2px; |
381 | | - border-color: var(--accent); |
382 | | -} |
383 | | -/* Primary Button Hover */ |
384 | | -button.bg-primary:hover { |
385 | | - background-color: var(--primary) !important; |
386 | | - color: var(--primary-foreground) !important; |
387 | | -} |
388 | | - |
389 | | -/* Secondary Button Hover */ |
390 | | -button.bg-secondary:hover { |
391 | | - background-color: var(--secondary) !important; |
392 | | - color: var(--secondary-foreground) !important; |
393 | | -} |
394 | | - |
395 | | -/* Outline Button Hover */ |
396 | | -button.border-border:hover { |
397 | | - background-color: var(--accent) !important; |
398 | | - color: var(--accent-foreground) !important; |
399 | | - border-color: var(--accent) !important; |
400 | | -} |
401 | | - |
402 | | -/* Ghost Button Hover */ |
403 | | -button.bg-transparent:hover:not(.bg-primary):not(.bg-secondary) { |
404 | | - background-color: var(--accent) !important; |
405 | | - color: var(--accent-foreground) !important; |
406 | | -} |
407 | | - |
408 | | -/* Destructive Button Hover */ |
409 | | -button.bg-destructive:hover { |
410 | | - background-color: var(--destructive) !important; |
411 | | - color: var(--destructive-foreground) !important; |
412 | | -} |
413 | | - |
414 | | -.text-destructive { |
415 | | - color: var(--destructive)!important; |
416 | | -} |
417 | | - |
418 | | -.card-content button { |
419 | | - background-color: var(--primary); |
420 | | -} |
| 325 | +/* ------------------------------------------- */ |
421 | 326 | .active-board .active-board-indicator { |
422 | 327 | color: var(--accent); |
423 | 328 | } |
@@ -556,7 +461,7 @@ button.bg-destructive:hover { |
556 | 461 | outline: none; |
557 | 462 | } |
558 | 463 |
|
559 | | -*:focus-visible { |
| 464 | +*:focus-visible:not([data-slot="input"]):not([data-slot="textarea"]) { |
560 | 465 | outline: 2px solid var(--accent); |
561 | 466 | outline-offset: 2px; |
562 | 467 | box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 40%, transparent); |
|
0 commit comments