bootstrap-with-tailwind/tailwind.config.cjs

37 lines
801 B
JavaScript
Raw Normal View History

2023-01-09 12:00:00 +00:00
const colors = require("tailwindcss/colors");
2023-01-09 12:00:00 +00:00
const plugin = require("tailwindcss/plugin");
2023-01-09 09:21:55 +00:00
/** @type {import('tailwindcss').Config} */
module.exports = {
2023-01-09 12:00:00 +00:00
content: ["./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}"],
2023-01-09 12:00:00 +00:00
theme: {
extend: {
colors: {
gray: {
750: "#343a40",
...colors.neutral,
},
2023-01-09 12:00:00 +00:00
},
fontFamily: {
sans: [
"-apple-system",
"BlinkMacSystemFont",
"Segoe UI",
"Roboto",
"Helvetica Neue",
"Arial",
"sans-serif",
"Apple Color Emoji",
"Segoe UI Emoji",
"Segoe UI Symbol",
],
},
2023-01-09 12:00:00 +00:00
},
},
plugins: [
plugin(({ addVariant }) => {
2023-01-09 12:00:00 +00:00
addVariant("hocus", ["&:hover", "&:focus"]);
2023-01-09 12:00:00 +00:00
}),
],
2023-01-09 12:00:00 +00:00
};