release: 1.4.2, tweak UI, fix emoji on mac

This commit is contained in:
wonfen
2023-12-03 14:01:53 +08:00
parent 290a024a9e
commit 20d580ade8
14 changed files with 69 additions and 48 deletions

View File

@@ -1,3 +1,6 @@
import getSystem from "@/utils/get-system";
const OS = getSystem();
// default theme setting
export const defaultTheme = {
primary_color: "#1867c0",
@@ -9,7 +12,9 @@ export const defaultTheme = {
warning_color: "#ed6c02",
success_color: "#2e7d32",
background_color: "#ffffff",
font_family: `"Roboto", "Helvetica", "Arial", sans-serif, "twemoji mozilla"`,
font_family: `"Roboto", "Helvetica", "Arial", sans-serif, ${
OS === "windows" ? "twemoji mozilla" : ""
}`,
};
// dark mode