Skip to content

Commit 8541ed1

Browse files
authored
Use variable for the active border of the UnderlineNav (#1472)
* Replace hex with variable * Create rude-rockets-flow.md
1 parent 8088676 commit 8541ed1

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.changeset/rude-rockets-flow.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@primer/css": patch
3+
---
4+
5+
Use variable for the active border of the UnderlineNav

src/navigation/underline-nav.scss

+1-2
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,7 @@
3939
&[aria-current]:not([aria-current=false]) {
4040
font-weight: $font-weight-bold;
4141
color: var(--color-underlinenav-text-active);
42-
// stylelint-disable-next-line primer/borders
43-
border-bottom-color: #f9826c; // custom coral
42+
border-bottom-color: var(--color-underlinenav-border-active);
4443
outline: 1px dotted transparent; // Support Firefox custom colors
4544
outline-offset: -1px;
4645

0 commit comments

Comments
 (0)