-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.ts
61 lines (60 loc) · 1.91 KB
/
tailwind.config.ts
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
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ['./src/**/*.{ts,tsx}'],
prefix: '',
theme: {
container: {
center: true,
},
extend: {
colors: {
primary: {
DEFAULT: 'rgba(var(--color-primary), <alpha-value>)',
light: 'rgba(var(--color-primary-light), <alpha-value>)',
lightest: 'rgba(var(--color-primary-lightest), <alpha-value>)',
},
secondary: {
DEFAULT: 'rgba(var(--color-secondary), <alpha-value>)',
light: 'rgba(var(--color-secondary-light), <alpha-value>)',
},
destructive: {
DEFAULT: 'rgba(var(--color-destructive), <alpha-value>)',
},
accent: {
DEFAULT: 'rgba(var(--color-accent), <alpha-value>)',
},
muted: {
DEFAULT: 'rgba(var(--muted), <alpha-value>)',
},
popover: {
DEFAULT: 'rgba(var(--popover), <alpha-value>)',
},
card: {
DEFAULT: 'rgba(var(--card), <alpha-value>)',
},
background: 'rgba(var(--background), <alpha-value>)',
black: 'rgba(var(--color-black), <alpha-value>)',
overlay: 'rgba(var(--color-overlay))',
input: 'rgba(var(--input), <alpha-value>)',
border: 'rgba(var(--border), <alpha-value>)',
ring: 'rgba(var(--ring), <alpha-value>)',
placeholder: 'rgba(var(--placeholder), <alpha-value>)',
},
keyframes: {
'accordion-down': {
from: { height: '0' },
to: { height: 'var(--radix-accordion-content-height)' },
},
'accordion-up': {
from: { height: 'var(--radix-accordion-content-height)' },
to: { height: '0' },
},
},
animation: {
'accordion-down': 'accordion-down 0.2s ease-out',
'accordion-up': 'accordion-up 0.2s ease-out',
},
},
},
plugins: [require('tailwindcss-animate')],
};