cannery/assets/tailwind.config.js

56 lines
987 B
JavaScript
Raw Normal View History

2021-03-11 21:12:55 -05:00
const colors = require('tailwindcss/colors')
module.exports = {
purge: [
'../lib/**/*.ex',
'../lib/**/*.heex',
2021-03-11 21:12:55 -05:00
'../lib/**/*.leex',
'../lib/**/*.eex',
'./js/**/*.js'
],
2022-01-23 00:02:25 -05:00
darkMode: 'media',
2021-03-11 21:12:55 -05:00
theme: {
colors: {
transparent: 'transparent',
current: 'currentColor',
2022-01-23 00:02:25 -05:00
2021-09-02 23:31:12 -04:00
primary: colors.gray,
2022-01-23 00:02:25 -05:00
2021-03-11 21:12:55 -05:00
black: colors.black,
white: colors.white,
gray: colors.trueGray,
indigo: colors.indigo,
red: colors.rose,
2022-01-23 00:02:25 -05:00
yellow: colors.amber
2021-03-11 21:12:55 -05:00
},
extend: {
spacing: {
128: '32rem',
192: '48rem',
256: '64rem'
},
minWidth: {
4: '1rem',
8: '2rem',
12: '3rem',
16: '4rem',
20: '8rem'
},
maxWidth: {
4: '1rem',
8: '2rem',
12: '3rem',
16: '4rem',
20: '8rem'
}
}
2021-03-11 21:12:55 -05:00
},
variants: {
extend: {
backgroundColor: ['active'],
2022-01-23 00:02:25 -05:00
borderColor: ['active']
}
2021-03-11 21:12:55 -05:00
},
2022-01-23 00:02:25 -05:00
plugins: []
2021-03-11 21:12:55 -05:00
}