homepage/tailwind.config.js

37 lines
1.1 KiB
JavaScript
Raw Permalink Normal View History

2022-08-24 10:44:35 +03:00
/** @type {import('tailwindcss').Config} */
2022-09-21 16:11:48 +03:00
const tailwindForms = require("@tailwindcss/forms");
const tailwindScrollbars = require("tailwind-scrollbar");
2022-08-24 10:44:35 +03:00
module.exports = {
darkMode: "class",
2022-09-25 19:43:47 +03:00
content: [
"./src/pages/**/*.{js,ts,jsx,tsx}",
"./src/components/**/*.{js,ts,jsx,tsx}",
"./src/widgets/**/*.{js,ts,jsx,tsx}",
],
variants: {
extend: {
display: ["group-hover"],
},
},
2022-08-24 10:44:35 +03:00
theme: {
extend: {
2022-08-25 11:14:17 +03:00
colors: {
theme: {
2022-09-21 16:11:48 +03:00
50: "rgb(var(--color-50) / <alpha-value>)",
100: "rgb(var(--color-100) / <alpha-value>)",
200: "rgb(var(--color-200) / <alpha-value>)",
300: "rgb(var(--color-300) / <alpha-value>)",
400: "rgb(var(--color-400) / <alpha-value>)",
500: "rgb(var(--color-500) / <alpha-value>)",
600: "rgb(var(--color-600) / <alpha-value>)",
700: "rgb(var(--color-700) / <alpha-value>)",
800: "rgb(var(--color-800) / <alpha-value>)",
900: "rgb(var(--color-900) / <alpha-value>)",
2022-08-25 11:14:17 +03:00
},
},
2022-08-24 10:44:35 +03:00
},
},
2022-09-21 16:11:48 +03:00
plugins: [tailwindForms, tailwindScrollbars],
};