Skip to content

Commit 0e52ad3

Browse files
authored
Merge pull request #1045 from primer/next-1
More "component refresh" tweaks
2 parents 20f243c + c80466c commit 0e52ad3

File tree

4 files changed

+8
-7
lines changed

4 files changed

+8
-7
lines changed

src/labels/mixins.scss

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
display: inline-block;
99
padding: 0 7px;
1010
font-size: $font-size-small;
11-
font-weight: $font-weight-semibold;
11+
font-weight: $font-weight-normal;
1212
line-height: 18px;
1313
border: $border-width $border-style transparent;
1414
border-radius: 2em;

src/navigation/menu.scss

+2-2
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
&[aria-current] {
5151
cursor: default;
5252
// stylelint-disable-next-line primer/colors
53-
background-color: $orange-000;
53+
background-color: #fff2f0; // custom coral
5454

5555
&::before {
5656
position: absolute;
@@ -60,7 +60,7 @@
6060
width: 2px;
6161
content: "";
6262
// stylelint-disable-next-line primer/colors
63-
background-color: $orange-500;
63+
background-color: #f9826c; // custom coral
6464
}
6565
}
6666

src/navigation/sidenav.scss

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262
// Bar on the left
6363
&::before {
6464
// stylelint-disable-next-line primer/colors
65-
background-color: $orange-500;
65+
background-color: #f9826c; // custom coral
6666
}
6767
}
6868

src/navigation/underline-nav.scss

+4-3
Original file line numberDiff line numberDiff line change
@@ -21,21 +21,22 @@
2121
background-color: transparent;
2222
border: 0;
2323
// stylelint-disable-next-line primer/borders
24-
border-bottom: 2px $border-style transparent;
24+
border-bottom: 2px $border-style rgba($border-gray-dark, 0);
2525
transition: border-bottom-color 0.36s ease-in;
2626

2727
&:hover,
2828
&:focus {
2929
text-decoration: none;
3030
border-bottom-color: $border-gray-dark;
31-
transition: border-bottom-color 0.12s ease-out;
31+
transition-timing-function: ease-out;
32+
transition-duration: 0.12s;
3233
}
3334

3435
&.selected,
3536
&[role=tab][aria-selected=true],
3637
&[aria-current] {
3738
// stylelint-disable-next-line primer/borders
38-
border-bottom-color: $orange-500;
39+
border-bottom-color: #f9826c; // custom coral
3940
}
4041
}
4142

0 commit comments

Comments
 (0)