This repository has been archived on 2025-01-19. You can view files and clone it, but cannot push or open issues or pull requests.
oliverdavies.uk-old-sculpin/tailwind.config.js

37 lines
800 B
JavaScript
Raw Normal View History

const { variants } = require('tailwindcss/defaultConfig')
const { fontFamily, spacing } = require('tailwindcss/defaultTheme')
2017-11-09 22:44:30 +00:00
2019-02-02 00:04:02 +00:00
module.exports = {
2019-03-09 22:46:07 +00:00
theme: {
extend: {
2019-03-25 23:24:31 +00:00
colors: {
2019-05-31 12:19:46 +00:00
inherit: 'inherit'
2019-03-25 23:24:31 +00:00
},
2019-03-09 22:46:07 +00:00
fontFamily: {
2019-05-31 12:19:46 +00:00
mono: ['Roboto Mono', ...fontFamily.mono]
2019-03-09 22:46:07 +00:00
},
spacing: {
2019-05-31 12:19:46 +00:00
'2px': '2px'
2019-03-09 22:46:07 +00:00
},
borderWidth: {
2019-05-31 12:19:46 +00:00
3: '3px'
},
2019-05-31 12:19:35 +00:00
width: {
96: '24rem'
2019-03-25 23:24:31 +00:00
}
}
2018-05-21 22:16:08 +00:00
},
corePlugins: {
container: false
},
2018-07-22 22:36:20 +00:00
plugins: [
require('tailwindcss-spaced-items')({ values: spacing }),
2018-09-04 20:01:35 +00:00
require('tailwindcss-visuallyhidden')(),
2020-01-16 08:32:14 +00:00
require('tailwindcss-skip-link')()
2018-07-22 22:36:20 +00:00
],
2019-03-09 22:46:07 +00:00
variants: {
borderStyle: [...variants.borderStyle, 'hover', 'focus'],
borderWidth: [...variants.borderStyle, 'hover', 'focus']
2019-03-25 23:24:31 +00:00
}
2017-11-09 22:44:30 +00:00
}