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

Commit 359f73c

Browse files
style: menu hover in dark mode
1 parent 8f3cfa1 commit 359f73c

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

docs/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
### Features
55

66
* add new component social option `dev`
7+
* style menu hover in dark mode
78

89
<a name="1.0.0-alpha.19"></a>
910
# 1.0.0-alpha.19 (2019-07-11)

docs/src/global/theme/menu.scss

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,6 @@ ion-split-pane {
2727

2828
ion-item {
2929
--color: white;
30-
31-
--background-activated: var(--ion-color-primary);
3230
}
3331
}
3432

@@ -123,6 +121,11 @@ ion-split-pane {
123121

124122
ion-content {
125123
ion-list {
124+
ion-item, ion-item-divider {
125+
--background-hover: var(--ion-color-secondary);
126+
--background-activated: var(--ion-color-secondary);
127+
}
128+
126129
ion-item-divider {
127130
--color: var(--ion-color-light);
128131
}

0 commit comments

Comments
 (0)