mirror of
https://github.com/danog/sass-site.git
synced 2024-12-12 01:19:50 +01:00
61 lines
1.9 KiB
SCSS
61 lines
1.9 KiB
SCSS
// Spacing Sizes
|
|
// -------------
|
|
/// @group scale
|
|
|
|
$gutter: 1rem; // ~16px
|
|
$gutter-quarter: calc(var(--gutter) * 0.25); // ~4px
|
|
$gutter-half: calc(var(--gutter) * 0.5); // ~8px
|
|
$gutter-minus: calc(var(--gutter) * 0.75); // ~12px
|
|
$gutter-plus: calc(var(--gutter) * 1.25); // ~20px
|
|
$gutter-sesqui: calc(var(--gutter) * 1.5); // ~24px
|
|
$gutter-double: calc(var(--gutter) * 2); // ~32px
|
|
$gutter-double-sesqui: calc(var(--gutter) * 2.5); // ~40px
|
|
$gutter-triple: calc(var(--gutter) * 3); // ~48px
|
|
|
|
// Negative Spacing Sizes
|
|
// ----------------------
|
|
/// @group scale
|
|
$gutter-negative: calc(var(--gutter) * -1);
|
|
$gutter-quarter-negative: calc(var(--gutter-quarter) * -1);
|
|
$gutter-half-negative: calc(var(--gutter-half) * -1);
|
|
$gutter-minus-negative: calc(var(--gutter-minus) * -1);
|
|
$gutter-plus-negative: calc(var(--gutter-plus) * -1);
|
|
$gutter-sesqui-negative: calc(var(--gutter-sesqui) * -1);
|
|
$gutter-double-negative: calc(var(--gutter-double) * -1);
|
|
$gutter-double-sesqui-negative: calc(var(--gutter-double-sesqui) * -1);
|
|
$gutter-triple-negative: calc(var(--gutter-triple) * -1);
|
|
|
|
// UI Sizes
|
|
// --------
|
|
/// @group scale
|
|
$table-cell-padding: var(--gutter-sesqui);
|
|
$border-small: 1px;
|
|
$border-radius-small: 0.125rem;
|
|
$border-radius-large: 0.25rem;
|
|
$column-small: 15rem;
|
|
$column-medium: 30rem;
|
|
|
|
// Layout Sizes
|
|
// --------
|
|
/// @group scale
|
|
$sl-breakpoint--small: 30em; // 480px
|
|
$sl-breakpoint--medium: 40em; // 640px
|
|
$sl-breakpoint--large: 60em; // 960px
|
|
$sl-breakpoint--x-large: 80em; // 1280px
|
|
|
|
// Font Sizes Generic
|
|
// ------------------
|
|
$sl-font-size--x-small: 0.875rem; // 14px
|
|
$sl-font-size--small: 1rem; // 16px
|
|
$sl-font-size--medium: 1.125rem; // 18px
|
|
$sl-font-size--large: 1.25rem; // 20px
|
|
$sl-font-size--x-large: 1.5rem; // 22px
|
|
$sl-font-size--xx-large: 1.75rem; // 28px
|
|
$sl-font-size--xxx-large: 2rem; // 32px
|
|
$sl-font-size--xxxx-large: 5rem; // 80px
|
|
|
|
// Font Sizes Custom
|
|
// -----------------
|
|
$status-text-size: 0.8em;
|
|
$sl-font-size--smaller: 90%;
|