bootstrap-with-tailwind/tailwind.config.cjs

23 lines
482 B
JavaScript

const colors = require('tailwindcss/colors');
const plugin = require("tailwindcss/plugin");
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ['./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}'],
theme: {
extend: {
colors: {
gray: {
750: "#343a40",
...colors.neutral,
},
}
},
},
plugins: [
plugin(({ addVariant }) => {
addVariant('hocus', ['&:hover', '&:focus'])
}),
],
}