- Set up The sass file that will be compiled into the stylesheet
- Framework sass variables can be customized by declaring custom variables fist before integrating the framework
EVRYTHING CAN BE CUSTOMIZED FIGHT ME
You can refer to existing sass variables here
Although lengthy, most variables are values of what is described, if it don't make sense to you ask sam because she's the dumbass who built this
woah i'm sam
Note: All sass variables in the list are required for the stylesheet to properly compile Example:
/*!
Custom variables
****************************************************************************/
$brand-font-primary: 'Poppins', 'Helvetica Neue', Helvetica, Arial, sans-serif !default;
$brand-font-accent: $brand-font-primary !default;
$brand-font-monospace: 'Menlo', 'Monaco', 'Consolas', 'Courier New', monospace;
$body-font-weight: 500;
$body-font-weight-bold: 900;
/*!
framework sass
****************************************************************************/
@import 'framework/framework.scss';
// ya custom css afterNote, some values especially font sizes are recalculated internally by the framework to create equivalent optimal values, if some variable customization looks weird, there's your answer eg:
$body-line-height. If set as pixels, this will be converted to its unitless equivalent
$body-font-size: 16px;
$body-line-height: 24px; // will be outputted as 1.5If this causes issues or errors, feel free to hit me up and shit on me so I can troubleshootootoot
No conflict mode is enabled for the framework. set up your script like this:
window.jQuery && jQuery.noConflict();
(function (fw, $) {
//ya code
console.log('do shiet');
})(fw, jQuery);Prefix for them native bois
By default the framework uses native css var() for $brand- and $brand-theme- variables because fuck yo old ass kompyuter. these are done so by declaring via sass $var-#{CSS VAR NAME WITHOUT $variable-prefix }. To declare static values declared through the $brand- variables instead, use that shit idk