This commit is contained in:
vinceliuice 2023-02-12 03:17:35 +08:00
parent eceba96893
commit c46fec61af

View file

@ -3442,7 +3442,7 @@ infobar {
&:backdrop > revealer > box { &:backdrop > revealer > box {
background-color: $base; background-color: $base;
link:link { color: on($primary); } &, link:link, flowboxchild { color: on($primary); }
button { button {
&.text-button:not(:disabled):not(.suggested-action):not(.destructive-action) { color: $primary; } &.text-button:not(:disabled):not(.suggested-action):not(.destructive-action) { color: $primary; }
@ -3455,9 +3455,8 @@ infobar {
& > revealer > box, & > revealer > box,
&:backdrop > revealer > box { &:backdrop > revealer > box {
background-color: $primary; background-color: $primary;
color: on($primary);
link:link { color: on($primary); } &, link:link, flowboxchild { color: on($primary); }
button { button {
&, &:hover, &:focus, &:active, &:checked, &.text-button:not(:disabled) { color: on($primary); } &, &:hover, &:focus, &:active, &:checked, &.text-button:not(:disabled) { color: on($primary); }
@ -3473,9 +3472,8 @@ infobar {
& > revealer > box, & > revealer > box,
&:backdrop > revealer > box { &:backdrop > revealer > box {
background-color: $warning; background-color: $warning;
color: on($warning);
link:link { color: on($warning); } &, link:link, flowboxchild { color: on($warning); }
button { button {
@extend %button-on-dark; @extend %button-on-dark;
@ -3495,7 +3493,7 @@ infobar {
background-color: $error; background-color: $error;
color: on($error); color: on($error);
link:link { color: on($error); } &, link:link, flowboxchild { color: on($error); }
button { button {
&, &:hover, &:focus, &:active, &:checked, &.text-button:not(:disabled) { color: on($error); } &, &:hover, &:focus, &:active, &:checked, &.text-button:not(:disabled) { color: on($error); }