styles: refactor codebase base style
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
@import 'tailwindcss';
|
||||
@import 'tw-animate-css';
|
||||
@import './typography.css';
|
||||
|
||||
@custom-variant dark (&:is(.dark *));
|
||||
|
||||
@@ -7,7 +8,7 @@
|
||||
--radius: 0.65rem;
|
||||
--background: oklch(1 0 0);
|
||||
--foreground: oklch(0.141 0.005 285.823);
|
||||
--card: oklch(1 0 0 / 0.4);
|
||||
--card: oklch(1 0 0);
|
||||
--card-foreground: oklch(0.141 0.005 285.823);
|
||||
--popover: oklch(1 0 0);
|
||||
--popover-foreground: oklch(0.141 0.005 285.823);
|
||||
@@ -30,7 +31,7 @@
|
||||
--chart-5: oklch(0.85 0.08 195); /* Soft Cyan - Subdued */
|
||||
--chart-6: oklch(0.62 0.22 295); /* Deep Violet - Theme Primary */
|
||||
--chart-8: oklch(0.58 0.2 335); /* Cool Magenta - Distant Accent */
|
||||
--sidebar: oklch(0.985 0 0 / 0.6);
|
||||
--sidebar: oklch(0.985 0 0);
|
||||
--sidebar-foreground: oklch(0.141 0.005 285.823);
|
||||
--sidebar-primary: oklch(0.541 0.281 293.009);
|
||||
--sidebar-primary-foreground: oklch(0.969 0.016 293.756);
|
||||
@@ -43,7 +44,7 @@
|
||||
.dark {
|
||||
--background: oklch(0.141 0.005 285.823);
|
||||
--foreground: oklch(0.985 0 0);
|
||||
--card: oklch(0.21 0.006 285.885 / 0.6);
|
||||
--card: oklch(0.21 0.006 285.885);
|
||||
--card-foreground: oklch(0.985 0 0);
|
||||
--popover: oklch(0.21 0.006 285.885);
|
||||
--popover-foreground: oklch(0.985 0 0);
|
||||
@@ -66,7 +67,7 @@
|
||||
--chart-5: oklch(0.88 0.1 195);
|
||||
--chart-6: oklch(0.65 0.24 295);
|
||||
--chart-8: oklch(0.62 0.22 335);
|
||||
--sidebar: oklch(0.21 0.006 285.885 / 0.6);
|
||||
--sidebar: oklch(0.21 0.006 285.885);
|
||||
--sidebar-foreground: oklch(0.985 0 0);
|
||||
--sidebar-primary: oklch(0.606 0.25 292.717);
|
||||
--sidebar-primary-foreground: oklch(0.969 0.016 293.756);
|
||||
@@ -126,30 +127,6 @@
|
||||
}
|
||||
|
||||
body {
|
||||
@apply bg-transparent text-foreground;
|
||||
min-height: 100vh;
|
||||
}
|
||||
|
||||
/* Modern Scrollbar Styles */
|
||||
::-webkit-scrollbar {
|
||||
width: 8px; /* Slightly wider for better accessibility */
|
||||
height: 8px;
|
||||
}
|
||||
|
||||
::-webkit-scrollbar-track {
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
::-webkit-scrollbar-thumb {
|
||||
background-color: var(--muted-foreground);
|
||||
border-radius: 20px;
|
||||
border: 2px solid transparent;
|
||||
background-clip: content-box;
|
||||
opacity: 0.5; /* More visible default */
|
||||
}
|
||||
/* Firefox Support */
|
||||
* {
|
||||
/* scrollbar-width: ; */
|
||||
scrollbar-color: var(--muted-foreground) transparent;
|
||||
@apply bg-background text-foreground;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user