adjust colors to movie-web

This commit is contained in:
Jorrin
2024-03-08 21:53:03 +01:00
parent 7e035e823a
commit ad2c84950a
29 changed files with 1537 additions and 167 deletions

View File

@@ -1,14 +1,22 @@
import type { Config } from "tailwindcss";
import themer from "tailwindcss-themer";
import base from "./base";
import colors from "./colors";
import { allThemes, defaultTheme, safeThemeList } from "./themes";
export default {
content: base.content,
presets: [base],
theme: {
extend: {
colors,
},
},
content: ["src/**/*.{ts,tsx}"],
safelist: safeThemeList,
plugins: [
themer({
defaultTheme,
themes: [
{
name: "default",
selectors: [".theme-default"],
...defaultTheme,
},
...allThemes,
],
}),
],
} satisfies Config;