Skip to content

Commit 7a80cea

Browse files
committed
fix(theme): adapt logseq v0.10.3
1 parent fe35e12 commit 7a80cea

4 files changed

Lines changed: 54 additions & 13 deletions

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,6 @@ css
66
CHANGELOG.md
77

88
script
9+
docs
910

1011
yarn.lock

scss/_left-sidebar.scss

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,14 @@
1111
display: none;
1212
}
1313

14-
// Hide the right border line
15-
.left-sidebar-inner {
16-
border: none;
17-
}
1814

1915
// favorits and recent
2016
.left-sidebar-inner {
17+
18+
background-color: var(--ls-primary-background-color) !important;
19+
// Hide the right border line
20+
border: none;
21+
2122
.header {
2223
background-color: transparent !important;
2324
}

scss/_other.scss

Lines changed: 45 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,34 @@ b, strong {
141141
color: var(--ls-primary-text-color);
142142
}
143143
}
144+
.update-state {
145+
background-color: var(--ls-secondary-background-color);
146+
}
147+
.keyboard-shortcut, .action-wrap {
148+
button {
149+
&:not(:hover) {
150+
background-color: var(--ls-secondary-background-color);
151+
}
152+
153+
.ui__button__tile-separator {
154+
display: none;
155+
}
156+
}
157+
}
158+
.cp__shortcut-page-x ul {
159+
li {
160+
background-color: var(--ls-secondary-background-color);
161+
opacity: 1;
162+
163+
&.items-center.justify-between {
164+
background-color: transparent;
165+
}
166+
167+
& > strong {
168+
color: unset !important;
169+
}
170+
}
171+
}
144172
}
145173

146174
// zotero settings
@@ -158,8 +186,23 @@ b, strong {
158186

159187
.cp__plugins-page {
160188

161-
.ui__button.logseq.active {
162-
background-color: var(--ls-secondary-background-color);
189+
.cp__plugins-item-card {
190+
background-color: var(--ls-secondary-background-color) !important;
191+
192+
&.installed .de {
193+
li:hover {
194+
background: var(--ls-secondary-background-color);
195+
color: var(--ls-custom-theme-color);
196+
}
197+
}
198+
}
199+
200+
button {
201+
background-color: transparent !important;
202+
box-shadow: none;
203+
}
204+
205+
.ui__button-theme-color.ui__button-color-custom {
163206
color: var(--ls-custom-theme-color);
164207
}
165208

@@ -172,13 +215,6 @@ b, strong {
172215
}
173216
}
174217
}
175-
176-
.cp__plugins-item-card.installed .de {
177-
li:hover {
178-
background: var(--ls-secondary-background-color);
179-
color: var(--ls-custom-theme-color);
180-
}
181-
}
182218
}
183219
}
184220

scss/_pages.scss

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,9 @@
106106
margin: unset;
107107
border: none !important;
108108
}
109+
.sidebar-item-list {
110+
background-color: var(--ls-primary-background-color) !important;
111+
}
109112
}
110113

111114
// header-line style

0 commit comments

Comments
 (0)