Skip to content

Commit

Permalink
Revert preview specific font
Browse files Browse the repository at this point in the history
  • Loading branch information
mgmeyers committed Mar 21, 2021
1 parent 5293ad2 commit 4954947
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
4 changes: 1 addition & 3 deletions obsidian.css
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@
Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
--text-editor: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
--text-preview: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
--font-monospace: Menlo, SFMono-Regular, Consolas, "Roboto Mono", monospace;

/* Sizes, weights, padding */
Expand Down Expand Up @@ -4422,7 +4420,7 @@ a[href*="obsidian://search"]:after
}

.markdown-preview-view {
font-family: var(--text-preview);
font-family: var(--text-editor);
font-size: var(--editor-font-size);
font-weight: var(--editor-font-weight);
line-height: var(--editor-line-height);
Expand Down
2 changes: 0 additions & 2 deletions src/010-main.css
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@
Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
--text-editor: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
--text-preview: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
--font-monospace: Menlo, SFMono-Regular, Consolas, "Roboto Mono", monospace;

/* Sizes, weights, padding */
Expand Down
2 changes: 1 addition & 1 deletion src/060-preview.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.markdown-preview-view {
font-family: var(--text-preview);
font-family: var(--text-editor);
font-size: var(--editor-font-size);
font-weight: var(--editor-font-weight);
line-height: var(--editor-line-height);
Expand Down

0 comments on commit 4954947

Please sign in to comment.