mirror of
https://github.com/lc-soft/LCUI.git
synced 2026-11-30 16:48:21 +01:00
Manage all built-in widget styles in one stylesheet. `nova` is the default theme; further themes will be added under src/styles.
18 lines
346 B
JavaScript
18 lines
346 B
JavaScript
const formatLcuiCss = {
|
|
postcssPlugin: "format-lcui-css",
|
|
OnceExit(root) {
|
|
root.raws.after = "\n";
|
|
root.each((node) => {
|
|
node.raws.before = "\n";
|
|
node.raws.after = "\n";
|
|
});
|
|
},
|
|
};
|
|
|
|
module.exports = {
|
|
plugins: [
|
|
require("tailwindcss"),
|
|
require("@thedutchcoder/postcss-rem-to-px"),
|
|
formatLcuiCss,
|
|
],
|
|
}; |