mirror of
https://github.com/PhotonVision/photonvision
synced 2026-06-21 01:01:41 +00:00
- Show 0 clients when NT server props are undefined - Add Prettier --------- Co-authored-by: Matthew Morley <matthew.morley.ca@gmail.com>
45 lines
894 B
TypeScript
45 lines
894 B
TypeScript
import Vue from "vue";
|
|
import Vuetify from "vuetify";
|
|
import "vuetify/dist/vuetify.min.css";
|
|
import "@mdi/font/css/materialdesignicons.css";
|
|
import type { VuetifyThemeVariant } from "vuetify/types/services/theme";
|
|
|
|
Vue.use(Vuetify);
|
|
|
|
const darkTheme: VuetifyThemeVariant = Object.freeze({
|
|
primary: "#006492",
|
|
secondary: "#39A4D5",
|
|
accent: "#FFD843",
|
|
background: "#232C37",
|
|
error: "#FF5252",
|
|
info: "#2196F3",
|
|
success: "#4CAF50",
|
|
warning: "#FFC107"
|
|
});
|
|
|
|
const lightTheme: VuetifyThemeVariant = Object.freeze({
|
|
primary: "#006492",
|
|
secondary: "#39A4D5",
|
|
accent: "#FFD843",
|
|
background: "#232C37",
|
|
error: "#FF5252",
|
|
info: "#2196F3",
|
|
success: "#4CAF50",
|
|
warning: "#FFC107"
|
|
});
|
|
|
|
export default new Vuetify({
|
|
theme: {
|
|
themes: {
|
|
light: lightTheme,
|
|
dark: darkTheme
|
|
}
|
|
},
|
|
breakpoint: {
|
|
thresholds: {
|
|
md: 1460,
|
|
lg: 2000
|
|
}
|
|
}
|
|
});
|