Skip to content

Commit aee5c93

Browse files
committed
fix(ui): nav button bullet border color
1 parent 9aec563 commit aee5c93

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

packages/@vue/cli-ui/src/components/ProjectNavButton.vue

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,8 @@ export default {
7878
<style lang="stylus" scoped>
7979
@import "~@/style/imports"
8080
81-
$bg = darken($vue-ui-color-dark, 70%)
81+
$bg = $vue-ui-color-light-neutral
82+
$bg-dark = $vue-ui-color-dark
8283
8384
.project-nav-button
8485
position relative
@@ -91,7 +92,7 @@ $bg = darken($vue-ui-color-dark, 70%)
9192
bottom 12px
9293
left 27px
9394
pointer-events none
94-
border solid 2px $vue-ui-color-dark
95+
border solid 2px $bg
9596
transition border-color .1s
9697
&.type-info
9798
background $vue-ui-color-info
@@ -105,6 +106,8 @@ $bg = darken($vue-ui-color-dark, 70%)
105106
background $vue-ui-color-accent
106107
&.type-dim
107108
background $md-grey
109+
.vue-ui-dark-mode &
110+
border-color $bg-dark
108111
109112
.wide &
110113
.bullet
@@ -113,9 +116,13 @@ $bg = darken($vue-ui-color-dark, 70%)
113116
&:hover
114117
.bullet
115118
border-color lighten($bg, 25%)
119+
.vue-ui-dark-mode &
120+
border-color lighten($bg-dark, 25%)
116121
&:active
117122
.bullet
118123
border-color darken($bg, 8%)
124+
.vue-ui-dark-mode &
125+
border-color darken($bg-dark, 8%)
119126
120127
.image-icon
121128
max-width 24px

0 commit comments

Comments
 (0)