Drive light and dark from one token table so Tailwind utilities follow :root.dark assignments. Drop the leftover dark: color variants and the [class~="…"] inversion layer, and keep PDF paper as a white surface.
14 lines
294 B
JavaScript
14 lines
294 B
JavaScript
import path from "node:path";
|
|
import { fileURLToPath } from "node:url";
|
|
|
|
const configDirectory = path.dirname(fileURLToPath(import.meta.url));
|
|
|
|
export default {
|
|
plugins: {
|
|
tailwindcss: {
|
|
config: path.join(configDirectory, "tailwind.config.ts"),
|
|
},
|
|
autoprefixer: {},
|
|
},
|
|
};
|