mirror of
https://github.com/LukeHagar/better-auth.git
synced 2025-12-11 04:19:31 +00:00
chore: add fumadocs UI tailwind preset with dusk theme
This commit is contained in:
@@ -1,4 +1,5 @@
|
|||||||
import defaultTheme from "tailwindcss/defaultTheme";
|
import defaultTheme from "tailwindcss/defaultTheme";
|
||||||
|
import { createPreset } from "fumadocs-ui/tailwind-plugin";
|
||||||
const colors = require("tailwindcss/colors");
|
const colors = require("tailwindcss/colors");
|
||||||
const {
|
const {
|
||||||
default: flattenColorPalette,
|
default: flattenColorPalette,
|
||||||
@@ -13,7 +14,12 @@ export default {
|
|||||||
"./components/**/*.{ts,tsx}",
|
"./components/**/*.{ts,tsx}",
|
||||||
"./app/**/*.{ts,tsx}",
|
"./app/**/*.{ts,tsx}",
|
||||||
"./content/**/*.{md,mdx}",
|
"./content/**/*.{md,mdx}",
|
||||||
"../node_modules/fumadocs-ui/dist/**/*.js"
|
"../node_modules/fumadocs-ui/dist/**/*.js",
|
||||||
|
],
|
||||||
|
presets: [
|
||||||
|
createPreset({
|
||||||
|
preset: "dusk",
|
||||||
|
}),
|
||||||
],
|
],
|
||||||
plugins: [
|
plugins: [
|
||||||
require("tailwindcss-animate"),
|
require("tailwindcss-animate"),
|
||||||
|
|||||||
Reference in New Issue
Block a user