From cc9a1f595f73f2188199327351fa71b4d68fe82c Mon Sep 17 00:00:00 2001 From: matt Date: Mon, 31 Jan 2022 15:08:30 +0000 Subject: [PATCH] Changed default link styling --- src/stylesheets/base/_typography.scss | 9 +++++++++ src/stylesheets/components/_button.scss | 3 +++ 2 files changed, 12 insertions(+) diff --git a/src/stylesheets/base/_typography.scss b/src/stylesheets/base/_typography.scss index cc1a443..9e4eadb 100644 --- a/src/stylesheets/base/_typography.scss +++ b/src/stylesheets/base/_typography.scss @@ -2,3 +2,12 @@ body { font-family: $text-font-stack; color: $text-colour; } + +a { + color: $primary-colour; + text-decoration: none; + + @include on-event() { + text-decoration: underline; + } +} diff --git a/src/stylesheets/components/_button.scss b/src/stylesheets/components/_button.scss index dfaa752..1d258d6 100644 --- a/src/stylesheets/components/_button.scss +++ b/src/stylesheets/components/_button.scss @@ -8,6 +8,9 @@ filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.25)); transition: background-color .25s; + @include on-event() { + text-decoration: none; + } } @each $name, $colour in $button-colours {