-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.js
More file actions
122 lines (122 loc) · 3.98 KB
/
tailwind.config.js
File metadata and controls
122 lines (122 loc) · 3.98 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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
/** @type {import('tailwindcss').Config} */
export default {
darkMode: ['class'],
content: ['./src/ui/**/*.{ts,tsx,html}'],
theme: {
extend: {
fontFamily: {
sans: ['Plus Jakarta Sans', 'system-ui', 'sans-serif'],
display: ['Fraunces', 'Georgia', 'serif'],
mono: ['JetBrains Mono', 'Menlo', 'monospace'],
},
colors: {
border: 'hsl(var(--border))',
'border-subtle': 'hsl(var(--border-subtle))',
input: 'hsl(var(--input))',
ring: 'hsl(var(--ring))',
background: 'hsl(var(--background))',
'background-subtle': 'hsl(var(--background-subtle))',
foreground: 'hsl(var(--foreground))',
'foreground-muted': 'hsl(var(--foreground-muted))',
'foreground-subtle': 'hsl(var(--foreground-subtle))',
surface: 'hsl(var(--surface))',
'surface-raised': 'hsl(var(--surface-raised))',
primary: {
DEFAULT: 'hsl(var(--primary))',
hover: 'hsl(var(--primary-hover))',
soft: 'hsl(var(--primary-soft))',
foreground: 'hsl(var(--primary-foreground))',
},
secondary: {
DEFAULT: 'hsl(var(--secondary))',
foreground: 'hsl(var(--secondary-foreground))',
},
destructive: {
DEFAULT: 'hsl(var(--destructive))',
foreground: 'hsl(var(--destructive-foreground))',
},
muted: {
DEFAULT: 'hsl(var(--muted))',
foreground: 'hsl(var(--muted-foreground))',
},
accent: {
DEFAULT: 'hsl(var(--accent))',
hover: 'hsl(var(--accent-hover))',
soft: 'hsl(var(--accent-soft))',
foreground: 'hsl(var(--accent-foreground))',
},
popover: {
DEFAULT: 'hsl(var(--popover))',
foreground: 'hsl(var(--popover-foreground))',
},
card: {
DEFAULT: 'hsl(var(--card))',
foreground: 'hsl(var(--card-foreground))',
},
// Status colors
status: {
open: 'hsl(var(--status-open))',
progress: 'hsl(var(--status-progress))',
blocked: 'hsl(var(--status-blocked))',
pending: 'hsl(var(--status-pending))',
closed: 'hsl(var(--status-closed))',
},
// Type colors
type: {
epic: 'hsl(var(--type-epic))',
bug: 'hsl(var(--type-bug))',
task: 'hsl(var(--type-task))',
},
},
borderRadius: {
sm: 'var(--radius-sm)',
md: 'var(--radius-md)',
lg: 'var(--radius-lg)',
xl: 'var(--radius-xl)',
'2xl': 'var(--radius-2xl)',
},
boxShadow: {
xs: 'var(--shadow-xs)',
sm: 'var(--shadow-sm)',
md: 'var(--shadow-md)',
lg: 'var(--shadow-lg)',
xl: 'var(--shadow-xl)',
glow: 'var(--shadow-glow)',
},
transitionTimingFunction: {
'ease-out-expo': 'cubic-bezier(0.16, 1, 0.3, 1)',
'ease-in-out-expo': 'cubic-bezier(0.87, 0, 0.13, 1)',
},
transitionDuration: {
fast: '150ms',
normal: '250ms',
slow: '400ms',
},
animation: {
'fade-in': 'fade-in 0.25s ease-out',
'fade-out': 'fade-out 0.2s ease-in',
'slide-in-right': 'slide-in-right 0.3s ease-out',
'slide-out-right': 'slide-out-right 0.2s ease-in',
},
keyframes: {
'fade-in': {
from: { opacity: '0', transform: 'translateY(4px)' },
to: { opacity: '1', transform: 'translateY(0)' },
},
'fade-out': {
from: { opacity: '1', transform: 'translateY(0)' },
to: { opacity: '0', transform: 'translateY(-4px)' },
},
'slide-in-right': {
from: { transform: 'translateX(100%)', opacity: '0' },
to: { transform: 'translateX(0)', opacity: '1' },
},
'slide-out-right': {
from: { transform: 'translateX(0)', opacity: '1' },
to: { transform: 'translateX(100%)', opacity: '0' },
},
},
},
},
plugins: [],
};