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

let defaultConfig = require('tailwindcss/defaultConfig')
let defaultTheme = require('tailwindcss/defaultTheme')
module.exports = {
theme: {
extend: {
colors: {
inherit: 'inherit',
},
fontFamily: {
mono: ['Roboto Mono', ...defaultTheme.fontFamily.mono],
},
spacing: {
'2px': '2px',
},
borderWidth: {
3: '3px',
}
}
},
plugins: [
require('tailwindcss-spaced-items')({ values: defaultTheme.spacing }),
require('tailwindcss-visuallyhidden')(),
require('tailwindcss-skip-link')(),
require('tailwindcss-vuejs')()
],
variants: {
borderStyle: [...defaultConfig.variants.borderStyle, 'hover', 'focus'],
borderWidth: [...defaultConfig.variants.borderStyle, 'hover', 'focus']
}
}