advplyr.audiobookshelf-app/tailwind.config.js

69 lines
1.9 KiB
JavaScript
Raw Normal View History

2021-09-01 20:07:11 -05:00
const defaultTheme = require('tailwindcss/defaultTheme')
module.exports = {
content: [
'components/**/*.vue',
'layouts/**/*.vue',
'pages/**/*.vue',
'mixins/**/*.js',
'plugins/**/*.js'
],
2021-09-01 20:07:11 -05:00
theme: {
extend: {
screens: {
'short': { 'raw': '(max-height: 500px)' }
},
colors: {
bg: 'rgb(var(--color-bg) / <alpha-value>)',
'bg-hover': 'rgb(var(--color-bg-hover) / <alpha-value>)',
fg: 'rgb(var(--color-fg) / <alpha-value>)',
'fg-muted': 'rgb(var(--color-fg-muted) / <alpha-value>)',
secondary: 'rgb(var(--color-secondary) / <alpha-value>)',
primary: 'rgb(var(--color-primary) / <alpha-value>)',
border: 'rgb(var(--color-border) / <alpha-value>)',
'bg-toggle': 'rgb(var(--color-bg-toggle) / <alpha-value>)',
'bg-toggle-selected': 'rgb(var(--color-bg-toggle-selected) / <alpha-value>)',
'track-cursor': 'rgb(var(--color-track-cursor) / <alpha-value>)',
'track': 'rgb(var(--color-track) / <alpha-value>)',
'track-buffered': 'rgb(var(--color-track-buffered) / <alpha-value>)',
2021-09-01 20:07:11 -05:00
accent: '#1ad691',
error: '#FF5252',
info: '#2196F3',
success: '#4CAF50',
successDark: '#3b8a3e',
warning: '#FB8C00'
},
cursor: {
none: 'none'
},
fontFamily: {
sans: ['Source Sans Pro', ...defaultTheme.fontFamily.sans],
2023-02-12 12:16:38 -06:00
mono: ['Ubuntu Mono', ...defaultTheme.fontFamily.mono]
},
fontSize: {
xxs: '0.625rem'
2022-07-13 17:10:47 -05:00
},
spacing: {
'18': '4.5rem'
},
height: {
'18': '4.5rem'
},
2022-07-13 17:10:47 -05:00
maxWidth: {
'24': '6rem'
},
minWidth: {
2022-12-10 14:34:21 -06:00
'4': '1rem',
2022-12-07 17:57:42 -06:00
'8': '2rem',
'10': '2.5rem',
'12': '3rem',
'16': '4rem'
},
minHeight: {
'12': '3rem'
2021-09-01 20:07:11 -05:00
}
}
},
plugins: [],
}