2025-05-06 18:21:41 -04:00
|
|
|
import "vuetify/styles";
|
2023-08-21 01:51:35 -04:00
|
|
|
import "@mdi/font/css/materialdesignicons.css";
|
2025-05-06 18:21:41 -04:00
|
|
|
import type { ThemeDefinition } from "vuetify/lib/composables/theme";
|
|
|
|
|
import { createVuetify } from "vuetify";
|
2023-08-21 01:51:35 -04:00
|
|
|
|
2025-05-06 18:21:41 -04:00
|
|
|
const commonColors = {
|
2025-01-07 08:45:39 -05:00
|
|
|
error: "#b80000",
|
2023-08-31 16:56:58 -04:00
|
|
|
info: "#2196F3",
|
|
|
|
|
success: "#4CAF50",
|
|
|
|
|
warning: "#FFC107"
|
2025-05-06 18:21:41 -04:00
|
|
|
};
|
2023-08-21 01:51:35 -04:00
|
|
|
|
2025-05-06 18:21:41 -04:00
|
|
|
const DarkTheme: ThemeDefinition = {
|
|
|
|
|
dark: true,
|
|
|
|
|
colors: {
|
|
|
|
|
primary: "#006492",
|
|
|
|
|
secondary: "#39A4D5",
|
|
|
|
|
accent: "#FFD843",
|
|
|
|
|
background: "#232C37",
|
|
|
|
|
...commonColors
|
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
const LightTheme: ThemeDefinition = {
|
|
|
|
|
dark: false,
|
|
|
|
|
colors: {
|
|
|
|
|
background: "#232C37",
|
|
|
|
|
primary: "#006492",
|
|
|
|
|
surface: "#006492",
|
|
|
|
|
secondary: "#39A4D5",
|
|
|
|
|
"surface-variant": "#358AB0",
|
|
|
|
|
accent: "#FFD843",
|
|
|
|
|
"surface-light": "#FFD843",
|
|
|
|
|
...commonColors
|
|
|
|
|
},
|
|
|
|
|
variables: {
|
|
|
|
|
"medium-emphasis-opacity": 1,
|
|
|
|
|
"high-emphasis-opacity": 1
|
|
|
|
|
}
|
|
|
|
|
};
|
2023-08-21 01:51:35 -04:00
|
|
|
|
2025-05-06 18:21:41 -04:00
|
|
|
export default createVuetify({
|
2023-08-31 16:56:58 -04:00
|
|
|
theme: {
|
2025-05-06 18:21:41 -04:00
|
|
|
defaultTheme: "LightTheme",
|
2023-08-31 16:56:58 -04:00
|
|
|
themes: {
|
2025-05-06 18:21:41 -04:00
|
|
|
LightTheme: LightTheme,
|
|
|
|
|
DarkTheme: DarkTheme
|
2023-08-31 16:56:58 -04:00
|
|
|
}
|
|
|
|
|
},
|
2025-05-06 18:21:41 -04:00
|
|
|
display: {
|
2023-08-31 16:56:58 -04:00
|
|
|
thresholds: {
|
|
|
|
|
md: 1460,
|
|
|
|
|
lg: 2000
|
2023-08-21 01:51:35 -04:00
|
|
|
}
|
2023-08-31 16:56:58 -04:00
|
|
|
}
|
2023-08-21 01:51:35 -04:00
|
|
|
});
|