style(Popover): adjust dark theme background color

This commit is contained in:
chenjiahan
2020-11-20 14:26:41 +08:00
committed by neverland
parent 1302f13e72
commit 6d67093589
2 changed files with 2 additions and 3 deletions
+1 -1
View File
@@ -172,7 +172,7 @@ export default createComponent({
ref="popover" ref="popover"
value={this.value} value={this.value}
style={this.location} style={this.location}
class={bem([this.theme, `placement-${this.placement}`])} class={bem([this.theme])}
overlay={this.overlay} overlay={this.overlay}
position={null} position={null}
transition="van-popover-zoom" transition="van-popover-zoom"
+1 -2
View File
@@ -184,8 +184,7 @@
&--dark { &--dark {
color: @white; color: @white;
background-color: @gray-8; background-color: #4a4a4a;
opacity: 0.9;
.van-popover__arrow { .van-popover__arrow {
color: @gray-8; color: @gray-8;