-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.cjs
35 lines (35 loc) · 965 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
const tailwindForms = require('@tailwindcss/forms');
/** @type {import("tailwindcss/tailwind-config").TailwindConfig} */
module.exports = {
content: ['./src/**/*.{js,jsx,ts,tsx}', './index.html'],
darkMode: ['class'], // or 'media' or false
variants: {
display: ['group-hover'],
transition: ['group-hover'],
extend: {
backgroundColor: ['active'],
textColor: ['active', 'hover'],
},
},
theme: {
extend: {
boxShadow: {
'control-focus-dark':
'rgb(17, 18, 23) 0px 0px 0px 2px, rgb(61, 113, 217) 0px 0px 0px 4px',
'control-focus-light':
'rgb(255, 255, 255) 0px 0px 0px 2px, rgb(61, 113, 217) 0px 0px 0px 4px',
},
ringColor: {
'focused-primary': 'rgb(38, 152, 255)',
},
borderColor: {
'focused-primary': 'rgb(38, 152, 255)',
},
},
},
// plugins: [tailwindForms],
corePlugins: {
preflight: true,
},
// important: 'body',
};