feat: nextjs setup and configuration (lib, store, css, assets)
This commit is contained in:
1 parent
eff6c00a9c
commit
c5a1b8e5d2
17 files changed
+1933
-17
No files matched your search
@@ -1,26 +1,74 @@
|
||||
@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@100;300;400;500;700;900&family=Inter:wght@400;500;600;700;800;900&display=swap');
|
||||
@import "tailwindcss";
|
||||
|
||||
:root {
|
||||
--background: #ffffff;
|
||||
--foreground: #171717;
|
||||
@theme {
|
||||
--font-sans: "Vazirmatn", "Inter", sans-serif;
|
||||
--font-vazir: "Vazirmatn", sans-serif;
|
||||
--font-inter: "Inter", sans-serif;
|
||||
|
||||
--color-canina-blue: #004182;
|
||||
--color-medical-gray-50: #f8fafc;
|
||||
--color-medical-gray-100: #f1f5f9;
|
||||
--color-medical-gray-200: #e2e8f0;
|
||||
--color-medical-gray-300: #cbd5e1;
|
||||
--color-medical-gray-400: #94a3b8;
|
||||
--color-medical-gray-500: #64748b;
|
||||
--color-medical-gray-600: #475569;
|
||||
--color-medical-gray-700: #334155;
|
||||
--color-medical-gray-800: #1e293b;
|
||||
--color-medical-gray-900: #0f172a;
|
||||
}
|
||||
|
||||
@theme inline {
|
||||
--color-background: var(--background);
|
||||
--color-foreground: var(--foreground);
|
||||
--font-sans: var(--font-geist-sans);
|
||||
--font-mono: var(--font-geist-mono);
|
||||
}
|
||||
|
||||
@media (prefers-color-scheme: dark) {
|
||||
@layer base {
|
||||
:root {
|
||||
--background: #0a0a0a;
|
||||
--foreground: #ededed;
|
||||
font-family: "Vazirmatn", "Inter", sans-serif !important;
|
||||
}
|
||||
|
||||
html, body, #root {
|
||||
font-family: "Vazirmatn", "Inter", sans-serif !important;
|
||||
@apply bg-medical-gray-50 text-medical-gray-900 antialiased;
|
||||
font-feature-settings: "ss01", "ss02", "cv01", "cv11";
|
||||
}
|
||||
|
||||
button, a, [role="button"], .cursor-pointer {
|
||||
@apply cursor-pointer;
|
||||
}
|
||||
|
||||
/* Smooth hover transitions for all interactive elements */
|
||||
button, a, .group, .transition-all {
|
||||
@apply transition-all duration-300;
|
||||
}
|
||||
|
||||
/* Default mild hover effects */
|
||||
button:hover, .cursor-pointer:hover {
|
||||
@apply opacity-90;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
@apply opacity-80;
|
||||
}
|
||||
}
|
||||
|
||||
body {
|
||||
background: var(--background);
|
||||
color: var(--foreground);
|
||||
font-family: Arial, Helvetica, sans-serif;
|
||||
@layer utilities {
|
||||
.font-vazir {
|
||||
font-family: "Vazirmatn", sans-serif;
|
||||
}
|
||||
}
|
||||
|
||||
/* Custom scrollbar for a professional look */
|
||||
::-webkit-scrollbar {
|
||||
width: 6px;
|
||||
}
|
||||
|
||||
::-webkit-scrollbar-track {
|
||||
background: var(--color-medical-gray-100);
|
||||
}
|
||||
|
||||
::-webkit-scrollbar-thumb {
|
||||
background: var(--color-medical-gray-300);
|
||||
border-radius: 3px;
|
||||
}
|
||||
|
||||
::-webkit-scrollbar-thumb:hover {
|
||||
background: var(--color-canina-blue);
|
||||
}
|
||||
Reference in new issue
Block a user