1
0
mirror of https://github.com/locomotivemtl/locomotive-boilerplate.git synced 2026-01-15 00:55:08 +08:00

Update comments

This commit is contained in:
Lucas Vallenet
2022-05-31 13:19:34 +02:00
parent 0a199afe01
commit f1e4cd2c55

View File

@@ -17,33 +17,28 @@ $assets-path: "../" !default;
// Font directory // Font directory
$font-dir: "../fonts/"; $font-dir: "../fonts/";
// Font fallbacks // Font fallbacks (retrieved from systemfontstack.com on 2022-05-31)
$font-fallback-sans: -apple-system, BlinkMacSystemFont, avenir next, avenir, segoe ui, helvetica neue, helvetica, Cantarell, Ubuntu, roboto, noto, arial, sans-serif; $font-fallback-sans: -apple-system, BlinkMacSystemFont, avenir next, avenir, segoe ui, helvetica neue, helvetica, Cantarell, Ubuntu, roboto, noto, arial, sans-serif;
$font-fallback-serif: Iowan Old Style, Apple Garamond, Baskerville, Times New Roman, Droid Serif, Times, Source Serif Pro, serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol; $font-fallback-serif: Iowan Old Style, Apple Garamond, Baskerville, Times New Roman, Droid Serif, Times, Source Serif Pro, serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol;
$font-fallback-mono: Menlo, Consolas, Monaco, Liberation Mono, Lucida Console, monospace; $font-fallback-mono: Menlo, Consolas, Monaco, Liberation Mono, Lucida Console, monospace;
// Font families list. // Map of font families.
// //
// 1. Font id // ```
// 2. Font name // <font-id>: (<font-name>, <font-fallbacks>)
// 3. Font fallback // ```
$font-families: ( $font-families: (
// [1]: ([2], [3])
"sans": ("Webfont Sans", $font-fallback-sans), "sans": ("Webfont Sans", $font-fallback-sans),
// "serif": ("Webfont Serif", $font-fallback-serif), // "serif": ("Webfont Serif", $font-fallback-serif),
// "mono": ("Webfont Mono", $font-fallback-mono) // "mono": ("Webfont Mono", $font-fallback-mono)
); );
// Font faces list. // List of custom font faces as tuples.
// //
// 1. Font name used in $font-families // ```
// 2. Font filename // <font-name> <font-file-basename> <font-weight> <font-style>
// 3. Font weight // ```
// 4. Font style
$font-faces: ( $font-faces: (
// [1] [2] [3] [4]
// "Webfont Sans" "webfont-sans_regular" 400 normal, // "Webfont Sans" "webfont-sans_regular" 400 normal,
// "Webfont Sans" "webfont-sans_regular-italic" 400 italic, // "Webfont Sans" "webfont-sans_regular-italic" 400 italic,
// "Webfont Serif" "webfont-sans_bold" 700 normal, // "Webfont Serif" "webfont-sans_bold" 700 normal,