-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
49 lines (48 loc) · 1.2 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
const { iconsPlugin, getIconCollections } = require('@egoist/tailwindcss-icons')
const defaultTheme = require('tailwindcss/defaultTheme')
/** @type {import('tailwindcss').Config} */
export default {
darkMode: 'class',
content: [
'./index.html',
'./src/**/*.{vue,js,ts,jsx,tsx}',
],
theme: {
extend: {
fontFamily: {
sans: ['DM sans', '"Noto Sans TC"', ...defaultTheme.fontFamily.sans],
},
height: {
screen: ['100vh', '100dvh'],
},
minHeight: {
screen: ['100vh', '100dvh'],
},
colors: {
primary: {
DEFAULT: 'hsl(0, 0%, 93%)',
light: 'hsl(0, 0%, 93%)',
dark: 'hsl(220, 13%, 18%)',
},
},
keyframes: {
wiggle: {
'0%, 100%': { transform: 'rotate(-6deg)' },
'50%': { transform: 'rotate(6deg)' },
},
},
animation: {
wiggle: 'wiggle 1s ease-in-out infinite',
},
},
},
plugins: [
require('@tailwindcss/forms'),
require('@tailwindcss/typography'),
require('@tailwindcss/aspect-ratio'),
require('@tailwindcss/container-queries'),
iconsPlugin({
collections: getIconCollections(['carbon']),
}),
],
}