-
Notifications
You must be signed in to change notification settings - Fork 2
/
tailwind.config.js
62 lines (59 loc) · 1.49 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
const defaultTheme = require('tailwindcss/defaultTheme');
const darkModePlugin = require('tailwindcss-dark-mode');
const lineClampPlugin = require('@tailwindcss/line-clamp');
const gridTemplatePlugin = require('tailwindcss-grid-template');
const tailwindFormsPlugin = require('@tailwindcss/forms');
const gridPlacementPlugin = require('tailwindcss-grid-placement');
const colors = require('tailwindcss/colors');
module.exports = {
theme: {
colors,
extend: {
backgroundColor: {
...defaultTheme.backgroundColor,
dark: '#18191a',
},
boxShadow: {
...defaultTheme.boxShadow,
'avatar': 'inset 0 0 0 2px rgba(0, 0, 0, 0.05);',
'avatar-dark': 'inset 0 0 0 2px rgb(255, 255, 255, 0.1);',
},
opacity: {
7.5: '0.075',
10: '0.1',
},
gridTemplate: {
'2fr': '2fr',
},
maxHeight: {
'50vmin': '50vmin',
},
maxWidth: {
'50vmin': '50vmin',
},
},
gridTemplate: {
'fr': '1fr',
'2fr': '2fr',
'auto': 'auto',
'full': '100%',
'min': 'min-content',
'max': 'max-content',
},
},
variants: {
extend: {
visibility: ['group-hover'],
textColor: ['dark-hover'],
cursor: ['disabled'],
backgroundColor: ['disabled'],
translate: ['dark'],
borderColor: ['disabled'],
},
},
purge: {
mode: 'all',
content: ['./source/**/*.html', './source/**/*.js', './source/**/*.jsx', './source/frontend/article.css'],
},
plugins: [tailwindFormsPlugin, gridTemplatePlugin, gridPlacementPlugin, lineClampPlugin, darkModePlugin()],
};