forked from windmill-labs/windmilldocs
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.js
More file actions
45 lines (44 loc) · 801 Bytes
/
tailwind.config.js
File metadata and controls
45 lines (44 loc) · 801 Bytes
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
const plugin = require('tailwindcss/plugin');
module.exports = {
content: ['./src/**/*.{html,js,jsx,tsx}'],
extend: {
height: {
'80v': '80vh',
'1/2': '50vh'
},
width: {
'9/10': '90%'
},
maxWidth: {
'80v': '80vw',
'1/3': '33%'
},
fontFamily: {
// add double quotes if there is space in font name
main: ['Inter', 'Arial'],
mono: [
'ui-monospace',
'SFMono-Regular',
'Menlo',
'Monaco',
'Consolas',
'"Liberation Mono"',
'"Courier New"',
'monospace'
]
}
},
plugins: [
require('@tailwindcss/forms'),
plugin(({ addBase }) => {
addBase({
// Sets the style of the titles in the article list
'h2 > a[href*="/blog/"]': {
fontSize: '1.8rem',
lineHeight: '105%',
fontWeight: '500'
}
});
})
]
};