fix: bottom search bar dark mode styles (#1614)

This commit is contained in:
numan
2025-10-11 20:12:11 +02:00
committed by GitHub
parent 2ba095a181
commit afebdcf64c
2 changed files with 34 additions and 0 deletions
+14
View File
@@ -192,6 +192,20 @@
color: var(--editor-panels-bottom-color);
background-color: var(--editor-panels-bottom-background-color);
border-top: var(--editor-panels-bottom-border-color) 1px solid;
.cm-search {
.cm-textfield {
background-color: var(--editor-panels-bottom-input-background-color);
}
.cm-button {
background-image: var(--editor-panels-bottom-button-background-image);
&:active {
background-image: var(
--editor-panels-bottom-button-active-background-image
);
}
}
}
}
.cm-editor .cm-tooltip-autocomplete {
+20
View File
@@ -132,6 +132,16 @@ html {
--editor-directive-color: #696969;
--editor-directive-background-color: #ebebeb7d;
--editor-panels-bottom-input-background-color: #fff;
--editor-panels-bottom-button-background-image: linear-gradient(
#eff1f5,
#d9d9df
);
--editor-panels-bottom-button-active-background-image: linear-gradient(
#b4b4b4,
#d0d3d6
);
--ui-font:
-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
@@ -281,6 +291,16 @@ html[data-theme="dark"] {
--editor-directive-mark-color: #ba0303;
--editor-directive-color: #898989;
--editor-directive-background-color: #4c4c4c7d;
--editor-panels-bottom-input-background-color: inherit;
--editor-panels-bottom-button-background-image: linear-gradient(
#393939,
#111
);
--editor-panels-bottom-button-active-background-image: linear-gradient(
#111,
#333
);
}
html[data-markdown-syntax-rendering="on"] {