Skip to content

Commit

Permalink
change code block font: roboto > source code pro
Browse files Browse the repository at this point in the history
update open-source projects list in README
close #16
  • Loading branch information
arisac committed Dec 25, 2020
1 parent d04f36d commit a77dd2b
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 14 deletions.
12 changes: 8 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,21 +42,25 @@ There are many ways to use this Theme, choose which one fits your project:

## License

[Apache-2.0 License](LICENSE)

## Thanks To

Other open-source projects used in this Theme:

- [Hugo](https://gohugo.io/)
- [Hugo](https://gohugo.io/)

- [FlexSearch.js](https://github.com/nextapps-de/flexsearch)
- [FlexSearch.js](https://github.com/nextapps-de/flexsearch) by Nextapps GmbH

- [KaTeX](https://katex.org)

- [mermaid](https://github.com/mermaid-js/mermaid)

- [Normalize.css](https://necolas.github.io/normalize.css/)
- [Normalize.css](https://github.com/necolas/normalize.css/) by Nicolas Gallagher

- [Poppins Fonts](https://github.com/itfoundry/poppins) by Indian Type Foundry

- [Poppins Fonts](https://github.com/itfoundry/poppins)
- [Source Code Pro Fonts](https://github.com/adobe-fonts/source-code-pro) by Adobe

- [Font Awesome](https://fontawesome.com)

Expand Down
2 changes: 1 addition & 1 deletion assets/_defaults.scss
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ $color-orange: #FF9500;
--hint-color-error: var(--hint-color-red);
// Tools
--icon-filter: brightness(0) invert(1);
--pre-bg: #{$color-deep};
--pre-bg: hsl(207, 20%, 12%);
--sidebar-toc-bg: #0A0F15;
--footer-bg: #{$color-primary};
--footer-content: white;
Expand Down
18 changes: 9 additions & 9 deletions assets/_fonts.scss
Original file line number Diff line number Diff line change
Expand Up @@ -179,21 +179,21 @@
url('fonts/poppins-v15-latin-900italic.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* roboto-mono-regular - latin */
/* source-code-pro-regular - latin */
@font-face {
font-family: 'Roboto Mono';
font-family: 'Source Code Pro';
font-style: normal;
font-weight: 400;
font-weight: 500;
font-display: swap;
src: local('Roboto Mono'), local('RobotoMono-Regular'),
url('fonts/roboto-mono-v6-latin-regular.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
url('fonts/roboto-mono-v6-latin-regular.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
src: local(''),
url('fonts/source-code-pro-v13-latin-500.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
url('fonts/source-code-pro-v13-latin-500.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

body {
font-family: 'Poppins', sans-serif;
}

code {
font-family: 'Roboto Mono', monospace;
}
pre, code {
font-family: 'Source Code Pro', monospace;
}
Binary file removed static/fonts/roboto-mono-v6-latin-regular.woff
Binary file not shown.
Binary file removed static/fonts/roboto-mono-v6-latin-regular.woff2
Binary file not shown.
Binary file added static/fonts/source-code-pro-v13-latin-500.woff
Binary file not shown.
Binary file added static/fonts/source-code-pro-v13-latin-500.woff2
Binary file not shown.

0 comments on commit a77dd2b

Please sign in to comment.