mirror of
https://github.com/primer/css.git
synced 2025-01-08 15:33:53 +03:00
update underline-nav and flash colors
This commit is contained in:
parent
1c4e71b8ad
commit
3cf2ad89af
6
package-lock.json
generated
6
package-lock.json
generated
@ -2680,9 +2680,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"@primer/primitives": {
|
"@primer/primitives": {
|
||||||
"version": "0.0.0-8efdc39",
|
"version": "0.0.0-5ca9f4b",
|
||||||
"resolved": "https://registry.npmjs.org/@primer/primitives/-/primitives-0.0.0-8efdc39.tgz",
|
"resolved": "https://registry.npmjs.org/@primer/primitives/-/primitives-0.0.0-5ca9f4b.tgz",
|
||||||
"integrity": "sha512-yODGkx5sRddlDtJBHPO/ZIuOF+gkPMLed9MdolYOPfDsJc+iHjkvPN3X78MtoEF2qG2OvLNviqH2lvKlPgQM/w=="
|
"integrity": "sha512-DLdcp7A7cydE6wACsJfYeBeQO9GvrcZiKuRRYNPGN8At1Yxhy0V/23mMoKXEOSzp8r1YKFNH7IKE9qyI1qxsKQ=="
|
||||||
},
|
},
|
||||||
"@reach/router": {
|
"@reach/router": {
|
||||||
"version": "1.3.3",
|
"version": "1.3.3",
|
||||||
|
@ -41,7 +41,7 @@
|
|||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@primer/octicons": "^9.1.1",
|
"@primer/octicons": "^9.1.1",
|
||||||
"@primer/primitives": "0.0.0-8efdc39"
|
"@primer/primitives": "0.0.0-5ca9f4b"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@octokit/rest": "^16.34.0",
|
"@octokit/rest": "^16.34.0",
|
||||||
|
@ -64,13 +64,13 @@
|
|||||||
//
|
//
|
||||||
|
|
||||||
.flash {
|
.flash {
|
||||||
color: var(--color-alert-text);
|
color: var(--color-alert-info-text);
|
||||||
background-color: var(--color-alert-bg);
|
background-color: var(--color-alert-info-bg);
|
||||||
border-color: var(--color-alert-border);
|
border-color: var(--color-alert-info-border);
|
||||||
|
|
||||||
.octicon {
|
.octicon {
|
||||||
// stylelint-disable-next-line primer/colors
|
// stylelint-disable-next-line primer/colors
|
||||||
color: var(--color-alert-icon);
|
color: var(--color-alert-info-icon);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
font-size: $body-font-size;
|
font-size: $body-font-size;
|
||||||
// stylelint-disable-next-line primer/typography
|
// stylelint-disable-next-line primer/typography
|
||||||
line-height: 30px;
|
line-height: 30px;
|
||||||
color: var(--color-underline-nav-text);
|
color: var(--color-underlinenav-text);
|
||||||
text-align: center;
|
text-align: center;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
@ -39,7 +39,7 @@
|
|||||||
&[role=tab][aria-selected=true],
|
&[role=tab][aria-selected=true],
|
||||||
&[aria-current]:not([aria-current=false]) {
|
&[aria-current]:not([aria-current=false]) {
|
||||||
font-weight: $font-weight-bold;
|
font-weight: $font-weight-bold;
|
||||||
color: var(--color-underline-nav-text-active);
|
color: var(--color-underlinenav-text-active);
|
||||||
// stylelint-disable-next-line primer/borders
|
// stylelint-disable-next-line primer/borders
|
||||||
border-bottom-color: #f9826c; // custom coral
|
border-bottom-color: #f9826c; // custom coral
|
||||||
outline: 1px dotted transparent; // Support Firfox custom colors
|
outline: 1px dotted transparent; // Support Firfox custom colors
|
||||||
@ -70,7 +70,7 @@
|
|||||||
.UnderlineNav-octicon {
|
.UnderlineNav-octicon {
|
||||||
margin-right: $spacer-1;
|
margin-right: $spacer-1;
|
||||||
// stylelint-disable-next-line primer/colors
|
// stylelint-disable-next-line primer/colors
|
||||||
color: var(--color-icon-tertiary);
|
color: var(--color-underlinenav-icon);
|
||||||
}
|
}
|
||||||
|
|
||||||
.UnderlineNav .Counter {
|
.UnderlineNav .Counter {
|
||||||
|
Loading…
Reference in New Issue
Block a user