audiobookshelf/client/tailwind.config.js

125 lines
2.8 KiB
JavaScript
Raw Normal View History

2021-08-18 00:01:11 +02:00
module.exports = {
2024-06-03 08:04:03 +02:00
content: ['components/**/*.vue', 'layouts/**/*.vue', 'pages/**/*.vue', 'templates/**/*.vue', 'plugins/**/*.js', 'nuxt.config.js'],
safelist: ['bg-red-600', 'px-1.5', 'min-w-5', 'border-warning'],
2021-08-18 00:01:11 +02:00
theme: {
extend: {
2021-08-19 03:18:44 +02:00
height: {
7.5: '1.75rem',
18: '4.5rem',
45: '11.25rem'
2021-11-08 02:52:13 +01:00
},
width: {
18: '4.5rem'
2021-08-19 03:18:44 +02:00
},
2021-10-31 01:50:49 +02:00
maxWidth: {
6: '1.5rem',
12: '3rem',
16: '4rem',
20: '5rem',
24: '6rem',
32: '8rem',
40: '10rem',
48: '12rem',
52: '13rem',
64: '16rem',
80: '20rem'
2021-10-31 01:50:49 +02:00
},
minWidth: {
5: '1.25rem',
6: '1.5rem',
8: '2rem',
10: '2.5rem',
12: '3rem',
16: '4rem',
20: '5rem',
24: '6rem',
26: '6.5rem',
32: '8rem',
48: '12rem',
64: '16rem',
80: '20rem'
2021-10-31 01:50:49 +02:00
},
2021-09-28 13:44:40 +02:00
spacing: {
18: '4.5rem',
'-54': '-13.5rem',
// based on tailwind default config converted to em units, see client\node_modules\tailwindcss\stubs\config.full.js
'0.5e': '0.125em',
'1e': '0.25em',
'1.5e': '0.375em',
'2e': '0.5em',
'2.5e': '0.625em',
'3e': '0.75em',
'3.5e': '0.875em',
'4e': '1em',
'5e': '1.25em',
'6e': '1.5em',
'7e': '1.75em',
'8e': '2em',
'9e': '2.25em',
'10e': '2.5em',
'11e': '2.75em',
'12e': '3em',
'14e': '3.5em',
'16e': '4em',
'20e': '5em',
'24e': '6em',
'28e': '7em',
'32e': '8em',
'36e': '9em',
'40e': '10em',
'44e': '11em',
'48e': '12em',
'52e': '13em',
'56e': '14em',
'60e': '15em',
'64e': '16em',
'72e': '18em',
'80e': '20em',
'96e': '24em'
2021-09-28 13:44:40 +02:00
},
rotate: {
'-60': '-60deg'
},
2021-08-18 00:01:11 +02:00
colors: {
bg: '#373838',
primary: '#232323',
2021-08-18 00:01:11 +02:00
accent: '#1ad691',
error: '#FF5252',
info: '#2196F3',
success: '#4CAF50',
warning: '#FB8C00',
2021-09-01 20:47:18 +02:00
darkgreen: 'rgb(34,127,35)',
2021-08-18 00:01:11 +02:00
'black-50': '#bbbbbb',
'black-100': '#666666',
'black-200': '#555555',
'black-300': '#444444',
'black-400': '#333333',
'black-500': '#222222',
'black-600': '#111111',
'black-700': '#101010'
},
cursor: {
none: 'none'
},
fontFamily: {
2022-07-03 03:02:43 +02:00
sans: ['Source Sans Pro'],
mono: ['Ubuntu Mono']
},
fontSize: {
xxs: '0.625rem',
'1.5xl': '1.375rem',
'2.5xl': '1.6875rem',
'4.5xl': '2.625rem'
},
zIndex: {
2024-06-03 08:04:03 +02:00
50: 50,
60: 60
2021-08-18 00:01:11 +02:00
}
}
},
variants: {
2024-06-03 08:04:03 +02:00
extend: {}
2021-08-18 00:01:11 +02:00
},
2024-06-03 08:04:03 +02:00
plugins: []
2021-08-18 00:01:11 +02:00
}