guanghulab/writing-platform/frontend/tailwind.config.js

57 lines
1.3 KiB
JavaScript
Raw Normal View History

/** @type {import('tailwindcss').Config} */
export default {
content: [
'./index.html',
'./src/**/*.{ts,tsx}',
],
theme: {
extend: {
colors: {
brand: {
50: '#f0f4ff',
100: '#dbe4ff',
200: '#bac8ff',
300: '#91a7ff',
400: '#748ffc',
500: '#5c7cfa',
600: '#4c6ef5',
700: '#4263eb',
800: '#3b5bdb',
900: '#364fc7',
},
ink: {
50: '#f8f9fa',
100: '#f1f3f5',
200: '#e9ecef',
300: '#dee2e6',
400: '#ced4da',
500: '#adb5bd',
600: '#868e96',
700: '#495057',
800: '#343a40',
900: '#212529',
},
},
fontFamily: {
sans: ['Inter', 'system-ui', '-apple-system', 'sans-serif'],
serif: ['Merriweather', 'Georgia', 'serif'],
mono: ['JetBrains Mono', 'Fira Code', 'monospace'],
},
spacing: {
18: '4.5rem',
88: '22rem',
128: '32rem',
},
borderRadius: {
'4xl': '2rem',
},
boxShadow: {
soft: '0 2px 15px -3px rgba(0, 0, 0, 0.07), 0 10px 20px -2px rgba(0, 0, 0, 0.04)',
glow: '0 0 15px rgba(92, 124, 250, 0.3)',
},
},
},
plugins: [],
}