1
1
mirror of https://github.com/primer/css.git synced 2024-12-14 06:44:38 +03:00

Merge branch 'mkt/color-modes-whee' into au-tocomplete-var

This commit is contained in:
simurai 2020-11-02 17:29:40 +09:00
commit 40ef1905ea
5 changed files with 7 additions and 5 deletions

6
package-lock.json generated
View File

@ -2680,9 +2680,9 @@
} }
}, },
"@primer/primitives": { "@primer/primitives": {
"version": "0.0.0-0981f9b", "version": "0.0.0-773ac4d",
"resolved": "https://registry.npmjs.org/@primer/primitives/-/primitives-0.0.0-0981f9b.tgz", "resolved": "https://registry.npmjs.org/@primer/primitives/-/primitives-0.0.0-773ac4d.tgz",
"integrity": "sha512-ph5+Fw0u0BdJIjG91vZaPj9txkToJP1jzlxx5+rVauFnMtab/sfNbUKvR06YTiAlozP37kKvwU1gKqonUuWiHQ==" "integrity": "sha512-MxPORPgId2Zjes44LrPpyu+5LSlFr89yG0ybmmrosfGXn4HHLBhpHZRkDVb4HtTErapkjN0z+IbVZqmvREFbPg=="
}, },
"@reach/router": { "@reach/router": {
"version": "1.3.3", "version": "1.3.3",

View File

@ -41,7 +41,7 @@
}, },
"dependencies": { "dependencies": {
"@primer/octicons": "^9.1.1", "@primer/octicons": "^9.1.1",
"@primer/primitives": "0.0.0-0981f9b" "@primer/primitives": "0.0.0-773ac4d"
}, },
"devDependencies": { "devDependencies": {
"@octokit/rest": "^16.34.0", "@octokit/rest": "^16.34.0",

View File

@ -45,7 +45,7 @@ hr,
overflow: hidden; overflow: hidden;
background: transparent; background: transparent;
border: 0; border: 0;
border-bottom: $border-width $border-style var(--color-border-tertiary); border-bottom: $border-width $border-style var(--color-border-primary);
@include clearfix(); @include clearfix();
} }

View File

@ -48,6 +48,7 @@
&[aria-selected=true], &[aria-selected=true],
&[aria-current]:not([aria-current=false]) { &[aria-current]:not([aria-current=false]) {
cursor: default; cursor: default;
background-color: var(--color-menu-bg-active);
&::before { &::before {
position: absolute; position: absolute;

View File

@ -27,6 +27,7 @@
&:hover, &:hover,
&:focus { &:focus {
color: var(--color-underlinenav-text-hover);
text-decoration: none; text-decoration: none;
border-bottom-color: var(--color-border-tertiary); border-bottom-color: var(--color-border-tertiary);
outline: 1px dotted transparent; // Support Firfox custom colors outline: 1px dotted transparent; // Support Firfox custom colors