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

Commit 5940b94

Browse files
committed
Fix #48 - dark theme bg:hover pattern manual fix
1 parent a42762a commit 5940b94

1 file changed

Lines changed: 11 additions & 3 deletions

File tree

stylesheets/main.less

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,14 @@
2020

2121
// Fix for the opacity gradient behind the quick action icons:
2222
// See: https://github.com/nylas/N1/blob/81d1b36ef2baeb2d10f015b704c2825a39bfc409/internal_packages/ui-darkside/styles/darkside.less#L462
23-
.thread-list .list-item:hover .list-column-HoverActions .inner {
24-
background-image: -webkit-linear-gradient(left, rgba(245, 245, 246, 0) 0%, #f5f5f6 20%, #f5f5f6 100%) !important;
25-
}
23+
body.theme-ui-light .thread-list .list-item:hover .list-column-HoverActions .inner {
24+
background-image: -webkit-linear-gradient(left, rgba(245, 245, 246, 0) 0%, #f5f5f6 20%, #f5f5f6 100%);
25+
}
26+
27+
body.theme-ui-dark .thread-list .list-item:hover .list-column-HoverActions .inner {
28+
background-image: -webkit-linear-gradient(left, rgba(38, 38, 38, 0) 0%, #262626 20%, #262626 100%);
29+
}
30+
31+
body.theme-arc-dark .thread-list .list-item:hover .list-column-HoverActions .inner {
32+
background-image: -webkit-linear-gradient(left, rgba(38, 38, 38, 0) 0%, #262626 20%, #262626 100%);
33+
}

0 commit comments

Comments
 (0)