Make text more readable in dark mode

This commit is contained in:
Andrea Cappuccio 2024-03-05 15:10:05 +01:00 committed by GitHub
parent b4ca02da86
commit 15f50553e9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 11 additions and 0 deletions

View file

@ -107,6 +107,10 @@ export default defineComponent({
&.bg-app-toggle {
color: $accent !important;
}
.body--dark &.bg-app-toggle {
color: lighten($accent, 25%) !important;
}
}
}
:deep(.bar-search) {

View file

@ -173,23 +173,30 @@ body {
.body--dark .app-chip {
&-accent, &-rule {
background-color: rgba($accent, 0.25);
color: lighten($accent, 25%);
}
&-green, &-entry-points {
background-color: rgba($app-text-green, 0.25);
color: lighten($app-text-green, 25%);
}
&-purple, &-name {
background-color: rgba($app-text-purple, 0.25);
color: lighten($app-text-purple, 25%);
}
&-warning, &-service {
background-color: rgba($warning, 0.25);
color: lighten($warning, 25%);
}
&-negative, &-error {
background-color: rgba($negative, 0.25);
color: lighten($negative, 25%);
}
&-green-2, &-options {
background-color: rgba($app-text-green-2, 0.25);
color: lighten($app-text-green-2, 25%);
}
&-marine, &-interval {
background-color: rgba($app-text-grey, 0.25);
color: lighten($app-text-grey, 25%);
}
}