Add dracula version fixed #23

This commit is contained in:
vinceliuice
2022-02-15 16:51:51 +08:00
parent 9aebfec62c
commit 11ec9a9a8d
5046 changed files with 14910 additions and 58751 deletions

View File

@@ -1332,7 +1332,11 @@ searchbar > revealer > box {
}
.background.csd & {
box-shadow: inset 0 1px highlight($titlebar), inset 0 -1px $border;
@if $rimless == 'false' and $variant == 'dark' {
box-shadow: inset 0 -1px $border;
} @else {
box-shadow: inset 0 1px highlight($titlebar), inset 0 -1px $border;
}
}
// workaround for non-animatable buttons
@@ -2204,7 +2208,7 @@ switch {
color: transparent;
&:checked {
background-color: $primary;
background-color: $assets-color;
}
&:disabled { opacity: 0.5; }
@@ -2302,22 +2306,22 @@ radio {
}
&:checked, &:indeterminate {
color: on($primary);
background-color: $primary;
color: on($assets-color);
background-color: $assets-color;
&:hover {
box-shadow: 0 0 0 6px rgba($primary, 0.15);
background-color: lighten($primary, 10%);
box-shadow: 0 0 0 6px rgba($assets-color, 0.15);
background-color: lighten($assets-color, 10%);
}
&:active {
box-shadow: 0 0 0 6px rgba($primary, 0.20);
background-color: $primary;
box-shadow: 0 0 0 6px rgba($assets-color, 0.20);
background-color: $assets-color;
}
&:disabled {
color: on($primary, disabled);
background-color: rgba($primary, 0.35);
color: on($assets-color, disabled);
background-color: rgba($assets-color, 0.35);
}
}
@@ -2417,8 +2421,8 @@ treeview.view {
&:selected, &:selected:focus {
radio, check {
&:checked, &:indeterminate {
background-color: $primary;
color: on($primary);
background-color: $assets-color;
color: on($assets-color);
background-image: none;
}
}
@@ -3764,7 +3768,7 @@ decoration {
color: transparent;
&:hover, &:active {
color: on($applet-primary);
color: if($colorscheme != 'dracula', white, rgba(black, 0.5));
}
&:backdrop {