Merge pull request #32 from philippdormann/feature/darkmode

basic darkmode
This commit is contained in:
Louis Lam
2021-07-13 11:58:57 +08:00
committed by GitHub
7 changed files with 87 additions and 21 deletions

View File

@@ -159,7 +159,7 @@ export default {
border-radius: 50rem;
&.empty {
background-color: aliceblue;
background-color: var(--background-ternary);
}
&.down {

View File

@@ -1,5 +1,5 @@
<template>
<span class="badge rounded-pill" :class=" 'bg-' + color ">{{ text }}</span>
<span class="badge rounded-pill" :class="'bg-' + color">{{ text }}</span>
</template>
<script>
@@ -33,7 +33,10 @@ export default {
</script>
<style scoped>
span {
width: 45px;
}
span {
width: 45px;
}
.badge {
color: #0a0a0a;
}
</style>

View File

@@ -57,5 +57,7 @@ export default {
</script>
<style scoped>
.badge{
color: #0a0a0a;
}
</style>