-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathtailwind.config.js
More file actions
91 lines (80 loc) · 1.62 KB
/
tailwind.config.js
File metadata and controls
91 lines (80 loc) · 1.62 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
import typographyPlugin from '@tailwindcss/typography'
import capsizePlugin from 'tailwindcss-capsize'
import defaultTheme from 'tailwindcss/defaultTheme'
/** @type {import('tailwindcss').Config} */
const config = {
content: [
'components/**/*.vue',
'layouts/**/*.vue',
'pages/**/*.vue',
'plugins/**/*.js',
'nuxt.config.ts',
],
theme: {
fontMetrics: {
sans: {
capHeight: 2048,
ascent: 2728,
descent: -680,
lineGap: 0,
unitsPerEm: 2816,
},
},
fontSize: {
xs: '.75rem',
sm: '.875rem',
base: '1rem',
lg: '1.125rem',
xl: '1.25rem',
'2xl': '1.5rem',
'3xl': '1.875rem',
'4xl': '2.25rem',
'5xl': '3rem',
'6xl': '4rem',
},
extend: {
boxShadow: {
a: '0 2px 10px rgba(0, 0, 0, 0.12), 0 20px 50px 0 rgba(0, 0, 0, 0.14)',
b: '0 2px 10px rgba(0, 0, 0, 0.12), 0 50px 50px 0 rgba(0, 0, 0, 0.1)',
},
colors: {
grey: {
100: '#f1f2f2',
200: '#e7ebed',
300: '#dee4e8',
400: '#c0c8cd',
500: '#949ca1',
600: '#62696d',
700: '#393e41',
800: '#202326',
900: '#16191b',
},
},
fontFamily: {
sans: ['Inter', ...defaultTheme.fontFamily.sans],
},
inset: {
8: '2rem',
},
letterSpacing: {
mega: '0.25em',
},
typography: {
DEFAULT: {
css: {
code: {
padding: '0.1875rem 0.25rem',
margin: '0 1px',
backgroundColor: 'rgba(0, 0, 0, 0.05)',
borderRadius: '0.125rem',
},
'code::before': { content: 'none' },
'code::after': { content: 'none' },
},
},
},
},
},
plugins: [typographyPlugin, capsizePlugin],
}
export default config