Skip to content

Commit 66e0b9f

Browse files
committed
Apply changes to focus-visible
1 parent 603511e commit 66e0b9f

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

packages/core/settings/_colours.scss

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,6 @@ $ofh-link-visited-color: #330072;
155155
$ofh-link-active-color: #001F42;
156156
$ofh-link-light-color: #FFF;
157157
$ofh-link-light-hover-color: #F4F4F4;
158-
$ofh-link-light-visited-color: #D8B7DE;
159158
$ofh-link-light-active-color: #FFF;
160159

161160
// Breadcrumb links have their own colours

packages/core/tools/_links.scss

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,21 +47,26 @@
4747
color: $color_ofh-white;
4848

4949
&:visited {
50-
color: $ofh-link-light-visited-color;
50+
color: $color_ofh-white;
5151
}
5252

5353
&:hover {
5454
color: $ofh-link-light-hover-color;
5555
text-decoration: none;
5656
}
5757

58-
&:focus {
58+
&:focus,
59+
&:focus:visited {
5960
color: $color_ofh-white;
6061
outline: $ofh-focus-width solid $color_ofh-white;
6162
outline-offset: $ofh-focus-width;
6263
text-decoration: none;
6364
}
6465

66+
&:focus-visible {
67+
outline: $ofh-focus-width solid $color_ofh-white;
68+
}
69+
6570
&:active {
6671
color: $ofh-link-light-active-color;
6772
}

0 commit comments

Comments
 (0)