46
46
--text-faint : # b1b4b9 ;
47
47
--text-error : # 800000 ;
48
48
--text-error-hover : # 990000 ;
49
- --text-highlight-bg : var (--text-selection );
49
+ --text-highlight-bg : rgba (227 , 238 , 242 , 0.50 );
50
+ --text-search-highlight-bg : rgba (150 , 150 , 242 , 0.8 );
50
51
--text-selection : rgba (227 , 238 , 242 , 0.50 );
51
52
--text-on-accent : var (--text-normal );
52
53
--interactive-normal : var (--background-primary );
127
128
--vim-cursor : # 474949 ;
128
129
--header-before-color : # b1b4b8 ;
129
130
--blockquote-bg : var (--background-primary );
131
+ --bracket-color : var (--header-before-color );
132
+ --checkbox-color : var (--tag-bg );
133
+ --checkbox-enabled : var (--file-name-color );
134
+ --active-title-border : var (--interactive-accent );
130
135
}
131
136
132
-
133
137
/*-------------------------------------*/
134
138
/* Search the following lines */
135
139
/* to jump to specific section */
170
174
.internal-link ,
171
175
.cm-hmd-internal-link ,
172
176
.cm-link ,
173
- .cm-formatting-link ,
174
177
.cm-url {
175
178
text-decoration : none !important ;
176
179
background-color : var (--link-bg )!important ;
@@ -181,14 +184,15 @@ a:hover,
181
184
.internal-link : hover ,
182
185
.cm-hmd-internal-link : hover ,
183
186
.cm-link : hover ,
184
- .cm-formatting-link : hover ,
185
187
.cm-url : hover {
186
188
background-color : var (--link-bg-hover )!important ;
187
189
color : var (--link-text-hover )!important ;
188
190
}
189
191
190
192
191
193
194
+
195
+
192
196
/* the url string in editor */
193
197
.cm-s-obsidian span .cm-string {
194
198
color : var (--text-muted )!important ;
@@ -741,12 +745,11 @@ bottom: 0px !important;
741
745
742
746
/* Editor CodeBlock TEXT Appearance */
743
747
.cm-s-obsidian pre .HyperMD-codeblock {
744
- font-family : monaco !important ;
748
+ font-family : var ( --font-family-code ) !important ;
745
749
font-size : var (--font-size-code ) !important ;
746
750
padding : 1px !important ;
747
751
display : block;
748
752
color : var (--code-block ) !important ;
749
- background-color : var (--pre-code-bg )!important ;
750
753
font-weight : 500 ;
751
754
}
752
755
@@ -1875,3 +1878,8 @@ color: var(--text-accent) !important;
1875
1878
/* .markdown-embed-content > hr:first-child + hr { display: none; } */
1876
1879
/* Remove embed yaml second separator */
1877
1880
/* .markdown-embed-content > hr:first-child + p + hr { display: none; } */
1881
+
1882
+ span .obsidian-search-match-highlight {
1883
+ color : var (--text-normal ) !important ;
1884
+ background-color : var (--text-search-highlight-bg )!important ;
1885
+ }
0 commit comments