mirror of
https://codeberg.org/Hyperpipe/Hyperpipe
synced 2025-06-27 20:58:01 +02:00
feat: add a pure black theme
This commit is contained in:
parent
d1ff3d681b
commit
a3bd213a56
3 changed files with 11 additions and 3 deletions
|
@ -22,7 +22,8 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
:root,
|
:root,
|
||||||
body[data-theme='dark'] {
|
body[data-theme='dark'],
|
||||||
|
body[date-theme='black'] {
|
||||||
--color-foreground: var(--vt-c-blue);
|
--color-foreground: var(--vt-c-blue);
|
||||||
--color-background: var(--vt-c-black);
|
--color-background: var(--vt-c-black);
|
||||||
--color-background-soft: var(--vt-c-black-soft);
|
--color-background-soft: var(--vt-c-black-soft);
|
||||||
|
@ -39,6 +40,11 @@ body[data-theme='dark'] {
|
||||||
--color-text: var(--vt-c-text-dark-2);
|
--color-text: var(--vt-c-text-dark-2);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
body[data-theme='black'] {
|
||||||
|
--color-background: #000;
|
||||||
|
--color-background-mute: #181818;
|
||||||
|
}
|
||||||
|
|
||||||
body[data-theme^='light'] {
|
body[data-theme^='light'] {
|
||||||
--color-foreground: cornflowerblue;
|
--color-foreground: cornflowerblue;
|
||||||
--color-background: var(--vt-c-white);
|
--color-background: var(--vt-c-white);
|
||||||
|
|
|
@ -130,6 +130,7 @@ onMounted(() => {
|
||||||
@change="setTheme($event.target.value)">
|
@change="setTheme($event.target.value)">
|
||||||
<option value="dark">{{ t('pref.dark') }}</option>
|
<option value="dark">{{ t('pref.dark') }}</option>
|
||||||
<option value="light">{{ t('pref.light') }}</option>
|
<option value="light">{{ t('pref.light') }}</option>
|
||||||
|
<option value="black">{{ t('pref.black') }}</option>
|
||||||
<option value="blur">{{ t('pref.blur') }}</option>
|
<option value="blur">{{ t('pref.blur') }}</option>
|
||||||
<option value="light blur">{{ t('pref.blur_light') }}</option>
|
<option value="light blur">{{ t('pref.blur_light') }}</option>
|
||||||
<option value="dracula">{{ t('pref.dracula') }}</option>
|
<option value="dracula">{{ t('pref.dracula') }}</option>
|
||||||
|
|
|
@ -47,6 +47,7 @@
|
||||||
"theme": "Theme",
|
"theme": "Theme",
|
||||||
"dark": "Dark (Default)",
|
"dark": "Dark (Default)",
|
||||||
"light": "Light",
|
"light": "Light",
|
||||||
|
"black": "Black",
|
||||||
"blur": "Blur",
|
"blur": "Blur",
|
||||||
"blur_light": "Blur (Light)",
|
"blur_light": "Blur (Light)",
|
||||||
"dracula": "Dracula",
|
"dracula": "Dracula",
|
||||||
|
@ -93,8 +94,8 @@
|
||||||
"lyrics": "Lyrics"
|
"lyrics": "Lyrics"
|
||||||
},
|
},
|
||||||
"statusBar": {
|
"statusBar": {
|
||||||
"currentPlaylist": "Current Playlist",
|
"currentPlaylist": "Current Playlist",
|
||||||
"loop": "Loop",
|
"loop": "Loop",
|
||||||
"add_current_to_playlist": "Add Current Song to a Playlist"
|
"add_current_to_playlist": "Add Current Song to a Playlist"
|
||||||
},
|
},
|
||||||
"general": {
|
"general": {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue