- Clone the project to your GitHub account [DO NOT FORK]
- Create a branch with your name (ex: andre-pinto)
- Develop under that branch
- Run
gulp build
at the end - Submit a Pull Request on your Repo
- Send us an email with your Repo
From the sass map provided in the "INPUT" you have to create a way to generate @import
for google fonts like in their website (Google Fonts) through mixins/functions concatenating so the output of the css file is the expected.
$font-family--primary: 'Aguafina Script';
$google-fonts: (
Roboto: (
300,
400,
500,
700
),
Source-Sans-Pro: (
400,
600,
700
),
Aguafina-Script: (
400
)
);
// your code here...
body {
font-family: $font-family--primary;
}
@import url("https://fonts.googleapis.com/css?family=Roboto:300,400,500,700&display=swap");
@import url("https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,600,700&display=swap");
@import url("https://fonts.googleapis.com/css?family=Aguafina+Script:400&display=swap");
@import url("https://fonts.googleapis.com/css?family=Indie+Flower&display=swap");
body {
font-family: "Indie Flower";
}
npm install
--> install local dependencies from package.json
npm install gulp
--> install local gulp dependency
gulp
--> (runs the project, starts a local server and opens the window on the local server endpoint)
The gulp outputs to the build folder
The source files (editable) are located in the src/
folder.
To ensure the integrity of the project you should only edit these files inside this folder.
The gulp scripts are able to handle with preprocessing (html, sass, etc...)