2020-11-20 12:23:20 +03:00
|
|
|
const colors = require('tailwindcss/colors')
|
|
|
|
|
2020-03-06 12:11:38 +03:00
|
|
|
module.exports = {
|
2020-11-19 15:24:08 +03:00
|
|
|
purge: [
|
|
|
|
'./js/**/*.js',
|
|
|
|
'../lib/plausible_web/templates/**/*.html.eex',
|
|
|
|
],
|
2020-12-16 12:57:28 +03:00
|
|
|
darkMode: 'class',
|
2020-03-06 12:11:38 +03:00
|
|
|
theme: {
|
|
|
|
container: {
|
|
|
|
center: true,
|
|
|
|
padding: '1rem',
|
|
|
|
},
|
2020-03-26 15:22:48 +03:00
|
|
|
extend: {
|
2020-11-20 12:23:20 +03:00
|
|
|
colors: {
|
|
|
|
orange: colors.orange,
|
2021-06-21 14:42:16 +03:00
|
|
|
'gray-950': 'rgb(13, 18, 30)',
|
2020-12-16 12:57:28 +03:00
|
|
|
'gray-850': 'rgb(26, 32, 44)',
|
|
|
|
'gray-825': 'rgb(37, 47, 63)'
|
2020-11-20 12:23:20 +03:00
|
|
|
},
|
2020-03-26 15:22:48 +03:00
|
|
|
spacing: {
|
|
|
|
'44': '11rem'
|
|
|
|
},
|
|
|
|
width: {
|
|
|
|
'31percent': '31%',
|
2022-04-13 10:38:47 +03:00
|
|
|
'content': 'fit-content'
|
2020-12-16 12:57:28 +03:00
|
|
|
},
|
|
|
|
opacity: {
|
|
|
|
'15': '0.15',
|
2020-12-22 16:39:14 +03:00
|
|
|
},
|
|
|
|
zIndex: {
|
|
|
|
'9': 9,
|
2020-12-29 12:00:41 +03:00
|
|
|
},
|
|
|
|
maxWidth: {
|
2021-06-21 14:42:16 +03:00
|
|
|
'2xs': '15rem',
|
2021-02-24 10:50:06 +03:00
|
|
|
'3xs': '12rem',
|
2022-04-13 10:38:47 +03:00
|
|
|
},
|
|
|
|
transitionProperty: {
|
|
|
|
'padding': 'padding',
|
2020-03-26 15:22:48 +03:00
|
|
|
}
|
|
|
|
},
|
2020-03-06 12:11:38 +03:00
|
|
|
},
|
|
|
|
variants: {
|
2020-08-13 13:45:18 +03:00
|
|
|
textColor: ['responsive', 'hover', 'focus', 'group-hover'],
|
2020-12-16 12:57:28 +03:00
|
|
|
display: ['responsive', 'hover', 'focus', 'group-hover'],
|
|
|
|
extend: {
|
|
|
|
textColor: ['dark'],
|
|
|
|
borderWidth: ['dark'],
|
|
|
|
backgroundOpacity: ['dark'],
|
|
|
|
display: ['dark'],
|
2020-12-29 12:00:41 +03:00
|
|
|
cursor: ['hover'],
|
2021-06-16 15:00:07 +03:00
|
|
|
justifyContent: ['responsive'],
|
|
|
|
backgroundColor: ['odd', 'even'],
|
2021-10-12 12:50:24 +03:00
|
|
|
shadow: ['dark']
|
2020-12-16 12:57:28 +03:00
|
|
|
}
|
2020-03-06 12:11:38 +03:00
|
|
|
},
|
2020-03-26 15:22:48 +03:00
|
|
|
plugins: [
|
2020-11-19 15:24:08 +03:00
|
|
|
require('@tailwindcss/forms'),
|
|
|
|
require('@tailwindcss/typography'),
|
|
|
|
require('@tailwindcss/aspect-ratio'),
|
|
|
|
]
|
2020-03-06 12:11:38 +03:00
|
|
|
}
|