1
1
mirror of https://github.com/primer/css.git synced 2025-01-06 14:29:26 +03:00

fix subnav and filter list component selected bg colors

This commit is contained in:
Colin 2020-11-19 12:37:54 -05:00
parent 299b8d8c82
commit 5c39e22059
2 changed files with 5 additions and 6 deletions

View File

@ -43,8 +43,8 @@
&.selected,
&[aria-selected=true],
&[aria-current]:not([aria-current=false]) {
color: var(--color-state-hover-primary-text);
background-color: var(--color-bg-info-inverse);
color: var(--color-state-selected-primary-text);
background-color: var(--color-state-selected-primary-bg);
}
.count {

View File

@ -43,10 +43,9 @@
&[aria-selected=true],
&[aria-current]:not([aria-current=false]) {
z-index: 2;
color: var(--color-state-hover-primary-text);
background-color: var(--color-bg-info-inverse);
// stylelint-disable-next-line primer/borders
border-color: var(--color-auto-blue-6);
color: var(--color-state-selected-primary-text);
background-color: var(--color-state-selected-primary-bg);
border-color: var(--color-state-selected-primary-border);
}
&:first-child {