binggg / mrn

Material React Native (MRN) - A Material Design style React Native component library.
http://mrn.js.org
1.73k stars 109 forks source link

Provide fallback monospace font #7

Closed GrilloPress closed 8 years ago

GrilloPress commented 8 years ago

When I visit the mrn.js.org website the code examples render in my browsers' generic serif font and not "Source Code Pro". It looks like:

checkbox_serif_fonts

Having a quick look through your CSS I can't see the font being loaded in. Only the Roboto webfont. No errors popup in the browser console either.

Beyond that worth backing up "Source Code Pro" with a reference to the monospace font-family in your CSS

pre.prettyprint, pre > code {
   font-family: "Source Code Pro", monospace;
}

etc.

binggg commented 8 years ago

Fix it. Thank you very much.