-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathtailwind.config.cjs
45 lines (42 loc) · 1.06 KB
/
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
45
import plugin from 'tailwindcss/plugin'
import typography from '@tailwindcss/typography'
import forms from '@tailwindcss/forms'
/** @type {import('tailwindcss').Config}*/
const config = {
content: ["./src/**/*.{html,js,svelte,ts}"],
theme: {
extend: {
colors: {
'orange': {
50: '#FFF2EE',
100: '#FFDBD1',
200: '#FFC7B7',
300: '#FFAF9B',
400: '#FF977D',
500: '#FF8E72',
600: '#FF7A59',
700: '#FF6C47',
800: '#FF5621',
900: '#FF460C'
}
}
}
},
plugins: [
typography,
forms,
plugin(function ({ addVariant, matchUtilities, theme }) {
addVariant('hocus', ['&:hover', '&:focus']);
// Square utility
matchUtilities({
square: (value) => ({
width: value,
height: value,
}),
},
{ values: theme('spacing') }
);
})
]
}
module.exports = config