mirror of
https://github.com/primer/css.git
synced 2025-01-05 21:22:57 +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": {
|
||||
"version": "0.0.0-8efdc39",
|
||||
"resolved": "https://registry.npmjs.org/@primer/primitives/-/primitives-0.0.0-8efdc39.tgz",
|
||||
"integrity": "sha512-yODGkx5sRddlDtJBHPO/ZIuOF+gkPMLed9MdolYOPfDsJc+iHjkvPN3X78MtoEF2qG2OvLNviqH2lvKlPgQM/w=="
|
||||
"version": "0.0.0-5ca9f4b",
|
||||
"resolved": "https://registry.npmjs.org/@primer/primitives/-/primitives-0.0.0-5ca9f4b.tgz",
|
||||
"integrity": "sha512-DLdcp7A7cydE6wACsJfYeBeQO9GvrcZiKuRRYNPGN8At1Yxhy0V/23mMoKXEOSzp8r1YKFNH7IKE9qyI1qxsKQ=="
|
||||
},
|
||||
"@reach/router": {
|
||||
"version": "1.3.3",
|
||||
|
@ -41,7 +41,7 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@primer/octicons": "^9.1.1",
|
||||
"@primer/primitives": "0.0.0-8efdc39"
|
||||
"@primer/primitives": "0.0.0-5ca9f4b"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@octokit/rest": "^16.34.0",
|
||||
|
@ -64,13 +64,13 @@
|
||||
//
|
||||
|
||||
.flash {
|
||||
color: var(--color-alert-text);
|
||||
background-color: var(--color-alert-bg);
|
||||
border-color: var(--color-alert-border);
|
||||
color: var(--color-alert-info-text);
|
||||
background-color: var(--color-alert-info-bg);
|
||||
border-color: var(--color-alert-info-border);
|
||||
|
||||
.octicon {
|
||||
// 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;
|
||||
// stylelint-disable-next-line primer/typography
|
||||
line-height: 30px;
|
||||
color: var(--color-underline-nav-text);
|
||||
color: var(--color-underlinenav-text);
|
||||
text-align: center;
|
||||
white-space: nowrap;
|
||||
background-color: transparent;
|
||||
@ -39,7 +39,7 @@
|
||||
&[role=tab][aria-selected=true],
|
||||
&[aria-current]:not([aria-current=false]) {
|
||||
font-weight: $font-weight-bold;
|
||||
color: var(--color-underline-nav-text-active);
|
||||
color: var(--color-underlinenav-text-active);
|
||||
// stylelint-disable-next-line primer/borders
|
||||
border-bottom-color: #f9826c; // custom coral
|
||||
outline: 1px dotted transparent; // Support Firfox custom colors
|
||||
@ -70,7 +70,7 @@
|
||||
.UnderlineNav-octicon {
|
||||
margin-right: $spacer-1;
|
||||
// stylelint-disable-next-line primer/colors
|
||||
color: var(--color-icon-tertiary);
|
||||
color: var(--color-underlinenav-icon);
|
||||
}
|
||||
|
||||
.UnderlineNav .Counter {
|
||||
|
Loading…
Reference in New Issue
Block a user