fix: use Tailwind v3 for Linux server builds

This commit is contained in:
2026-05-18 20:50:04 +03:30
parent 3a27b74847
commit 3f9d91d4bf
7 changed files with 1109 additions and 341 deletions
+33
View File
@@ -0,0 +1,33 @@
/** @type {import('tailwindcss').Config} */
export default {
darkMode: 'class',
content: ['./index.html', './src/**/*.{vue,js,ts,jsx,tsx}'],
theme: {
extend: {
fontFamily: {
sans: ['Vazirmatn', 'ui-sans-serif', 'system-ui', 'sans-serif'],
},
colors: {
brand: {
50: '#ecfdf5',
100: '#d1fae5',
500: '#22c55e',
600: '#16a34a',
700: '#15803d',
},
surface: {
DEFAULT: 'var(--color-surface)',
2: 'var(--color-surface-2)',
3: 'var(--color-surface-3)',
},
border: 'var(--color-border)',
text: 'var(--color-text)',
muted: 'var(--color-muted)',
},
maxWidth: {
app: '768px',
},
},
},
plugins: [],
};