Shahrbin-Admin-Nextjs/app/globals.css

94 lines
1.8 KiB
CSS

@tailwind base;
@tailwind components;
@tailwind utilities;
@layer base {
:root {
--background: 0 0% 100%;
--foreground: 0 0% 5%;
--card: 0 0% 100%;
--card-foreground: 0 0% 5%;
--popover: 0 0% 100%;
--popover-foreground: 0 0% 5%;
--primary: 213 74% 30%;
--primary-foreground: 0 0% 98%;
--secondary: 0 0% 96%;
--secondary-foreground: 0 0% 5%;
--muted: 0 0% 96%;
--muted-foreground: 0 0% 45%;
--accent: 0 0% 96%;
--accent-foreground: 0 0% 5%;
--destructive: 0 84% 60%;
--destructive-foreground: 0 0% 98%;
--border: 0 0% 92%;
--input: 0 0% 85%;
--ring: 0 0% 76%;
--radius: 0.5rem;
}
.dark {
--background: 240 3% 6%;
--foreground: 0 0% 98%;
--card: 210 6% 7%;
--card-foreground: 0 0% 98%;
--popover: 210 6% 7%;
--popover-foreground: 0 0% 98%;
--primary: 213 74% 30%;
--primary-foreground: 0 0% 98%;
--secondary: 210 5% 15%;
--secondary-foreground: 0 0% 98%;
--muted: 210 5% 22%;
--muted-foreground: 215 5% 49%;
--accent: 213 45% 14%;
--accent-foreground: 0 0% 98%;
--destructive: 0 84% 60%;
--destructive-foreground: 0 0% 98%;
--border: 220 5% 12%;
--input: 210 4% 18%;
--ring: 213 75% 40%;
}
}
@layer base {
* {
@apply border-border;
}
body {
@apply bg-background text-foreground;
}
}
@font-face {
font-family: "yekan";
src: url(../public/fonts/iranyekanwebregularfanum.ttf);
}
@font-face {
font-family: "yekan-m";
src: url(../public/fonts/iranyekanwebmediumfanum.ttf);
}
/* Change the white to any color */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active{
-webkit-box-shadow: 0 0 0 30px white inset !important;
}