Use system fonts instead of Robot webfont

Fixes #449
main
Peter Jaszkowiak 6 years ago
parent ca6d0cb818
commit 8589b5326b

@ -42,7 +42,7 @@
// //
//## Font, line-height, and color for body text, headings, and more. //## Font, line-height, and color for body text, headings, and more.
@font-family-sans-serif: "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif; @font-family-sans-serif: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
@font-family-serif: Georgia, "Times New Roman", Times, serif; @font-family-serif: Georgia, "Times New Roman", Times, serif;
//** Default monospace fonts for `<code>`, `<kbd>`, and `<pre>`. //** Default monospace fonts for `<code>`, `<kbd>`, and `<pre>`.
@font-family-monospace: Menlo, Monaco, Consolas, "Courier New", monospace; @font-family-monospace: Menlo, Monaco, Consolas, "Courier New", monospace;

@ -122,14 +122,4 @@ library.addUserToTopic = function(data, callback) {
} }
}; };
library.getLinkTags = function (data, callback) {
data.links.push({
rel: 'prefetch stylesheet',
type: '',
href: 'https://fonts.googleapis.com/css?family=Roboto:300,400,500,700',
});
callback(null, data);
};
module.exports = library; module.exports = library;

@ -7,8 +7,7 @@
{ "hook": "filter:config.get", "method": "getThemeConfig" }, { "hook": "filter:config.get", "method": "getThemeConfig" },
{ "hook": "static:app.load", "method": "init" }, { "hook": "static:app.load", "method": "init" },
{ "hook": "filter:admin.header.build", "method": "addAdminNavigation" }, { "hook": "filter:admin.header.build", "method": "addAdminNavigation" },
{ "hook": "filter:topic.build", "method": "addUserToTopic" }, { "hook": "filter:topic.build", "method": "addUserToTopic" }
{ "hook": "filter:meta.getLinkTags", "method": "getLinkTags"}
], ],
"scripts": [ "scripts": [
"lib/persona.js", "lib/persona.js",

Loading…
Cancel
Save