Skip to content

Commit

Permalink
Tweak link colours
Browse files Browse the repository at this point in the history
  • Loading branch information
ahosgood committed Nov 22, 2023
1 parent ec7cdf4 commit 8346ece
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
1 change: 1 addition & 0 deletions .storybook/storybook.scss
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,7 @@
border-bottom: rgb(0 0 0/0.25) 1px solid;

&:first-child {
min-width: 7rem;
padding: 1rem;

@include typography.relative-font-size(14);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1257,7 +1257,7 @@ const CombinationsTemplate = () => {
.replace(/-theme/g, "")}</strong></p>
<p>Accent: <strong>${
accent.replace(/tna-template--/g, "").replace(/-accent/g, "") ||
"No accent"
"[none]"
}</strong></p>
</div>
${blocks.reduce(
Expand All @@ -1266,7 +1266,7 @@ const CombinationsTemplate = () => {
<div class="tna-template__body">
<div class="tna-colour-contrast-demo__example-content ${block}">
<p>Text</p>
<p><a href="#">Link</a> / <a href="#" class="tna-colour-contrast-demo__link--visited">Link (visited)</a></p>
<p><a href="#"><strong>Link</strong></a> / <a href="#" class="tna-colour-contrast-demo__link--visited"><strong>Link (visited)</strong></a></p>
<span class="tna-chip">Chip</span>
<div class="tna-button-group">
${Button({
Expand Down
3 changes: 1 addition & 2 deletions src/nationalarchives/variables/_colour.scss
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,7 @@ $colour-palette-brand: (

$dark-grey: #26262a;
$base-font: #343338 !default;
// $link-colour: brand-colour("navy") !default;
$link-colour: #14659f !default;
$link-colour: #0062a8 !default;
$link-colour-visited: #4c2c92 !default;

/*
Expand Down

0 comments on commit 8346ece

Please sign in to comment.