Files
vibetorrent/frontend/tailwind.config.js
spinline ea99ac62bc
All checks were successful
Build MIPS Binary / build (push) Successful in 5m17s
fix: install tailwindcss-animate and add to config to enable toast animations
2026-02-11 19:33:16 +03:00

33 lines
633 B
JavaScript

const path = require("path");
const os = require("os");
// Cargo registry'deki leptos-shadcn crate'lerini Tailwind'e taratmak için
const cargoRegistry = path.join(
os.homedir(),
".cargo/registry/src/*/leptos-shadcn-*/src/**/*.rs"
);
/** @type {import('tailwindcss').Config} */
module.exports = {
darkMode: "class",
content: [
"./index.html",
"./src/**/*.{rs,html}",
cargoRegistry,
],
theme: {
extend: {
colors: {
gray: {
900: "#111827",
800: "#1f2937",
700: "#374151",
},
},
},
},
plugins: [
require("tailwindcss-animate"),
],
};