chore: theme colors to uppercase

This commit is contained in:
dongchengjie 2024-06-05 14:20:24 +08:00
parent 0bf8807b50
commit 05b1de6fd5

View File

@ -4,14 +4,14 @@ const OS = getSystem();
// default theme setting // default theme setting
export const defaultTheme = { export const defaultTheme = {
primary_color: "#007AFF", primary_color: "#007AFF",
secondary_color: "#fc9b76", secondary_color: "#FC9B76",
primary_text: "#000000", primary_text: "#000000",
secondary_text: "#3c3c4399", secondary_text: "#3C3C4399",
info_color: "#007AFF", info_color: "#007AFF",
error_color: "#FF3B30", error_color: "#FF3B30",
warning_color: "#FF9500", warning_color: "#FF9500",
success_color: "#06943D", success_color: "#06943D",
background_color: "#f5f5f5", background_color: "#F5F5F5",
font_family: `-apple-system, BlinkMacSystemFont,"Microsoft YaHei UI", "Microsoft YaHei", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji"${ font_family: `-apple-system, BlinkMacSystemFont,"Microsoft YaHei UI", "Microsoft YaHei", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji"${
OS === "windows" ? ", twemoji mozilla" : "" OS === "windows" ? ", twemoji mozilla" : ""
}`, }`,
@ -22,9 +22,9 @@ export const defaultDarkTheme = {
...defaultTheme, ...defaultTheme,
primary_color: "#0A84FF", primary_color: "#0A84FF",
secondary_color: "#FF9F0A", secondary_color: "#FF9F0A",
primary_text: "#ffffff", primary_text: "#FFFFFF",
background_color: "#2e303d", background_color: "#2E303D",
secondary_text: "#ebebf599", secondary_text: "#EBEBF599",
info_color: "#0A84FF", info_color: "#0A84FF",
error_color: "#FF453A", error_color: "#FF453A",
warning_color: "#FF9F0A", warning_color: "#FF9F0A",