0
0
Fork 0

Add forest theme to site

This commit is contained in:
Oliver Akins 2022-12-25 17:12:41 -06:00
parent d74bd2ca8f
commit 0ce3ecfedc
No known key found for this signature in database
GPG key ID: 3C2014AF9457AF99

View file

@ -14,6 +14,7 @@
class="theme-card" class="theme-card"
@click.stop="chosen_theme = theme.filename" @click.stop="chosen_theme = theme.filename"
> >
<hr>
<h3> <h3>
<input <input
:id="'select_theme' + theme.filename" :id="'select_theme' + theme.filename"
@ -69,6 +70,15 @@ export default {
filename: `dark-high-contrast`, filename: `dark-high-contrast`,
description: `This theme is designed to be as high contrast as possible for those who need it.`, description: `This theme is designed to be as high contrast as possible for those who need it.`,
show() { return true }, show() { return true },
},
{
name: `Forest`,
filename: `forest`,
description: `Take a stroll through a nice summer-y forest while browsing your music.`,
show() {
let date = new Date();
return 5 <= date.getMonth() && date.getMonth() <= 8
}
} }
] ]
}}, }},