Skip to content

Commit

Permalink
Use PST colors for backtotop
Browse files Browse the repository at this point in the history
  • Loading branch information
jarrodmillman committed Mar 4, 2024
1 parent 8edd54b commit 91acf8d
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions assets/theme-css/backtotop.css
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@
display: block;
width: 46px;
height: 46px;
background-color: #66676b;
background-color: var(
--pst-color-link
); /* may want something like #35293 --pst-semantic-teal-dark ?*/
opacity: 1;
transition: all 0.3s;
border-radius: 50%;
Expand All @@ -36,7 +38,7 @@
}
body #backtotop a {
outline: none;
color: #fff;
color: var(--colorSecondary);
}
#backtotop a:after {
outline: none;
Expand All @@ -48,5 +50,5 @@ body #backtotop a {
transform: translateY(-55%);
}
#backtotop.visible #backtotop-color:hover {
background: var(--colorYellow);
background: var(--pst-color-link-hover);
}

0 comments on commit 91acf8d

Please sign in to comment.