Skip to content

Commit 7fcb660

Browse files
Use PST colors for backtotop (#524)
1 parent 836d958 commit 7fcb660

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

assets/theme-css/backtotop.css

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,9 @@
2727
display: block;
2828
width: 46px;
2929
height: 46px;
30-
background-color: #66676b;
30+
background-color: var(
31+
--pst-color-link
32+
); /* may want something like #35293 --pst-semantic-teal-dark ?*/
3133
opacity: 1;
3234
transition: all 0.3s;
3335
border-radius: 50%;
@@ -36,7 +38,7 @@
3638
}
3739
body #backtotop a {
3840
outline: none;
39-
color: #fff;
41+
color: var(--colorSecondary);
4042
}
4143
#backtotop a:after {
4244
outline: none;
@@ -48,5 +50,5 @@ body #backtotop a {
4850
transform: translateY(-55%);
4951
}
5052
#backtotop.visible #backtotop-color:hover {
51-
background: var(--colorYellow);
53+
background: var(--pst-color-link-hover);
5254
}

0 commit comments

Comments
 (0)