Skip to content

Commit ce4396d

Browse files
committed
Use Tokyo night theme
1 parent f0e33e6 commit ce4396d

File tree

3 files changed

+42
-17
lines changed

3 files changed

+42
-17
lines changed

src/App.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,7 @@ const sortBy = ref([{ key: "score", order: "desc" }]); // Vuetify 3 format
121121
:sort-by="sortColumn"
122122
:sort-desc="!ascending"
123123
v-model:sortBy="sortBy"
124+
:items-per-page="25"
124125
>
125126
<template #item.title="{ item }">
126127
<a

src/plugins/vuetify.js

Lines changed: 21 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,31 @@
55
*/
66

77
// Styles
8-
import '@mdi/font/css/materialdesignicons.css'
9-
import 'vuetify/styles'
8+
import "@mdi/font/css/materialdesignicons.css";
9+
import "vuetify/styles";
10+
11+
const tokyoNight = {
12+
dark: true,
13+
colors: {
14+
background: "#1a1b26",
15+
surface: "#24283b",
16+
primary: "#7aa2f7",
17+
secondary: "#b4f9f8",
18+
accent: "#ff9e64",
19+
error: "#f7768e",
20+
info: "#2ac3de",
21+
success: "#9ece6a",
22+
warning: "#e0af68",
23+
},
24+
};
1025

1126
// Composables
12-
import { createVuetify } from 'vuetify'
27+
import { createVuetify } from "vuetify";
1328

1429
// https://vuetifyjs.com/en/introduction/why-vuetify/#feature-guides
1530
export default createVuetify({
1631
theme: {
17-
defaultTheme: 'system',
32+
defaultTheme: "tokyoNight",
33+
themes: { tokyoNight },
1834
},
19-
})
35+
});

src/theme.css

Lines changed: 20 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,6 @@ html {
99
-ms-text-size-adjust: 100%;
1010
}
1111

12-
a {
13-
color: #96ada5; /**/
14-
}
15-
a:visited {
16-
color: #53514f; /**/
17-
}
18-
a:hover {
19-
color: #d65d03; /**/
20-
}
21-
2212
footer {
2313
background: #212529;
2414
color: white;
@@ -36,9 +26,27 @@ footer {
3626
}
3727

3828
.green-score {
39-
color: rgb(22, 120, 63) !important;
29+
color: rgb(158, 206, 106) !important;
4030
}
4131

4232
.red-score {
43-
color: rgb(175, 21, 21) !important;
33+
color: rgb(247, 118, 142) !important;
34+
}
35+
36+
a {
37+
color: var(--v-theme-primary);
38+
}
39+
40+
a:hover {
41+
color: #d65d03;
42+
}
43+
44+
a:visited {
45+
color: #53514f;
46+
}
47+
48+
.v-data-table-header th,
49+
.v-data-table__td,
50+
.v-data-footer {
51+
font-size: 1.2rem;
4452
}

0 commit comments

Comments
 (0)