refactor(tree-wide): use deno fmt, rename files to .user.less (#1544)
This commit is contained in:
1 parent
544db57f4e
commit
4e271e0bf5
256 files changed
+63157
-61481
No files matched your search
@@ -14,10 +14,10 @@ import stylelintConfig from "../../.stylelintrc.js";
|
||||
|
||||
const args = parseArgs(Deno.args, { boolean: ["fix"] });
|
||||
const userstyle = args._[0]?.toString().match(
|
||||
/(?<base>styles\/)?(?<userstyle>[a-z0-9_\.]+)(?<trailing>\/)?(?<file>catppuccin\.user\.css)?/,
|
||||
/(?<base>styles\/)?(?<userstyle>[a-z0-9_\.]+)(?<trailing>\/)?(?<file>catppuccin\.user\.less)?/,
|
||||
)?.groups?.userstyle;
|
||||
const stylesheets = userstyle
|
||||
? [path.join(REPO_ROOT, "styles", userstyle, "catppuccin.user.css")]
|
||||
? [path.join(REPO_ROOT, "styles", userstyle, "catppuccin.user.less")]
|
||||
: getUserstylesFiles();
|
||||
|
||||
const { userstyles } = getUserstylesData();
|
||||
|
||||
Reference in new issue
Block a user