Files
clan-core/pkgs/webview-ui/app/tailwind/core-plugin.ts
Johannes Kirschbauer e8f39d7431 UI/tailwind: fix preflight
2024-11-19 10:36:53 +01:00

17 lines
358 B
TypeScript

import plugin from "tailwindcss/plugin";
import { typography } from "./typography";
import theme from "tailwindcss/defaultTheme";
export default plugin.withOptions(
(_options = {}) =>
() => {
// add more base styles
},
// add configuration which is merged with the final config
() => ({
theme: {
...typography,
},
}),
);