-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
65 lines (64 loc) · 1.58 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
const defaultTheme = require('tailwindcss/defaultTheme')
// const colors = require('tailwindcss/colors')
module.exports = {
content: [
'./lpld/**/*.{html, js, css}'
],
theme: {
extend: {
screens: {
// Approx. iPhone 5 horizontal orientation
xs: '560px',
...defaultTheme.screens
},
fontFamily: {
'sans-var': [
[
'InterVariable',
'Helvetica',
'Helvetica Neue',
'Arial',
...defaultTheme.fontFamily.sans
],
{
fontFeatureSettings: '"cv11", "ss01"',
fontVariationSettings: '"opsz" 32'
}
],
sans: [
[
'Inter',
'Helvetica',
'Helvetica Neue',
'Arial',
...defaultTheme.fontFamily.sans
],
{
fontFeatureSettings: '"cv11", "ss01"',
fontVariationSettings: '"opsz" 32'
}
]
},
textDecorationThickness: {
3: '3px'
},
textUnderlineOffset: {
3: '3px'
},
typography: ({ theme }) => ({
// Add a custom prose color theme that is heavily based on the "neutral" theme.
// https://tailwindcss.com/docs/typography-plugin#adding-custom-color-themes
'neutral-500': {
css: {
'--tw-prose-body': theme('colors.neutral.500'),
'--tw-prose-headings': theme('colors.neutral.600'),
...theme('css')
}
}
})
}
},
plugins: [
require('@tailwindcss/typography')
]
}