Skip to content

Commit

Permalink
⚡Debugged Find/Replace content highlighting
Browse files Browse the repository at this point in the history
Fixes #96
  • Loading branch information
ceciliamay committed Mar 24, 2022
1 parent 5c71d5c commit 5f33202
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 13 deletions.
14 changes: 8 additions & 6 deletions obsidian.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion obsidian.css.map

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions scss/30_note/_md-highlighted-search.scss
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
.cm-s-obsidian span.obsidian-search-match-highlight {
color: var(--md-color-text);
border-radius: var(--scale-2-2);
}

.cm-s-obsidian span.obsidian-search-match-highlight,
.is-flashing.is-flashing {
background: var(--md-color-highlight-bg);
color: var(--md-color-text);
background: var(--md-find-highlight-bg);
padding: 0px 3px;
border-radius: var(--scale-2-2);
border-bottom: 2px solid rgba(100, 100, 100, 0.2);
box-shadow: 0px 0px 0px 1px rgba(120, 120, 120, 0.2) inset;
}
3 changes: 3 additions & 0 deletions scss/30_note/_typography.scss
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@ div.cm-content {

--md-color-bullet: var(--md-color-text-faint);

--md-find-highlight-bg: var(--color-highlight-violet);
}

.theme-dark {
Expand Down Expand Up @@ -184,6 +185,8 @@ div.cm-content {
--md-embed-bg: var(--color-d-gray-90);

--md-color-bullet: var(--md-color-text-faint);

--md-find-highlight-bg: var(--color-highlight-violet);
}

.markdown-source-view,
Expand Down

0 comments on commit 5f33202

Please sign in to comment.