revert fb8e77bb68
Local Build and Deploy / deploy (push) Successful in 1m11s
Local Build and Deploy / deploy (push) Successful in 1m11s
revert style: clean up code with prettier and eslint
This commit is contained in:
1 parent
27de078f54
commit
e85e4d74ea
378 files changed
+20710
-22428
No files matched your search
+15
-39
@@ -318,49 +318,25 @@ const LEGACY_PALETTES: Record<string, Partial<ThemePalette>> = {
|
||||
};
|
||||
|
||||
const LIGHT_BASE: ThemePalette = {
|
||||
color_primary: "#f59e0b",
|
||||
color_background: "#f8fafc",
|
||||
color_surface: "#ffffff",
|
||||
color_dropdown: "#ffffff",
|
||||
color_navbar: "#ffffff",
|
||||
color_navbar_text: "#1e293b",
|
||||
color_text: "#0f172a",
|
||||
color_text_muted: "#64748b",
|
||||
color_accent: "#10b981",
|
||||
color_success: "#16a34a",
|
||||
color_warning: "#eab308",
|
||||
color_error: "#ef4444",
|
||||
color_info: "#0ea5e9",
|
||||
button_primary_color: "#f59e0b",
|
||||
button_text_color: "#1e293b",
|
||||
button_secondary_color: "#22c55e",
|
||||
button_secondary_text_color: "#ffffff",
|
||||
button_danger_color: "#ef4444",
|
||||
button_danger_text_color: "#ffffff",
|
||||
button_outline_color: "#eeb425",
|
||||
button_outline_text_color: "#1a1a2e",
|
||||
link_color: "#b77900",
|
||||
link_hover_color: "#8a5b00",
|
||||
border_color: "#eeb425",
|
||||
gradient_from: "#f59e0b",
|
||||
gradient_to: "#10b981",
|
||||
color_primary: "#f59e0b", color_background: "#f8fafc", color_surface: "#ffffff",
|
||||
color_dropdown: "#ffffff", color_navbar: "#ffffff", color_navbar_text: "#1e293b",
|
||||
color_text: "#0f172a", color_text_muted: "#64748b", color_accent: "#10b981",
|
||||
color_success: "#16a34a", color_warning: "#eab308", color_error: "#ef4444",
|
||||
color_info: "#0ea5e9", button_primary_color: "#f59e0b", button_text_color: "#1e293b",
|
||||
button_secondary_color: "#22c55e", button_secondary_text_color: "#ffffff",
|
||||
button_danger_color: "#ef4444", button_danger_text_color: "#ffffff",
|
||||
button_outline_color: "#eeb425", button_outline_text_color: "#1a1a2e",
|
||||
link_color: "#b77900", link_hover_color: "#8a5b00", border_color: "#eeb425",
|
||||
gradient_from: "#f59e0b", gradient_to: "#10b981",
|
||||
};
|
||||
|
||||
const DARK_BASE: ThemePalette = {
|
||||
...LIGHT_BASE,
|
||||
color_background: "#0b0d14",
|
||||
color_surface: "#141820",
|
||||
color_dropdown: "#1d222b",
|
||||
color_navbar: "#141820",
|
||||
color_navbar_text: "#e5e7eb",
|
||||
color_text: "#e5e7eb",
|
||||
color_text_muted: "#94a3b8",
|
||||
button_text_color: "#0b0d14",
|
||||
button_secondary_text_color: "#08130b",
|
||||
button_danger_text_color: "#160606",
|
||||
button_outline_text_color: "#f8fafc",
|
||||
link_color: "#f6c453",
|
||||
link_hover_color: "#ffe08a",
|
||||
color_background: "#0b0d14", color_surface: "#141820", color_dropdown: "#1d222b",
|
||||
color_navbar: "#141820", color_navbar_text: "#e5e7eb", color_text: "#e5e7eb",
|
||||
color_text_muted: "#94a3b8", button_text_color: "#0b0d14",
|
||||
button_secondary_text_color: "#08130b", button_danger_text_color: "#160606",
|
||||
button_outline_text_color: "#f8fafc", link_color: "#f6c453", link_hover_color: "#ffe08a",
|
||||
};
|
||||
|
||||
const DARK_FIRST = new Set(["Midnight", "Galaxy", "Cyberpunk", "Neon", "Dusk"]);
|
||||
|
||||
Reference in new issue
Block a user