mirror of
https://github.com/locomotivemtl/locomotive-boilerplate.git
synced 2026-01-15 00:55:08 +08:00
* Update sass to v1.79 * Fix broken node_modules import * Fix conflict with new sass color() function color() -> colorCode() * build:styles - Remove deprecated sass.render() * build:styles - remove infile + outfile from sass.compile options
46 lines
1.3 KiB
SCSS
46 lines
1.3 KiB
SCSS
// ==========================================================================
|
|
// Settings / Config
|
|
// ==========================================================================
|
|
|
|
// Context
|
|
// =============================================================================
|
|
|
|
// The current stylesheet context. Available values: frontend, editor.
|
|
$context: frontend !default;
|
|
|
|
// Path is relative to the stylesheets directory.
|
|
$assets-path: "../" !default;
|
|
|
|
// Typography
|
|
// =============================================================================
|
|
|
|
// Base
|
|
$font-size: 16px;
|
|
$line-height: math.div(24px, $font-size);
|
|
$font-color: colorCode(darkest);
|
|
|
|
// Weights
|
|
$font-weight-light: 300;
|
|
$font-weight-normal: 400;
|
|
$font-weight-medium: 500;
|
|
$font-weight-bold: 700;
|
|
|
|
// Transition defaults
|
|
// =============================================================================
|
|
$speed: t(normal);
|
|
$easing: ease("power2.out");
|
|
|
|
// Spacing Units
|
|
// =============================================================================
|
|
$unit: 60px;
|
|
$unit-small: 20px;
|
|
$vw-viewport: 1440;
|
|
|
|
// Container
|
|
// ==========================================================================
|
|
$padding: $unit;
|
|
|
|
// Grid
|
|
// ==========================================================================
|
|
$base-column-nb: 12;
|