Skip to content

Commit 585a6d3

Browse files
committed
fix: match MathLive menu with current Logseq theme
1 parent 752359a commit 585a6d3

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/style.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,11 @@ div[data-ref='logseq-live-math'] {
4646
--selection-background-color: var(--ls-selection-background-color);
4747
--primary: var(--ls-primary-theme-color, var(--ls-wb-text-color-blue));
4848
--text-font-family: KaTeX_Main, 'Times New Roman', serif;
49+
--ui-menu-bg: var(--ls-secondary-background-color);
50+
--ui-menu-bg-active: var(--ls-selection-background-color);
51+
--ui-menu-text-active: var(--ls-selection-text-color);
52+
--neutral-200: var(--ls-secondary-background-color);
53+
--neutral-100: var(--ls-secondary-background-color);
4954

5055
&::part(virtual-keyboard-toggle):hover {
5156
background-color: var(--ls-primary-background-color);

0 commit comments

Comments
 (0)