-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
50 lines (44 loc) · 1.62 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
const defaultTheme = require('tailwindcss/defaultTheme')
const vvPath = './src/data/'
module.exports = {
darkMode: 'class',
content: [
"./index.html",
"./src/**/*.{vue,js,ts,jsx,tsx}",
"./docs/**/*.{md,html,js,vue}",
],
theme: {
extend: {
fontFamily: {
sans: ['Nunito', ...defaultTheme.fontFamily.sans],
heading: ['Nunito', ...defaultTheme.fontFamily.sans],
body: ['Nunito', ...defaultTheme.fontFamily.sans],
},
animation: require(vvPath + 'extend.animation.json'),
keyframes: require(vvPath + 'extend.keyframes.json'),
maxWidth: require(vvPath + 'extend.maxWidth.json'),
rotate: require(vvPath + 'extend.rotate.json'),
scale: require(vvPath + 'extend.scale.json'),
transitionDuration: require(vvPath + 'extend.transitionDuration.json'),
width: require(vvPath + 'extend.width.json'),
},
colors: require(vvPath + 'app.color.data.json'),
fontSize: require(vvPath + 'theme.fontSize.json'),
listStyleType: require(vvPath + 'theme.listStyleType.json'),
opacity: require(vvPath + 'theme.opacity.json'),
screens: require(vvPath + 'theme.screens.json'),
},
variants: {
extend: {
opacity: ['disabled']
},
scrollbar: ['dark']
},
plugins: [
require('@tailwindcss/forms'),
require('@tailwindcss/typography'),
require('@tailwindcss/aspect-ratio'),
require('tailwind-scrollbar'),
require('@headlessui/tailwindcss'),
],
}