Skip to content
This repository was archived by the owner on May 13, 2024. It is now read-only.

Commit 25d644f

Browse files
authored
feat: enhance the styls of SW-Update Popup (#2)
1 parent c4a5ecf commit 25d644f

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

styles/index.styl

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
@require './arrow.styl'
66
@require './wrapper.styl'
77
@require './toc.styl'
8+
@require './sw-popup.styl'
89

910
html, body
1011
padding 0

styles/sw-popup.styl

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
// Override the styles of popup in @vuepress/plgin-pwa
2+
3+
.global-ui
4+
.sw-update-popup
5+
border-color $accentColor
6+
color $accentColor
7+
border-radius 10px
8+
button
9+
background #d05dd2
10+
color #FFF;
11+
border-radius 5px
12+
border none

0 commit comments

Comments
 (0)