-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
64 lines (63 loc) · 1.67 KB
/
tailwind.config.js
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
import typography from '@tailwindcss/typography';
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ['./app/**/*.tsx'],
plugins: [typography],
theme: {
borderRadius: {
DEFAULT: 'var(--radius-default)',
full: '50%',
none: '0',
sm: 'var(--radius-sm)',
},
extend: {
colors: {
'accent-1': 'var(--color-accent-1)',
'accent-2': 'var(--color-accent-2)',
'alpha-0': 'var(--color-alpha-0)',
'alpha-1': 'var(--color-alpha-1)',
'alpha-2': 'var(--color-alpha-2)',
'alpha-3': 'var(--color-alpha-3)',
'alpha-4': 'var(--color-alpha-4)',
'alpha-reverse-1': 'var(--color-alpha-reverse-1)',
'alpha-reverse-2': 'var(--color-alpha-reverse-2)',
'bg-1': 'var(--color-bg-1)',
'bg-2': 'var(--color-bg-2)',
'bg-3': 'var(--color-bg-3)',
'fg-1': 'var(--color-fg-1)',
'fg-2': 'var(--color-fg-2)',
'fg-3': 'var(--color-fg-3)',
'fg-4': 'var(--color-fg-4)',
'red-1': 'var(--color-red-1)',
transparent: 'transparent',
},
},
fontFamily: {
body: 'var(--font-body)',
mono: 'var(--font-mono)',
},
fontWeight: {
bold: 'var(--font-weight-bold)',
normal: 'var(--font-weight-normal)',
},
screens: {
lg: '56rem',
md: '42rem',
sm: '32rem',
xl: '64rem',
xs: '25rem',
},
typography: {
DEFAULT: {
css: {
a: {
'&:hover': {
// hack because prose-a:hover:text-fg-2 is highlighting all links
color: 'var(--color-fg-2)',
},
},
},
},
},
},
};