-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtailwind.config.js
65 lines (63 loc) · 1.48 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
65
/** @type {import('tailwindcss').Config} */
module.exports = {
darkMode: 'class',
future: {
hoverOnlyWhenSupported: true,
},
content: [
'./app/**/*.{js,ts,jsx,tsx,mdx}',
'./components/**/*.{js,ts,jsx,tsx,mdx}',
'./lib/**/*.{js,ts,jsx,tsx,mdx}',
],
theme: {
screens: {
sm: "480px",
md: "768px",
lg: "976px",
xl: "1200px",
'2xl': "1440px",
},
extend: {
height: {
'icon': 'var(--icon-size)'
},
width: {
'icon': 'var(--icon-size)'
},
maxWidth: {
'prose-full': '85ch',
'prose': '65ch',
'prose-short': '45ch'
},
colors: {
bg: {
primary: `rgb(var(--primary-bg) / <alpha-value>)`,
DEFAULT: `rgb(var(--primary-bg) / <alpha-value>)`,
secondary: `rgb(var(--primary-bg) / <alpha-value>)`,
},
fg: {
primary: `rgb(var(--primary-text) / <alpha-value>)`,
DEFAULT: `rgb(var(--primary-text) / <alpha-value>)`,
},
accent: {
primary: `rgb(var(--primary-accent) / <alpha-value>)`,
DEFAULT: `rgb(var(--primary-accent) / <alpha-value>)`,
secondary: `rgb(var(--secondary-accent) / <alpha-value>)`,
failure: `rgb(var(--failure-accent) / <alpha-value>)`,
warning: `rgb(var(--warning-accent) / <alpha-value>)`,
success: `rgb(var(--success-accent) / <alpha-value>)`,
},
},
fontFamily: {
heading: ['var(--font-mona-space)'],
body: ['var(--font-mona-space)']
},
zIndex: {
'-1': '-1'
},
},
},
plugins: [
require('@tailwindcss/typography'),
],
}