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

32 lines
793 B
JavaScript
Raw Normal View History

let defaultConfig = require('tailwindcss/defaultConfig')
let defaultTheme = 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: {
inherit: 'inherit',
},
2019-03-09 22:46:07 +00:00
fontFamily: {
2019-03-12 07:37:35 +00:00
mono: ['Roboto Mono', ...defaultTheme.fontFamily.mono],
2019-03-09 22:46:07 +00:00
},
spacing: {
'2px': '2px',
},
borderWidth: {
2019-03-12 07:37:28 +00:00
3: '3px',
2019-03-25 23:24:31 +00:00
}
}
2018-05-21 22:16:08 +00:00
},
2018-07-22 22:36:20 +00:00
plugins: [
2019-03-09 22:46:07 +00:00
require('tailwindcss-spaced-items')({ values: defaultTheme.spacing }),
2018-09-04 20:01:35 +00:00
require('tailwindcss-visuallyhidden')(),
2018-12-19 23:47:06 +00:00
require('tailwindcss-skip-link')(),
2019-03-25 23:24:31 +00:00
require('tailwindcss-vuejs')()
2018-07-22 22:36:20 +00:00
],
2019-03-09 22:46:07 +00:00
variants: {
2019-03-12 09:09:06 +00:00
borderStyle: [...defaultConfig.variants.borderStyle, 'hover', 'focus'],
2019-03-25 23:24:31 +00:00
borderWidth: [...defaultConfig.variants.borderStyle, 'hover', 'focus']
}
2017-11-09 22:44:30 +00:00
}