design: update color palette to match official brand and add gold top banner
This commit is contained in:
1 parent
f69537a688
commit
1c07efcc91
4 files changed
+24
-13
No files matched your search
@@ -4,7 +4,7 @@
|
||||
"version": "0.0.0",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"dev": "vite",
|
||||
"dev": "vite --port 5050 --host 127.0.0.1",
|
||||
"build": "tsc -b && vite build",
|
||||
"lint": "eslint .",
|
||||
"preview": "vite preview"
|
||||
|
||||
@@ -6,17 +6,23 @@
|
||||
--font-vazir: "Vazirmatn", sans-serif;
|
||||
--font-inter: "Inter", sans-serif;
|
||||
|
||||
--color-canino-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;
|
||||
/* Brand Colors */
|
||||
--color-canino-blue: #1E4053;
|
||||
--color-canino-gold: #F1B646;
|
||||
--color-canino-teal: #9BC8CC;
|
||||
--color-canino-dark: #060709;
|
||||
|
||||
/* Core UI color mappings (harmonies based on brand palette) */
|
||||
--color-medical-gray-50: #FFFFFF; /* pure white main background */
|
||||
--color-medical-gray-100: #F4F7F6; /* light warm gray for alternate sections */
|
||||
--color-medical-gray-200: #E5ECE9; /* light box background / border color */
|
||||
--color-medical-gray-300: #C2D5CE; /* subtle borders */
|
||||
--color-medical-gray-400: #9BC8CC; /* card backgrounds / accent borders */
|
||||
--color-medical-gray-500: #6B8B8E; /* secondary text */
|
||||
--color-medical-gray-600: #4A6366; /* muted dark text */
|
||||
--color-medical-gray-700: #2C3E42; /* deep text */
|
||||
--color-medical-gray-800: #19272B; /* very dark text */
|
||||
--color-medical-gray-900: #060709; /* primary font color / logo */
|
||||
}
|
||||
|
||||
@layer base {
|
||||
|
||||
@@ -90,6 +90,11 @@ export default function Header({
|
||||
<>
|
||||
<AuthModal isOpen={isAuthModalOpen} onClose={() => setIsAuthModalOpen(false)} />
|
||||
|
||||
<div className="bg-canino-gold text-canino-dark text-xs font-black py-2.5 text-center font-vazir tracking-wider flex items-center justify-center gap-2">
|
||||
<span>🚚</span>
|
||||
<span>ارسال رایگان برای سفارشهای بالای ۱۵۰ هزار تومان</span>
|
||||
</div>
|
||||
|
||||
<header className="sticky top-0 z-50 bg-white/95 backdrop-blur-md border-b border-medical-gray-100 shadow-sm">
|
||||
<div className="max-w-7xl mx-auto h-24 flex items-center justify-between gap-4 px-4 sm:px-6 lg:px-8" dir="rtl">
|
||||
<div className="flex items-center gap-2">
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"dev": "next dev -p 4001",
|
||||
"dev": "next dev -p 4000",
|
||||
"build": "next build",
|
||||
"start": "next start",
|
||||
"lint": "eslint"
|
||||
|
||||
Reference in new issue
Block a user