Skip to content

Commit 229c5bf

Browse files
fix: header navigation current link styles (#755)
1 parent fa0ae27 commit 229c5bf

2 files changed

+4
-2
lines changed

manon/header-navigation-link-focus-variables.scss

+4
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@
1111
"header-navigation-link-focus-",
1212
"navigation-link-focus-"
1313
);
14+
@include link.styling-variables(
15+
"header-navigation-current-link-focus-",
16+
"header-navigation-link-focus-"
17+
);
1418

1519
/* Link focus outline */
1620
@include outline.outline-variables("header-navigation-link-focus-", initial);

manon/header-navigation-link-focus.scss

-2
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,6 @@ body > header,
2929

3030
a[aria-current="page"],
3131
a[aria-current="page"]:visited {
32-
@extend %header-navigation-current-link-focus-styling;
33-
3432
&:focus {
3533
@extend %header-navigation-current-link-focus-styling;
3634
@extend %header-navigation-link-focus-outline;

0 commit comments

Comments
 (0)