Skip to content

Commit

Permalink
Update monospace font stack for better legibility (#248)
Browse files Browse the repository at this point in the history
* Update monospace font stack for better legibility

No need to have Fira Code installed, but still have awesome fonts for code examples

* add changeset
  • Loading branch information
jurajk committed Apr 29, 2020
1 parent 9ab85b8 commit cff1f68
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/blue-kangaroos-exercise.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@lighting-beetle/lighter-styleguide": patch
---

Update monospace font stack for better legibility
2 changes: 1 addition & 1 deletion packages/styleguide/src/style/theme.js
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,6 @@ export const borderRadius = {
};

export const codeFontFamily =
"'Fira Code', 'Droid Sans Mono', 'Courier New', monospace";
"'Fira Code', 'Consolas', 'Andale Mono WT', 'Andale Mono', 'Lucida Console', 'Lucida Sans Typewriter', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Liberation Mono', 'Nimbus Mono L', 'Monaco', 'Courier New', 'Courier', 'monospace'";

export const contentWidth = '55rem';

0 comments on commit cff1f68

Please sign in to comment.