feat: support theme setting

This commit is contained in:
GyDi
2022-03-31 23:38:00 +08:00
parent 3ec2b46d28
commit f9a96ff914
5 changed files with 317 additions and 49 deletions

12
src/pages/_theme.tsx Normal file
View File

@@ -0,0 +1,12 @@
// default theme setting
export const defaultTheme = {
primary_color: "#5b5c9d",
secondary_color: "#9c27b0",
primary_text: "#637381",
secondary_text: "#909399",
info_color: "#0288d1",
error_color: "#d32f2f",
warning_color: "#ed6c02",
success_color: "#2e7d32",
font_family: `"Roboto", "Helvetica", "Arial", sans-serif`,
};