Skip to content
This repository has been archived by the owner on Aug 30, 2023. It is now read-only.

Commit

Permalink
Add Fira Code support in default themes
Browse files Browse the repository at this point in the history
Closes #61
  • Loading branch information
brrd committed Oct 25, 2016
1 parent 23b8996 commit 437d0fd
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
4 changes: 4 additions & 0 deletions app/less/editor.less
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@
color: @editor-text-color;
}

.CodeMirror pre when (@editor-ligatures = true) {
font-variant-ligatures: contextual;
}

.CodeMirror-code {
margin-top: 50px;
margin-bottom: 50%;
Expand Down
3 changes: 2 additions & 1 deletion default/themes/default-dark/theme.less
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@
// ======

// Text
@editor-font-family: Monaco, "DejaVu Sans Mono", "Lucida Console", "Andale Mono", monospace;
@editor-font-family: "Fira Code", Monaco, "DejaVu Sans Mono", "Lucida Console", "Andale Mono", monospace;
@editor-ligatures: true;
@editor-text-color: #b0bcd0;
@editor-background-color: #282C34;

Expand Down
3 changes: 2 additions & 1 deletion default/themes/default/theme.less
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@
// ======

// Text
@editor-font-family: Monaco, "DejaVu Sans Mono", "Lucida Console", "Andale Mono", monospace;
@editor-font-family: "Fira Code", Monaco, "DejaVu Sans Mono", "Lucida Console", "Andale Mono", monospace;
@editor-ligatures: true;
@editor-text-color: #1d2426;
@editor-background-color: #fff;

Expand Down

0 comments on commit 437d0fd

Please # to comment.