feat: change color
This commit is contained in:
+52
-52
@@ -122,71 +122,71 @@
|
||||
:root {
|
||||
--font-iran-sans: "IRANSansX", var(--font-geist-sans);
|
||||
--radius: 0.625rem;
|
||||
--card: oklch(1 0 0);
|
||||
--card-foreground: oklch(0.145 0 0);
|
||||
--popover: oklch(1 0 0);
|
||||
--popover-foreground: oklch(0.145 0 0);
|
||||
--primary: #001BB7;
|
||||
--card: oklch(1 0.006 175);
|
||||
--card-foreground: oklch(0.145 0.02 175);
|
||||
--popover: oklch(1 0.006 175);
|
||||
--popover-foreground: oklch(0.145 0.02 175);
|
||||
--primary: #01796F;
|
||||
--primary-foreground: oklch(0.985 0 0);
|
||||
--secondary: #0046FF;
|
||||
--secondary: #0D9488;
|
||||
--secondary-foreground: oklch(0.985 0 0);
|
||||
--muted: oklch(0.97 0.01 280);
|
||||
--muted-foreground: oklch(0.35 0.05 250);
|
||||
--muted: oklch(0.97 0.012 175);
|
||||
--muted-foreground: oklch(0.35 0.05 175);
|
||||
--accent: #FCC61D;
|
||||
--accent-foreground: oklch(0.25 0.05 50);
|
||||
--destructive: oklch(0.577 0.245 27.325);
|
||||
--border: oklch(0.9 0.01 280);
|
||||
--input: oklch(0.95 0.01 280);
|
||||
--ring: oklch(0.5 0.15 220);
|
||||
--chart-1: oklch(0.646 0.222 41.116);
|
||||
--chart-2: oklch(0.6 0.118 184.704);
|
||||
--chart-3: oklch(0.398 0.07 227.392);
|
||||
--chart-4: oklch(0.828 0.189 84.429);
|
||||
--chart-5: oklch(0.769 0.188 70.08);
|
||||
--sidebar: oklch(0.985 0 0);
|
||||
--sidebar-foreground: oklch(0.145 0 0);
|
||||
--sidebar-primary: oklch(0.205 0 0);
|
||||
--border: oklch(0.9 0.012 175);
|
||||
--input: oklch(0.95 0.01 175);
|
||||
--ring: oklch(0.45 0.1 175);
|
||||
--chart-1: oklch(0.45 0.1 175);
|
||||
--chart-2: oklch(0.6 0.12 162);
|
||||
--chart-3: oklch(0.55 0.08 175);
|
||||
--chart-4: oklch(0.7 0.1 170);
|
||||
--chart-5: oklch(0.5 0.09 180);
|
||||
--sidebar: oklch(0.985 0.008 175);
|
||||
--sidebar-foreground: oklch(0.145 0.02 175);
|
||||
--sidebar-primary: #01796F;
|
||||
--sidebar-primary-foreground: oklch(0.985 0 0);
|
||||
--sidebar-accent: oklch(0.97 0 0);
|
||||
--sidebar-accent-foreground: oklch(0.205 0 0);
|
||||
--sidebar-border: oklch(0.922 0 0);
|
||||
--sidebar-ring: oklch(0.708 0 0);
|
||||
--background: oklch(0.99 0.005 280);
|
||||
--foreground: oklch(0.25 0.05 250);
|
||||
--sidebar-accent: oklch(0.97 0.015 175);
|
||||
--sidebar-accent-foreground: oklch(0.205 0.02 175);
|
||||
--sidebar-border: oklch(0.922 0.01 175);
|
||||
--sidebar-ring: oklch(0.45 0.1 175);
|
||||
--background: oklch(0.99 0.008 175);
|
||||
--foreground: oklch(0.25 0.03 175);
|
||||
}
|
||||
|
||||
.dark {
|
||||
--background: oklch(0.145 0.01 280);
|
||||
--background: oklch(0.145 0.02 175);
|
||||
--foreground: oklch(0.95 0.01 280);
|
||||
--card: oklch(0.22 0.02 280);
|
||||
--card: oklch(0.22 0.025 175);
|
||||
--card-foreground: oklch(0.95 0.01 280);
|
||||
--popover: oklch(0.22 0.02 280);
|
||||
--popover: oklch(0.22 0.025 175);
|
||||
--popover-foreground: oklch(0.95 0.01 280);
|
||||
--primary: #001BB7;
|
||||
--primary: #01796F;
|
||||
--primary-foreground: oklch(0.985 0 0);
|
||||
--secondary: #0046FF;
|
||||
--secondary-foreground: oklch(0.95 0.01 280);
|
||||
--muted: oklch(0.28 0.02 280);
|
||||
--muted-foreground: oklch(0.75 0.02 280);
|
||||
--secondary: #14B8A6;
|
||||
--secondary-foreground: oklch(0.985 0 0);
|
||||
--muted: oklch(0.28 0.025 175);
|
||||
--muted-foreground: oklch(0.75 0.02 175);
|
||||
--accent: #FCC61D;
|
||||
--accent-foreground: oklch(0.2 0.05 50);
|
||||
--destructive: oklch(0.704 0.191 22.216);
|
||||
--border: oklch(0.3 0.02 280);
|
||||
--input: oklch(0.3 0.02 280);
|
||||
--ring: oklch(0.5 0.15 220);
|
||||
--chart-1: oklch(0.488 0.243 264.376);
|
||||
--chart-2: oklch(0.696 0.17 162.48);
|
||||
--chart-3: oklch(0.769 0.188 70.08);
|
||||
--chart-4: oklch(0.627 0.265 303.9);
|
||||
--chart-5: oklch(0.645 0.246 16.439);
|
||||
--sidebar: oklch(0.22 0.02 280);
|
||||
--border: oklch(0.3 0.025 175);
|
||||
--input: oklch(0.3 0.025 175);
|
||||
--ring: oklch(0.5 0.12 175);
|
||||
--chart-1: oklch(0.5 0.12 175);
|
||||
--chart-2: oklch(0.6 0.14 162);
|
||||
--chart-3: oklch(0.55 0.1 175);
|
||||
--chart-4: oklch(0.65 0.11 170);
|
||||
--chart-5: oklch(0.45 0.09 180);
|
||||
--sidebar: oklch(0.22 0.025 175);
|
||||
--sidebar-foreground: oklch(0.95 0.01 280);
|
||||
--sidebar-primary: oklch(0.488 0.243 264.376);
|
||||
--sidebar-primary: #01796F;
|
||||
--sidebar-primary-foreground: oklch(0.985 0 0);
|
||||
--sidebar-accent: oklch(0.3 0.02 280);
|
||||
--sidebar-accent: oklch(0.3 0.03 175);
|
||||
--sidebar-accent-foreground: oklch(0.95 0.01 280);
|
||||
--sidebar-border: oklch(0.3 0.02 280);
|
||||
--sidebar-ring: oklch(0.5 0.15 220);
|
||||
--sidebar-border: oklch(0.3 0.025 175);
|
||||
--sidebar-ring: oklch(0.5 0.12 175);
|
||||
}
|
||||
|
||||
@layer base {
|
||||
@@ -202,17 +202,17 @@
|
||||
letter-spacing: normal;
|
||||
line-height: 1.6;
|
||||
background-image:
|
||||
radial-gradient(at 0% 0%, oklch(0.98 0.01 280 / 0.3) 0px, transparent 50%),
|
||||
radial-gradient(at 100% 100%, oklch(0.95 0.02 220 / 0.2) 0px, transparent 50%),
|
||||
radial-gradient(at 50% 50%, oklch(0.97 0.01 300 / 0.15) 0px, transparent 50%);
|
||||
radial-gradient(at 0% 0%, oklch(0.98 0.012 175 / 0.3) 0px, transparent 50%),
|
||||
radial-gradient(at 100% 100%, oklch(0.95 0.02 175 / 0.2) 0px, transparent 50%),
|
||||
radial-gradient(at 50% 50%, oklch(0.97 0.01 170 / 0.15) 0px, transparent 50%);
|
||||
background-attachment: fixed;
|
||||
transition: background-color 0.3s ease;
|
||||
}
|
||||
.dark body {
|
||||
background-image:
|
||||
radial-gradient(at 0% 0%, oklch(0.2 0.02 280 / 0.3) 0px, transparent 50%),
|
||||
radial-gradient(at 100% 100%, oklch(0.18 0.02 220 / 0.2) 0px, transparent 50%),
|
||||
radial-gradient(at 50% 50%, oklch(0.22 0.02 300 / 0.15) 0px, transparent 50%);
|
||||
radial-gradient(at 0% 0%, oklch(0.2 0.025 175 / 0.3) 0px, transparent 50%),
|
||||
radial-gradient(at 100% 100%, oklch(0.18 0.02 175 / 0.2) 0px, transparent 50%),
|
||||
radial-gradient(at 50% 50%, oklch(0.22 0.025 170 / 0.15) 0px, transparent 50%);
|
||||
}
|
||||
h1, h2, h3, h4, h5, h6 {
|
||||
letter-spacing: normal;
|
||||
|
||||
@@ -2,6 +2,7 @@ import type { Metadata } from "next";
|
||||
import "./globals.css";
|
||||
import { ConditionalLayout } from "@/components/conditional-layout";
|
||||
import { ThemeProvider } from "@/components/theme-provider";
|
||||
import { TopProgressBar } from "@/components/top-progress-bar";
|
||||
|
||||
|
||||
export const metadata: Metadata = {
|
||||
@@ -24,6 +25,7 @@ export default function RootLayout({
|
||||
className={`antialiased`}
|
||||
>
|
||||
<ThemeProvider>
|
||||
<TopProgressBar />
|
||||
<ConditionalLayout>{children}</ConditionalLayout>
|
||||
</ThemeProvider>
|
||||
</body>
|
||||
|
||||
Reference in New Issue
Block a user