Skip to content

Commit 929da11

Browse files
Dmitry Sharshakov aka. sh7dmulivz
Dmitry Sharshakov aka. sh7dm
authored andcommitted
fix($plugin-back-to-top): use $accent-color. (close: #1121) (#1122)
1 parent 97faabf commit 929da11

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/@vuepress/plugin-back-to-top/BackToTop.vue

+3-3
Original file line numberDiff line numberDiff line change
@@ -59,19 +59,19 @@ export default {
5959
}
6060
</script>
6161

62-
<style scoped>
62+
<style lang='stylus' scoped>
6363
.go-to-top {
6464
cursor: pointer;
6565
position: fixed;
6666
bottom: 2rem;
6767
right: 2.5rem;
6868
width: 2rem;
69-
color: #72cda4;
69+
color: $accentColor;
7070
z-index: 1;
7171
}
7272
7373
.go-to-top:hover {
74-
color: #3eaf7c;
74+
color: lighten($accentColor, 30%);
7575
}
7676
7777
@media (max-width: 959px) {

0 commit comments

Comments
 (0)