forked from Rule-34/App
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
72 lines (58 loc) · 1.39 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
66
67
68
69
70
71
72
const defaultTheme = require('tailwindcss/defaultTheme')
const defaultColors = require('tailwindcss/colors')
module.exports = {
safelist: [
'nuxt-link-exact-active',
'toasted-container',
'toasted-custom-theme',
'toasted-custom-action'
],
content: [
'./components/**/*.{js,vue,ts}',
'./layouts/**/*.vue',
'./pages/**/*.vue',
'./plugins/**/*.{js,ts}',
'./nuxt.config.{js,ts}'
],
theme: {
extend: {
colors: {
primary: defaultColors.sky,
accent: defaultColors.violet,
// --- Default colors for text --- \\
// Icons: black or white
// Text: text-gray-200 | text-gray-800
// Muted: text-gray-300 | text-gray-700
darkGray: {
100: ' hsl(209, 15%, 20%)', // Borders
300: ' hsl(209, 15%, 9%)', // Elevation
500: 'hsl(209, 10%, 13%)',
700: 'hsl(0, 0%, 7%)' // Background
},
...defaultColors
},
maxHeight: {
0: '0px',
'1/4': '25%',
'2/5': '40%',
'1/2': '50%',
'3/4': '75%'
},
minHeight: {
0: '0px',
'1/4': '25%',
'2/5': '40%',
'1/2': '50%',
'3/4': '75%'
},
fontFamily: {
sans: ['Inter var', ...defaultTheme.fontFamily.sans]
}
}
},
plugins: [
require('@tailwindcss/forms')({
strategy: 'class'
})
]
}