Use Tokyo night theme

This commit is contained in:
2025-08-29 21:16:02 -04:00
parent f0e33e6060
commit ce4396dd0d
3 changed files with 42 additions and 17 deletions

View File

@@ -121,6 +121,7 @@ const sortBy = ref([{ key: "score", order: "desc" }]); // Vuetify 3 format
:sort-by="sortColumn" :sort-by="sortColumn"
:sort-desc="!ascending" :sort-desc="!ascending"
v-model:sortBy="sortBy" v-model:sortBy="sortBy"
:items-per-page="25"
> >
<template #item.title="{ item }"> <template #item.title="{ item }">
<a <a

View File

@@ -5,15 +5,31 @@
*/ */
// Styles // Styles
import '@mdi/font/css/materialdesignicons.css' import "@mdi/font/css/materialdesignicons.css";
import 'vuetify/styles' import "vuetify/styles";
const tokyoNight = {
dark: true,
colors: {
background: "#1a1b26",
surface: "#24283b",
primary: "#7aa2f7",
secondary: "#b4f9f8",
accent: "#ff9e64",
error: "#f7768e",
info: "#2ac3de",
success: "#9ece6a",
warning: "#e0af68",
},
};
// Composables // Composables
import { createVuetify } from 'vuetify' import { createVuetify } from "vuetify";
// https://vuetifyjs.com/en/introduction/why-vuetify/#feature-guides // https://vuetifyjs.com/en/introduction/why-vuetify/#feature-guides
export default createVuetify({ export default createVuetify({
theme: { theme: {
defaultTheme: 'system', defaultTheme: "tokyoNight",
themes: { tokyoNight },
}, },
}) });

View File

@@ -9,16 +9,6 @@ html {
-ms-text-size-adjust: 100%; -ms-text-size-adjust: 100%;
} }
a {
color: #96ada5; /**/
}
a:visited {
color: #53514f; /**/
}
a:hover {
color: #d65d03; /**/
}
footer { footer {
background: #212529; background: #212529;
color: white; color: white;
@@ -36,9 +26,27 @@ footer {
} }
.green-score { .green-score {
color: rgb(22, 120, 63) !important; color: rgb(158, 206, 106) !important;
} }
.red-score { .red-score {
color: rgb(175, 21, 21) !important; color: rgb(247, 118, 142) !important;
}
a {
color: var(--v-theme-primary);
}
a:hover {
color: #d65d03;
}
a:visited {
color: #53514f;
}
.v-data-table-header th,
.v-data-table__td,
.v-data-footer {
font-size: 1.2rem;
} }