1
1
mirror of https://github.com/primer/css.git synced 2025-01-07 14:58:54 +03:00

Merge branch 'mkt/color-modes-whee' of https://github.com/primer/css into mkt/color-modes-whee

This commit is contained in:
simurai 2020-11-23 16:45:57 +09:00
commit b2b5a01917
4 changed files with 9 additions and 10 deletions

6
package-lock.json generated
View File

@ -3499,9 +3499,9 @@
}
},
"@primer/primitives": {
"version": "0.0.0-20201019125449",
"resolved": "https://registry.npmjs.org/@primer/primitives/-/primitives-0.0.0-20201019125449.tgz",
"integrity": "sha512-tI9CfIlmvZx/0zB/bTEG6xxNiWw5vJ4ystTb0auWco5dvnBzvOENuf29WAgFOtjW5mg01xsbleoy3I6Baqt+PQ=="
"version": "0.0.0-20201019154814",
"resolved": "https://registry.npmjs.org/@primer/primitives/-/primitives-0.0.0-20201019154814.tgz",
"integrity": "sha512-ykPpK3Tmet3YLgb206gajuxKlFMQqmltWPAgXz+YgzeuZGxPWR/SdMjwnWr+55E6m4hhA2dZLxIUtu5AsAyvaQ=="
},
"@reach/router": {
"version": "1.3.3",

View File

@ -41,7 +41,7 @@
},
"dependencies": {
"@primer/octicons": "^9.1.1",
"@primer/primitives": "0.0.0-20201019125449"
"@primer/primitives": "0.0.0-20201019154814"
},
"devDependencies": {
"@octokit/rest": "^16.34.0",

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 {