refactor: Upgrade to the new UI (#521)

Co-authored-by: MystiPanda <mystipanda@proton.me>
This commit is contained in:
Amnesiash
2024-03-09 21:37:21 +08:00
committed by GitHub
parent ab539081fa
commit 3a0429d049
39 changed files with 533 additions and 182 deletions

View File

@@ -3,15 +3,15 @@ const OS = getSystem();
// default theme setting
export const defaultTheme = {
primary_color: "#1867c0",
secondary_color: "#3a88bb",
primary_text: "#1d1d1f",
secondary_text: "#424245",
info_color: "#0288d1",
error_color: "#d32f2f",
warning_color: "#ed6c02",
success_color: "#2e7d32",
background_color: "#ffffff",
primary_color: "#007AFF",
secondary_color: "#FFCC00",
primary_text: "#000000",
secondary_text: "rgba(60, 60, 67, 0.60)",
info_color: "#007AFF",
error_color: "#FF3B30",
warning_color: "#FF9500",
success_color: "#34C759",
background_color: "#f5f5f5",
font_family: `"Roboto", "Helvetica", "Arial", sans-serif, ${
OS === "windows" ? "twemoji mozilla" : ""
}`,
@@ -20,7 +20,13 @@ export const defaultTheme = {
// dark mode
export const defaultDarkTheme = {
...defaultTheme,
primary_text: "#E8E8ED",
background_color: "#181818",
secondary_text: "#bbbbbb",
primary_color: "#0A84FF",
secondary_color: "#FF9F0A",
primary_text: "#ffffff",
background_color: "#2e303d",
secondary_text: "rgba(235, 235, 245, 0.60)",
info_color: "#0A84FF",
error_color: "#FF453A",
warning_color: "#FF9F0A",
success_color: "#30D158",
};