-
Notifications
You must be signed in to change notification settings - Fork 1
/
tailwind.config.js
47 lines (45 loc) · 1.19 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
const defaultTheme = require('tailwindcss/defaultTheme');
const neumorphism = require('tailwindcss-neumorphism');
const typography = require('@tailwindcss/typography');
const neumorphismVariants = ['dark', 'focus', 'hover', 'responsive'];
module.exports = {
darkMode: 'media', // false, or 'media' or 'class'
mode: 'jit',
plugins: [neumorphism, typography],
purge: {
content: [
'./src/pages/**/*.{js,ts,jsx,tsx}',
'./src/components/**/*.{js,ts,jsx,tsx}',
],
},
theme: {
extend: {
fontFamily: {
sans: [
...new Set([
'-apple-system',
'BlinkMacSystemFont',
'BIZ UDPGothic',
'system-ui',
'Helvetica Neue',
'Helvetica',
'Ubuntu',
'Droid Sans',
'Hiragino Sans',
'Hiragino Kaku Gothic ProN',
'Arial',
'Yu Gothic',
'Meiryo',
...defaultTheme.fontFamily.sans,
]),
],
},
},
},
variants: {
neumorphismConcave: neumorphismVariants,
neumorphismConvex: neumorphismVariants,
neumorphismFlat: neumorphismVariants,
neumorphismInset: neumorphismVariants,
},
};