Created
March 9, 2021 17:45
-
-
Save wesleyduff/13cf5ddff11cd790f663d80d2783d439 to your computer and use it in GitHub Desktop.
SASS cores.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*---------------------------------------------------- | |
@File: Core Styles | |
@Author: Wes Duff | |
Author E-mail: [email protected] | |
This is the core css for your application | |
- fonts | |
- base text sizes for h1-h6 | |
---------------------------------------------------- */ | |
/*===================================================================== | |
@Core Styles | |
Table of Content: | |
01/ mixins | |
02/ variables | |
03/ functions | |
04/ predefin | |
05/ fonts | |
06/ button | |
07/ header | |
08/ footer | |
=====================================================================*/ | |
/*----------------------------------------------------*/ | |
@import "mixins"; | |
/*---------------------------------------------------- */ | |
/*----------------------------------------------------*/ | |
@import "variables"; | |
/*---------------------------------------------------- */ | |
/*----------------------------------------------------*/ | |
@import "functions"; | |
/*---------------------------------------------------- */ | |
/*----------------------------------------------------*/ | |
@import "predefin"; | |
/*---------------------------------------------------- */ | |
/*----------------------------------------------------*/ | |
@import "fonts"; | |
/*---------------------------------------------------- */ | |
/*----------------------------------------------------*/ | |
@import "button"; | |
/*---------------------------------------------------- */ | |
/*----------------------------------------------------*/ | |
@import "header"; | |
/*---------------------------------------------------- */ | |
/*----------------------------------------------------*/ | |
@import "footer"; | |
/*---------------------------------------------------- */ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Make sure to create these .scss files
_mixins.scss
_variables.scss
_functions.scss
_predefin.scss
_fonts.scss
_button.scss
_header.scss
_footer.scss
mixins
Contains all of the mixins that will be used for your application
variables
Contains the colors, font sizes, set widths etc.. any variable you may need in your application
functions
Contains any functions that need to be ran to build the correct CSS values that are needed in your application.
predefin
pre-defined sections of your code. The specific styling for tags such as the "a" tag, "i" etc... these are default styles for basic tags and custom tags
fonts
This is where you add all of your custom fonts, font-sizes, colors etc.. You can use your variables import here
button
Contains all the necessary CSS for the core styles and themes for your buttons
header
Necessary css for your header, your header should be a re-used partial.
footer
Necessary css for you footer, your footer should be a re-used partial.
Script should be ran to build your core.css file
script is added to your package.json file under scripts
You will also need to include sass in your package manager under devdependencies
Example of mixins.scss