-
Notifications
You must be signed in to change notification settings - Fork 10.3k
Closed
Labels
type: question or discussionIssue discussing or asking a question about GatsbyIssue discussing or asking a question about Gatsby
Description
Stepping through part 2 of your tutorial, I believe I followed the directions correctly, but changing the baseFontSize has no effect.
Here's what I've got...
// /gatsby-config.js
module.exports = {
siteMetadata: {
title: `Gatsby Default Starter`
},
plugins: [
`gatsby-plugin-react-helmet`,
{
resolve: `gatsby-plugin-typography`,
options: {
pathToConfigModule: `src/utils/typography.js`
}
}
]
};// src/utils/typography.js
import Typography from 'typography';
const typography = new Typography({ baseFontSize: '10px' });
export default typography;I am seeing the typography.js style included

NOTE: I did not create a new site as the tutorial suggests. I instead continued from the previous tutorial (step-1). And I used the default gatsby new <sitename> for that one as well. I'd be surprised if this has anything to do with it, but mention it just in case. I have restarted gatsby develop many times after ctrl C to stop the server.
I'm not sure how to troubleshoot this, so that might be a nice thing to add to the tutorial.
Nantris, hwkd and bilzardkeywordnew
Metadata
Metadata
Assignees
Labels
type: question or discussionIssue discussing or asking a question about GatsbyIssue discussing or asking a question about Gatsby