forked from stipsan/react-spring-bottom-sheet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
42 lines (40 loc) · 1.23 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
const colors = require('tailwindcss/colors')
module.exports = {
content: ['./docs/**/*.{js,ts,jsx,tsx}', './pages/**/*.{js,ts,jsx,tsx}'],
darkMode: 'media', // 'media' or 'class'
theme: {
// https://fonts.google.com/specimen/Source+Sans+Pro?query=Source&sidebar.open=true&selection.family=Montserrat:wght@700;900|Source+Sans+Pro
fontFamily: {
display: ['Montserrat', 'sans-serif'],
body: ['Source Sans Pro', 'sans-serif'],
},
extend: {
colors: {
gray: colors.slate,
hero: {
DEFAULT: '#592340',
lighter: '#FC9CC3',
},
},
ringOffsetColor: {
'rsbs-bg': 'var(--rsbs-bg)',
},
transitionDuration: {
0: '0ms',
},
},
},
variants: {
extend: {
backgroundColor: ['active', 'focus-visible'],
textColor: ['active', 'focus-visible'],
transitionDuration: ['focus', 'focus-visible'],
ringColor: ['group-focus', 'focus-visible'],
ringOffsetColor: ['group-focus', 'focus-visible'],
ringOffsetWidth: ['group-focus', 'focus-visible'],
ringOpacity: ['group-focus', 'focus-visible'],
ringWidth: ['group-focus', 'focus-visible'],
},
},
plugins: [require('@tailwindcss/forms')],
}