scss: fix hardcoded colors

This commit is contained in:
axolotle 2022-10-20 14:44:15 +02:00
parent b193e2d715
commit 7c7ab64e15
5 changed files with 4 additions and 10 deletions

View file

@ -37,7 +37,7 @@ export default {
@include media-breakpoint-up(md) {
margin: .25rem 0;
&:hover {
background-color: rgba(0, 0, 0, 0.05);
background-color: rgba($black, 0.05);
border-radius: 0.2rem;
}
}

View file

@ -39,13 +39,9 @@ export default {
@each $color, $value in $theme-colors {
&.#{$color} {
background-color: $value;
color: $white;
color: color-yiq($value);
}
}
&.warning {
color: $black;
}
}
}
</style>

View file

@ -150,7 +150,7 @@ export default {
padding-top: .5rem;
position: sticky;
top: 0;
background-color: white;
background-color: $white;
}
}
</style>

View file

@ -101,8 +101,6 @@ $b-toast-background-opacity: 100%;
@import '~bootstrap-vue/src/variables';
$body-color: $gray-800;
$hr-border-color: $gray-200;
$list-group-action-color: $gray-800;

View file

@ -178,7 +178,7 @@ body {
.row-line {
@include media-breakpoint-up(md) {
&:hover {
background-color: rgba(0, 0, 0, 0.05);
background-color: rgba($black, 0.05);
border-radius: 0.2rem;
}
}