Typed Sass Styling (#69)

* Addresses issue #16 -
Add styles via sass and module imports
Adds typed scss imports via gatsby-plugin-sass.
Makes use of .d.scss file generated by gatsby-plugin-scss-typescript,
but avoids importing that directly while they work out issue in gatsby v3.

* adding vscode config for easier local debugging
This commit is contained in:
Nat Hillard 2021-05-20 23:59:20 -04:00 committed by GitHub
commit a587482967
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 1334 additions and 1788 deletions

View file

@ -12,5 +12,14 @@ module.exports = {
siteMetadata: {
title: "Justice40",
},
plugins: ['gatsby-plugin-scss-typescript'],
plugins: [{
resolve: 'gatsby-plugin-sass',
options: {
cssLoaderOptions: {
modules: {
exportLocalsConvention: 'camelCaseOnly'
}
}
}
},],
};