2
0
mirror of https://github.com/frappe/books.git synced 2024-11-10 15:50:56 +00:00
books/tailwind.config.js

74 lines
1.7 KiB
JavaScript
Raw Normal View History

module.exports = {
theme: {
2019-10-04 17:55:28 +00:00
fontFamily: {
sans: ['Inter', 'sans-serif']
},
fontSize: {
xs: '11px',
sm: '12px',
base: '13px',
lg: '14px',
xl: '18px',
'2xl': '20px',
'3xl': '24px',
'4xl': '28px'
2019-10-04 17:55:28 +00:00
},
extend: {
2019-10-06 12:33:21 +00:00
maxHeight: {
'64': '16rem'
},
minWidth: {
'40': '10rem',
'56': '14rem'
},
maxWidth: {
'32': '8rem',
'56': '14rem'
},
spacing: {
'7': '1.75rem',
'14': '3.5rem',
'18': '4.5rem',
'28': '7rem',
'72': '18rem',
'80': '20rem'
},
boxShadow: {
'outline-px': '0 0 0 1px rgba(66, 153, 225, 0.5)',
default: '0 2px 4px 0 rgba(0, 0, 0, 0.05)',
md: '0 0 2px 0 rgba(0, 0, 0, 0.10), 0 2px 4px 0 rgba(0, 0, 0, 0.08)',
button: '0 0.5px 0 0 rgba(0, 0, 0, 0.08)'
},
borderRadius: {
2019-12-11 09:38:20 +00:00
sm: '0.25rem', // 4px
default: '0.313rem', // 5px
md: '0.375rem', // 6px
lg: '0.5rem', // 8px
xl: '0.75rem' // 12px
},
2019-10-22 19:07:46 +00:00
colors: {
brand: '#2490EF',
'brand-100': '#f4f9ff',
2019-10-22 19:07:46 +00:00
black: '#112B42',
gray: {
'100': '#f4f4f6',
'200': '#e9ebed',
'300': '#dfe1e2',
'400': '#cccfd1',
'500': '#b7bfc6',
'600': '#a1abb4',
'700': '#9fa5a8',
'800': '#7f878a',
'900': '#415668'
2019-10-22 19:07:46 +00:00
}
}
}
},
variants: {
2019-12-11 09:38:20 +00:00
margin: ['responsive', 'first', 'last', 'hover', 'focus'],
backgroundColor: ['responsive', 'first', 'hover', 'focus', 'focus-within'],
display: ['group-hover']
},
plugins: []
};