1.1.5 • Published 4 years ago
@leomanlapera/gatsby-theme-base v1.1.5
gatsby-theme-base
Quick Start
mkdir my-site
cd my-site
yarn init
# install @leomanlapera/gatsby-theme-base and it's dependencies
yarn add gatsby react react-dom @leomanlapera/gatsby-theme-base
Then add the theme to your gatsby-config.js
. We'll use the long form
here for education purposes.
module.exports = {
plugins: [`@leomanlapera/gatsby-theme-base`],
}
That's it, you can now run your gatsby site using
yarn gatsby develop
Extending the theme
// shadow src/gatsby-theme-base/index.js
import base from "@leomanlapera/gatsby-theme-base/src/gatsby-theme-plugin-ui";
export default {
...base,
colors: {
text: "tomato"
}
};