audiobookshelf/client/tailwind.config.js

101 lines
2.0 KiB
JavaScript
Raw Normal View History

2021-08-18 00:01:11 +02:00
const defaultTheme = require('tailwindcss/defaultTheme')
module.exports = {
purge: {
content: [
'components/**/*.vue',
'layouts/**/*.vue',
'pages/**/*.vue',
'templates/**/*.vue',
'plugins/**/*.js',
'nuxt.config.js'
],
safelist: [
'bg-success',
'bg-red-600',
'text-green-500',
'py-1.5',
'bg-info',
'px-1.5'
],
},
2021-08-18 00:01:11 +02:00
theme: {
extend: {
2021-08-19 03:18:44 +02:00
height: {
2021-11-08 02:52:13 +01:00
'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',
2021-10-31 01:50:49 +02:00
'24': '6rem',
'32': '8rem',
'40': '10rem',
2021-10-31 01:50:49 +02:00
'48': '12rem',
'64': '16rem',
'80': '20rem'
},
minWidth: {
'6': '1.5rem',
'12': '3rem',
'16': '4rem',
2022-06-04 22:51:00 +02:00
'20': '5rem',
2021-10-31 01:50:49 +02:00
'24': '6rem',
'32': '8rem',
'48': '12rem',
'64': '16rem',
'80': '20rem'
},
2021-09-28 13:44:40 +02:00
spacing: {
'-54': '-13.5rem'
},
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: {
sans: ['Source Sans Pro', ...defaultTheme.fontFamily.sans],
2021-08-18 00:01:11 +02:00
mono: ['Ubuntu Mono', ...defaultTheme.fontFamily.mono],
2021-09-01 23:01:15 +02:00
book: ['Gentium Book Basic', 'serif']
},
fontSize: {
xxs: '0.625rem',
'2.5xl': '1.6875rem'
},
zIndex: {
'50': 50
2021-08-18 00:01:11 +02:00
}
}
},
variants: {
extend: {},
},
plugins: [],
}