کار اولیه
This commit is contained in:
@@ -0,0 +1,116 @@
|
||||
@import "tailwindcss";
|
||||
@import "@nuxt/ui";
|
||||
|
||||
/* تعریف فونتهای محلی از پوشه public */
|
||||
@font-face {
|
||||
font-family: 'Vazirmatn';
|
||||
src: url('/fonts/vazir/Vazirmatn-Regular.woff2') format('woff2');
|
||||
font-weight: 400;
|
||||
font-style: normal;
|
||||
font-display: swap;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Vazirmatn';
|
||||
src: url('/fonts/vazir/Vazirmatn-Medium.woff2') format('woff2');
|
||||
font-weight: 500;
|
||||
font-style: normal;
|
||||
font-display: swap;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Vazirmatn';
|
||||
src: url('/fonts/vazir/Vazirmatn-Bold.woff2') format('woff2');
|
||||
font-weight: 700;
|
||||
font-style: normal;
|
||||
font-display: swap;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Sahel';
|
||||
src: url('/fonts/sahel/Sahel.woff2') format('woff2');
|
||||
font-weight: 400;
|
||||
font-style: normal;
|
||||
font-display: swap;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Sahel';
|
||||
src: url('/fonts/sahel/Sahel-Bold.woff2') format('woff2');
|
||||
font-weight: 700;
|
||||
font-style: normal;
|
||||
font-display: swap;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Yekan';
|
||||
src: url('/fonts/Yekan/Yekan.woff2') format('woff2');
|
||||
font-weight: 400;
|
||||
font-style: normal;
|
||||
font-display: swap;
|
||||
}
|
||||
|
||||
@theme static {
|
||||
/* Light colors */
|
||||
--color-light-primary: #ffffff;
|
||||
--color-text__orange: #d99058;
|
||||
--color-link-color: #c37943;
|
||||
|
||||
/* Dark colors */
|
||||
--color-dark-primary: #111827;
|
||||
--color-dark-primary-800: #1f2937;
|
||||
--color-dark-primary-700: #374151;
|
||||
--color-dark-primary-600: #4b5563;
|
||||
--color-dark-primary-500: #6b7280;
|
||||
--color-dark-primary-400: #9ca3af;
|
||||
--color-dark-primary-300: #d1d5db;
|
||||
--color-dark-primary-200: #e5e7eb;
|
||||
--color-dark-primary-100: #f3f4f6;
|
||||
--color-dark-primary-50: #f9fafb;
|
||||
|
||||
/* Text colors */
|
||||
--color-white-normal: #ffffff;
|
||||
--color-black-normal: #111827;
|
||||
--color-white-bold: #ffffff;
|
||||
--color-white-light: rgba(255, 255, 255, 0.6);
|
||||
--color-white-strong: #ffffff;
|
||||
--color-dark-normal: #e5e7eb;
|
||||
--color-dark-bold: #111827;
|
||||
--color-dark-light: #6b7280;
|
||||
--color-dark-strong: #ffffff;
|
||||
--color-text-disabled: #9ca3af;
|
||||
--color-text-orange: #d99058;
|
||||
}
|
||||
|
||||
:root {
|
||||
--app-font: 'Vazirmatn', 'Sahel', 'Yekan', system-ui, -apple-system, sans-serif;
|
||||
--color-primary: #d99058;
|
||||
--color-primary-50: #fbf6f1;
|
||||
--color-primary-100: #f6ece1;
|
||||
--color-primary-200: #ebd7c3;
|
||||
--color-primary-300: #dfbfa1;
|
||||
--color-primary-400: #d4a37b;
|
||||
--color-primary-500: #d99058;
|
||||
--color-primary-600: #c37943;
|
||||
--color-primary-700: #a35f34;
|
||||
--color-primary-800: #834c2b;
|
||||
--color-primary-900: #6b3f25;
|
||||
--color-primary-950: #391f11;
|
||||
--ui-primary: #d99058;
|
||||
}
|
||||
|
||||
* {
|
||||
font-family: var(--app-font, 'Vazirmatn', sans-serif);
|
||||
}
|
||||
|
||||
html,
|
||||
body,
|
||||
#__nuxt,
|
||||
.root {
|
||||
font-family: var(--app-font, 'Vazirmatn', sans-serif);
|
||||
}
|
||||
|
||||
button,
|
||||
a {
|
||||
cursor: pointer;
|
||||
}
|
||||
Reference in New Issue
Block a user