diff --git a/assets/scss/_colors.scss b/assets/scss/_colors.scss index 0cbe62b..4095573 100644 --- a/assets/scss/_colors.scss +++ b/assets/scss/_colors.scss @@ -5,4 +5,10 @@ $light-grey: #494f5c; $dark-grey: #3B3E48; $highlight-grey: #7d828a; $midnightblue: #2c3e50; -$typewriter: hsl(172, 100%, 36%); \ No newline at end of file +$typewriter: hsl(172, 100%, 36%); + +// Scroll to Top Default colors + +$stt-stroke:#CCC; +$stt-circle:#3b3e48; +$stt-arrow:#018574; \ No newline at end of file diff --git a/assets/scss/_scroll.scss b/assets/scss/_scroll.scss index 952832d..48f73e3 100644 --- a/assets/scss/_scroll.scss +++ b/assets/scss/_scroll.scss @@ -1,4 +1,18 @@ -.scroll-up{ +.scroll-up { + .scroll { + #st-ring { + stroke: $stt-stroke; + } + + #st-circle { + fill: $stt-circle; + } + + #st-arrow { + fill: $stt-arrow; + } + } + position: fixed; bottom: 10%; right: 2%; @@ -6,11 +20,13 @@ opacity: 0; transition: all 0.5s ease; } -.hide{ + +.hide { opacity: 0; transform: translateY(20px); } -.show{ + +.show { opacity: 1; transform: translateY(0); - } \ No newline at end of file +} \ No newline at end of file diff --git a/layouts/partials/svg.html b/layouts/partials/svg.html index 03b70eb..124ede3 100644 --- a/layouts/partials/svg.html +++ b/layouts/partials/svg.html @@ -51,7 +51,7 @@ {{- else if (eq .name "author") -}} {{- else if (eq .name "scrollup") -}} - + {{- else if (eq .name "discord") -}} {{- else if (eq .name "etsy") -}}