feat: color theme black predominant

This commit is contained in:
siyue
2025-02-01 11:08:55 +08:00
committed by qingchen
parent 8d83434059
commit eec6379078
2 changed files with 13 additions and 15 deletions
@@ -204,6 +204,7 @@ export function SidePanel() {
</div>
<motion.input
type="color"
value={themeColor}
onChange={(e) => debouncedSetColor(e.target.value)}
className="w-[40px] h-[40px] rounded-lg cursor-pointer overflow-hidden hover:scale-105 transition-transform"
/>
+12 -15
View File
@@ -147,21 +147,18 @@ export interface CustomItem {
}
export const THEME_COLORS = [
"#2563eb",
"#059669",
"#7c3aed",
"#e11d48",
"#d97706",
"#0891b2",
"#4f46e5",
"#0d9488",
"#0284c7",
"#6d28d9",
"#c026d3",
"#ea580c",
"#65a30d",
"#475569",
"#dc2626",
"#000000",
"#1A1A1A",
"#333333",
"#4D4D4D",
"#666666",
"#808080",
"#999999",
"#0047AB",
"#8B0000",
"#FF4500",
"#4B0082",
"#2E8B57",
];
export interface MenuSection {