Merge branch 'master' of philippdormann/uptime-kuma into philippdormann/uptime-kuma->feature/darkmode

darkmode based on css variables. ref https://github.com/louislam/uptime-kuma/issues/21
This commit is contained in:
Philipp Dormann
2021-07-12 22:21:19 +02:00
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>