Files
pasargad/tailwind.config.ts
ahasani d691c8de41 feat(i18n): implement language switching and localization support
- Remove i18next configuration and dependencies
- Add language switcher component
- Integrate language change functionality with cookies
- Update translations for English and Persian
- Modify layout and page components to support dynamic language rendering
- Refactor Tailwind CSS configuration for custom colors
2025-06-01 17:21:11 +03:30

69 lines
1.5 KiB
TypeScript

import type { Config } from 'tailwindcss';
const config: Config = {
darkMode: ['class', 'string'],
content: [
'./src/pages/**/*.{js,ts,jsx,tsx,mdx}',
'./src/components/**/*.{js,ts,jsx,tsx,mdx}',
'./src/app/**/*.{js,ts,jsx,tsx,mdx}',
],
theme: {
// Move your custom colors directly here to override default Tailwind colors
colors: {
// Custom colors
primary: {
light: '#6366F1',
DEFAULT: '#6366F1',
dark: '#FA003F',
},
secondary: {
light: '#A78BFA',
DEFAULT: '#8B5CF6',
dark: '#7C3AED',
},
textColorLight: {
light: '#FFFFFF',
DEFAULT: '#FFFFFF',
dark: '#FA003F',
},
textColorGray: {
light: '#222222',
DEFAULT: '#222222',
dark: '#FA003F',
},
bgPrimary: {
light: '#FFFFFF',
DEFAULT: '#FFFFFF',
dark: '#FA003F',
},
gray: {
light: {
100: '#EBEBEB',
200: '#F5F5F5',
300: '#81848A',
400: '#777',
500: '#222',
},
dark: {
100: '#EBEBEB',
200: '#F5F5F5',
300: '#81848A',
400: '#777',
500: '#222',
},
},
},
extend: {
backgroundImage: {
'gradient-radial': 'radial-gradient(var(--tw-gradient-stops))',
'gradient-conic':
'conic-gradient(from 180deg at 50% 50%, var(--tw-gradient-stops))',
},
// Any other extensions go here
},
},
plugins: [],
};
export default config;