Add styleguide/ as submodule

This should make new contributors aware that the Styleguide exists and
maybe maybe even encourage people to contribute to the Styleguide.

Also this enabled `yarn run dev:styleguide` to build the `webapp/` along
with the styleguide.
This commit is contained in:
roschaefer 2019-09-13 00:07:22 +02:00
parent 8fa794f282
commit 4db0d69fad
3 changed files with 5 additions and 1 deletions

3
.gitmodules vendored Normal file
View File

@ -0,0 +1,3 @@
[submodule "styleguide"]
path = styleguide
url = https://github.com/Human-Connection/Nitro-Styleguide.git

1
styleguide Submodule

@ -0,0 +1 @@
Subproject commit 808b3c5a9523505cb80b20b50348d29ba9932845

View File

@ -3,7 +3,7 @@ const pkg = require('./package')
export const envWhitelist = ['NODE_ENV', 'MAPBOX_TOKEN']
const dev = process.env.NODE_ENV !== 'production'
const styleguidePath = '../Nitro-Styleguide'
const styleguidePath = '../styleguide'
const styleguideStyles = process.env.STYLEGUIDE_DEV
? [
`${styleguidePath}/src/system/styles/main.scss`,