Skip to content

Commit

Permalink
Fix ScrollButton color in dark theme
Browse files Browse the repository at this point in the history
  • Loading branch information
Jont828 committed Mar 18, 2024
1 parent cd6d303 commit 33f553c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 2 additions & 2 deletions web/src/components/ScrollButton.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<v-btn
v-show="scrollY > 20"
ref="button"
color="primary"
color="accent"
medium
fab
@click="$vuetify.goTo(0, {
Expand All @@ -13,7 +13,7 @@
easing: 'easeInOutCubic',
})"
>
<v-icon color="white">
<v-icon :color="$vuetify.theme.dark ? 'black' : 'white'">
mdi-chevron-up
</v-icon>
</v-btn>
Expand Down
3 changes: 3 additions & 0 deletions web/src/plugins/vuetify.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ export default new Vuetify({
themes: {
light: {
primary: colors.blue.darken2,
accent: colors.blue.darken1,
background: '#f8f3f2',
legend: {
cluster: colors.blue.darken1,
Expand All @@ -25,6 +26,8 @@ export default new Vuetify({
dark: {
primary: colors.blue.lighten3,
background: '#121212',
info: colors.blue.lighten2,
accent: colors.blue.lighten2,
success: colors.green.lighten3,
warning: colors.orange.lighten2, // OG orange darken 1
error: colors.red.accent1,
Expand Down

0 comments on commit 33f553c

Please sign in to comment.