Skip to content
This repository has been archived by the owner on Oct 1, 2023. It is now read-only.

Commit

Permalink
Merge pull request #13 from tolking/dev
Browse files Browse the repository at this point in the history
fix: pwa styles
  • Loading branch information
tolking authored Mar 11, 2020
2 parents e5cb15e + 652cf82 commit ab0d64f
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 7 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

[README](README.md) | [CHANGELOG](CHANGELOG.md)

## 1.0.6

- fix styles on pwa

## 1.0.5

- fix styles on vuepress 1.3.0
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vuepress-theme-default-prefers-color-scheme",
"version": "1.0.5",
"version": "1.0.6",
"main": "index.js",
"description": "add prefers-color-scheme for vuepress default theme",
"author": "tolking <qw13131wang@gmail.com>",
Expand Down
13 changes: 7 additions & 6 deletions styles/index.styl
Original file line number Diff line number Diff line change
Expand Up @@ -178,14 +178,15 @@ div[class*="language-"].line-numbers-mode .line-numbers-wrapper
// pwa
.global-ui
.sw-update-popup
border-color var(--accentColors)
background var(--bgColor)
border-color var(--accentColors) !important
background-color var(--bgColor) !important
color var(--textColor) !important
button
color #fff
background-color var(--accentColor)
border-bottom-color var(--darken10AccentColor)
border-color var(--darken10AccentColor) !important
background-color var(--accentColor) !important
color #fff !important
&:hover
background-color var(--lighten10AccentColor)
background-color var(--lighten10AccentColor) !important

// scroll bar
@media (min-width: $MQMobile)
Expand Down

0 comments on commit ab0d64f

Please sign in to comment.