chore: update css lint rules, remove unused files

This commit is contained in:
2026-09-08 06:20:25 +05:00
parent 6f1771cb07
commit 5a4fbe7ac6
22 changed files with 89 additions and 909 deletions
+13 -1
View File
@@ -1,5 +1,17 @@
import postcssHct from "./scripts/postcss-hct.mjs";
import postcssGlobalData from "@csstools/postcss-global-data";
import postcssCustomMedia from "postcss-custom-media";
export default {
plugins: [postcssHct],
plugins: [
// Breakpoints live only in preview.css (next to the --bp-* tokens);
// global-data injects them so @media (--bp-*) expands in every file.
postcssGlobalData({
files: ["src/preview.css"],
}),
postcssCustomMedia({
preserve: false,
}),
postcssHct,
],
};