Merge pull request #67 from github/no-default-font

Remove Rubik as default font
This commit is contained in:
Sophie Shepherd 2019-03-06 10:15:58 -06:00 committed by GitHub
commit 57cd24d6c4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 6 deletions

View file

@ -147,7 +147,7 @@ Jekyll's convention for defining layouts is very flexible. You can [learn more a
## Styles
Your website is pre-configured to use [a very flexible CSS framework called "Primer,"](https://styleguide.github.com/primer/) alongside any custom styles you write in your `/assets/styles.scss` Sass stylesheet. It's currently referenced within your `styles.scss` file, using the CSS import at-rule:
Your website is pre-configured to use [GitHub's very flexible CSS framework called "Primer,"](https://styleguide.github.com/primer/). It's currently referenced within your `styles.scss` file, using the CSS import at-rule:
```
@import url('https://unpkg.com/primer/build/build.css');
@ -155,6 +155,9 @@ Your website is pre-configured to use [a very flexible CSS framework called "Pri
You are, of course, welcome to remove it or replace it with another framework. Just bear in mind that the HTML that your website came pre-packaged with references multiple Primer "utility classes" to define things like column widths, margins, and background colors.
You also have the option to add on to and extend Primer's styles by adding custom CSS to your `/assets/styles.scss` Sass stylesheet. By editing this file, you can customize your website's color scheme, typography, and more.
## License
The theme is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).

View file

@ -1,15 +1,12 @@
---
---
@import url('https://unpkg.com/primer/build/build.css');
@import url('https://fonts.googleapis.com/css?family=Rubik:400,500,700,900');
@import 'highlight-syntax';
body {
font-family: 'Rubik', sans-serif;
}
// If a user adds a custom font, this component will stop it from bleeding into GitHub components:
.github-component {
font-family: -apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol;
font-family: -apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol !important;
}
.repo-language-color {