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

Commit 4da26ef

Browse files
authored
Merge pull request #8 from tolking/dev
fix: styles
2 parents 4379875 + 96df34e commit 4da26ef

File tree

3 files changed

+11
-1
lines changed

3 files changed

+11
-1
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

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

5+
## 1.0.3
6+
7+
- fix styles on vuepress 1.2.0
8+
59
## 1.0.2
610

711
- fix styles

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "vuepress-theme-default-prefers-color-scheme",
3-
"version": "1.0.2",
3+
"version": "1.0.3",
44
"main": "index.js",
55
"description": "add prefers-color-scheme for vuepress default theme",
66
"author": "tolking <qw13131wang@gmail.com>",

styles/components.styl

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,8 @@
4949
color var(--textColor)
5050

5151
.dropdown-wrapper
52+
.dropdown-title
53+
color var(--textColor)
5254
.nav-dropdown
5355
.dropdown-item
5456
h4
@@ -61,6 +63,10 @@
6163
&::after
6264
border-left-color var(--accentColor)
6365

66+
@media (max-width: $MQMobile)
67+
.dropdown-wrapper .dropdown-title:hover
68+
color var(--accentColor)
69+
6470
@media (min-width: $MQMobile)
6571
.dropdown-wrapper .dropdown-title .arrow
6672
border-top-color var(--arrowBgColor)

0 commit comments

Comments
 (0)