mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-25 02:41:46 +08:00
style(Popover): adjust dark theme background color
This commit is contained in:
parent
1302f13e72
commit
6d67093589
@ -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"
|
||||||
|
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user