Skip to content

Commit

Permalink
Use color tokens in FourOhFour styles
Browse files Browse the repository at this point in the history
Fixes #1309

Signed-off-by: James Taylor <jamest@uk.ibm.com>
  • Loading branch information
jt-nti authored and eng618 committed Feb 15, 2024
1 parent e4fcaee commit 230d6dc
Showing 1 changed file with 6 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,32 +16,28 @@
animation: gradient 2s ease infinite;
}

:global(.container--dark) .link {
color: $gray-10;
}

.list .link {
@include type-style('body-short-02');
margin-bottom: $spacing-03;
position: relative;
display: inline-block;
transition: color $transition-base;
color: $text-01;
color: $link-primary;
text-decoration: none;
margin-left: $spacing-05;

&:hover {
color: $blue-40;
color: $link-primary-hover;
&::before {
color: $blue-40;
color: $link-primary-hover;
}
}

&:before {
content: '\21B3'; //"↳"
position: absolute;
left: -$spacing-05;
color: $text-01;
color: $link-primary;
transition: color $transition-base;
cursor: pointer;
}
Expand All @@ -62,6 +58,8 @@
}

.container {
background-color: $background;
color: $text-primary;
margin: 0;
max-width: 100%;
min-height: calc(100vh - 455px);
Expand Down

0 comments on commit 230d6dc

Please sign in to comment.