-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.mjs
More file actions
96 lines (96 loc) · 2.28 KB
/
tailwind.config.mjs
File metadata and controls
96 lines (96 loc) · 2.28 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
/** @type {import('tailwindcss').Config} */
export default {
content: ['./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}'],
darkMode: 'class',
theme: {
extend: {
colors: {
// Custom brand colors
brand: {
50: '#fef7ee',
100: '#fdedd3',
200: '#f9d7a5',
300: '#f5ba6d',
400: '#f09432',
500: '#ed7712',
600: '#de5c08',
700: '#b84409',
800: '#93360f',
900: '#772f10',
950: '#401506',
},
// Rust-inspired accent
rust: {
50: '#fdf4f3',
100: '#fce7e4',
200: '#fad3cd',
300: '#f5b4aa',
400: '#ec8778',
500: '#df614e',
600: '#cb4532',
700: '#aa3726',
800: '#8c3123',
900: '#752e23',
950: '#3f140e',
},
},
fontFamily: {
sans: [
'Inter',
'system-ui',
'-apple-system',
'BlinkMacSystemFont',
'Segoe UI',
'Roboto',
'Helvetica Neue',
'Arial',
'sans-serif',
],
mono: [
'JetBrains Mono',
'Fira Code',
'Consolas',
'Monaco',
'monospace',
],
},
animation: {
'fade-in': 'fadeIn 0.5s ease-out',
'slide-up': 'slideUp 0.5s ease-out',
'slide-down': 'slideDown 0.3s ease-out',
},
keyframes: {
fadeIn: {
'0%': { opacity: '0' },
'100%': { opacity: '1' },
},
slideUp: {
'0%': { opacity: '0', transform: 'translateY(20px)' },
'100%': { opacity: '1', transform: 'translateY(0)' },
},
slideDown: {
'0%': { opacity: '0', transform: 'translateY(-10px)' },
'100%': { opacity: '1', transform: 'translateY(0)' },
},
},
typography: {
DEFAULT: {
css: {
maxWidth: '65ch',
color: 'inherit',
a: {
color: 'inherit',
textDecoration: 'underline',
fontWeight: '500',
},
code: {
color: 'inherit',
fontWeight: '500',
},
},
},
},
},
},
plugins: [],
};