refactor(alpine): restructure components and remove unused utilities for better modularity and maintainability
Theme CD / Package Theme (release) Failing after 13m8s
Theme CD / Release (release) Failing after 14m59s

这个提交包含在:
2026-06-14 08:31:42 +08:00 未验证
父节点 c5fede55b1
当前提交 261c0116ba
修改 45 个文件,包含 4040 行新增737 行删除
+86 -2
查看文件
@@ -1,5 +1,83 @@
/** @type {import('tailwindcss').Config} */
const { Icons } = require("tailwindcss-plugin-icons");
const devcmActivityIcons = [
"folder",
"home",
"search",
"archive",
"script-text",
"article",
"book-open",
"file",
"file-alt",
"file-multiple",
"note",
"notes",
"label",
"label-alt",
"user",
"users",
"contact",
"git-branch",
"git-commit",
"git-merge",
"git-pull-request",
"github",
"link",
"external-link",
"open",
"code",
"command",
"bug",
"debug",
"server",
"cloud",
"monitor",
"device-laptop",
"dashboard",
"analytics",
"chart",
"chart-bar",
"kanban",
"timeline",
"mail",
"message",
"chat",
"comment",
"notification",
"calendar",
"clock",
"bookmark",
"heart",
"lightbulb",
"shield",
"lock",
"image",
"image-gallery",
"camera",
"music",
"video",
"shopping-bag",
"cart",
"wallet",
"map",
"pin",
"flag",
"power",
"upload",
"download",
"edit",
"trash",
"plus",
"close",
"sliders",
"sliders-2",
"visible",
"eye",
"eye-closed",
];
module.exports = {
content: ["./templates/**/*.html", "./src/main.ts"],
theme: {
@@ -12,9 +90,14 @@ module.exports = {
pixelarticons: {
includeAll: true,
},
"radix-icons": {
icons: {
gear: {},
},
},
})),
],
darkMode: ['class', '[data-color-scheme="dark"]'],
darkMode: ["class", '[data-color-scheme="dark"]'],
safelist: [
"prose-sm",
"prose-base",
@@ -26,5 +109,6 @@ module.exports = {
"prose-zinc",
"prose-neutral",
"prose-stone",
...devcmActivityIcons.map((icon) => `i-pixelarticons-${icon}`),
],
};
};