forked from Dashibase/lotion
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.cjs
44 lines (41 loc) · 1007 Bytes
/
tailwind.config.cjs
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
/** @type {import('tailwindcss').Config} */
const defaultTheme = require('tailwindcss/defaultTheme')
const plugin = require('tailwindcss/plugin')
module.exports = {
prefix: '',
content: [
"./index.html",
"./src/**/*.{vue,js,ts,jsx,tsx}",
],
theme: {
extend: {
fontFamily: {
'sans': ['Inter', ...defaultTheme.fontFamily.sans],
},
boxShadow: {
'block': 'rgba(15, 15, 15, 0.05) 0px 0px 0px 1px, rgba(15, 15, 15, 0.1) 0px 3px 6px, rgba(15, 15, 15, 0.2) 0px 9px 24px',
},
borderWidth: {
DEFAULT: '1px',
'0': '0',
'2': '2px',
'3': '3px',
'4': '4px',
}
},
groups: ['tooltip'],
},
corePlugins: {
preflight: false,
},
plugins: [
plugin(({ addVariant, theme }) => {
const groups = theme('groups') || []
groups.forEach((group) => {
addVariant(`group-${group}-hover`, () => {
return `:merge(.group-${group}):hover &`
})
})
})
]
}