Skip to content

Commit

Permalink
Replace Source Code Pro font with Fira Code.
Browse files Browse the repository at this point in the history
Fira Code is currently one of the most popular monospace fonts which
(unlike Source Code Pro) supports programming ligatures.
  • Loading branch information
SpacingBat3 committed May 29, 2022
1 parent 058d962 commit 4249b9b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@
"typescript": "^4.5.2"
},
"dependencies": {
"@fontsource/fira-code": "^4.5.9",
"@fontsource/roboto": "^4.5.1",
"@fontsource/source-code-pro": "^4.5.1",
"@fontsource/ubuntu": "^4.5.0",
"@spacingbat3/kolor": "^2.0.1",
"deepmerge-ts": "^4.0.0",
Expand Down
14 changes: 7 additions & 7 deletions sources/assets/web/css/fonts.css
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,18 @@
@import url('../../../../node_modules/@fontsource/ubuntu/400.css');
@import url('../../../../node_modules/@fontsource/ubuntu/400-italic.css');

/** Source Code Pro: regular, bold, italic, bold+italic **/
@import url('../../../../node_modules/@fontsource/source-code-pro/700.css');
@import url('../../../../node_modules/@fontsource/source-code-pro/700-italic.css');
@import url('../../../../node_modules/@fontsource/source-code-pro/400.css');
@import url('../../../../node_modules/@fontsource/source-code-pro/400-italic.css');
/** Fira Code: regular, bold, italic, bold+italic **/
@import url('../../../../node_modules/@fontsource/fira-code/700.css');
@import url('../../../../node_modules/@fontsource/fira-code/700-italic.css');
@import url('../../../../node_modules/@fontsource/fira-code/400.css');
@import url('../../../../node_modules/@fontsource/fira-code/400-italic.css');

/** Twemoji: **/
/** Twemoji **/
@import url('../../../../node_modules/twemoji-colr-font/twemoji.css');

:root {
--font-primary: 'Roboto',Arial,sans-serif, Twemoji;
--font-display: 'Ubuntu',Arial,sans-serif, Twemoji;
--font-code: 'Source Code Pro',Courier,monospace, Twemoji;
--font-code: 'Fira Code',Courier,monospace, Twemoji;
--font-headline: var(--font-display);
}

0 comments on commit 4249b9b

Please sign in to comment.