mirror of
https://github.com/jgthms/bulma.git
synced 2024-11-28 12:24:23 +00:00
156 lines
3.3 KiB
SCSS
156 lines
3.3 KiB
SCSS
// Scheme Hue and Saturation
|
|
|
|
$scheme-h: 221;
|
|
$scheme-s: 14%;
|
|
$dark-l: 20%;
|
|
$light-l: 90%;
|
|
|
|
// Colors
|
|
|
|
$black: hsl(221, 14%, 4%) !default;
|
|
$black-bis: hsl(221, 14%, 9%) !default;
|
|
$black-ter: hsl(221, 14%, 14%) !default;
|
|
|
|
$grey-darker: hsl(221, 14%, 21%) !default;
|
|
$grey-dark: hsl(221, 14%, 29%) !default;
|
|
$grey: hsl(221, 14%, 48%) !default;
|
|
$grey-light: hsl(221, 14%, 71%) !default;
|
|
$grey-lighter: hsl(221, 14%, 86%) !default;
|
|
$grey-lightest: hsl(221, 14%, 93%) !default;
|
|
|
|
$white-ter: hsl(221, 14%, 96%) !default;
|
|
$white-bis: hsl(221, 14%, 98%) !default;
|
|
$white: hsl(221, 14%, 100%) !default;
|
|
|
|
$orange: hsl(14, 100%, 53%) !default;
|
|
$yellow: hsl(42, 100%, 53%) !default;
|
|
$green: hsl(153, 53%, 53%) !default;
|
|
$turquoise: hsl(171, 100%, 41%) !default;
|
|
$cyan: hsl(198, 100%, 70%) !default;
|
|
$blue: hsl(233, 100%, 63%) !default;
|
|
$purple: hsl(271, 100%, 71%) !default;
|
|
$red: hsl(348, 100%, 70%) !default;
|
|
|
|
// Typography
|
|
|
|
$family-sans-serif: "Inter", "SF Pro", "Segoe UI", "Roboto", "Oxygen", "Ubuntu",
|
|
"Helvetica Neue", "Helvetica", "Arial", sans-serif !default;
|
|
$family-monospace: "Inconsolata", "Hack", "SF Mono", "Roboto Mono",
|
|
"Source Code Pro", "Ubuntu Mono", monospace !default;
|
|
$render-mode: optimizeLegibility !default;
|
|
|
|
$size-1: 3rem !default;
|
|
$size-2: 2.5rem !default;
|
|
$size-3: 2rem !default;
|
|
$size-4: 1.5rem !default;
|
|
$size-5: 1.25rem !default;
|
|
$size-6: 1rem !default;
|
|
$size-7: 0.75rem !default;
|
|
|
|
$weight-light: 300 !default;
|
|
$weight-normal: 400 !default;
|
|
$weight-medium: 500 !default;
|
|
$weight-semibold: 600 !default;
|
|
$weight-bold: 700 !default;
|
|
$weight-extrabold: 800 !default;
|
|
|
|
// Spacing
|
|
|
|
$block-spacing: 1.5rem !default;
|
|
$aspect-ratios: (
|
|
(1, 1),
|
|
(5, 4),
|
|
(4, 3),
|
|
(3, 2),
|
|
(5, 3),
|
|
(16, 9),
|
|
(2, 1),
|
|
(3, 1),
|
|
(4, 5),
|
|
(3, 4),
|
|
(2, 3),
|
|
(3, 5),
|
|
(9, 16),
|
|
(1, 2),
|
|
(1, 3)
|
|
) !default;
|
|
|
|
// Responsiveness
|
|
|
|
// The container horizontal gap, which acts as the offset for breakpoints
|
|
$gap: 32px !default;
|
|
|
|
// 960, 1152, and 1344 have been chosen because they are divisible by both 12 and 16
|
|
$tablet: 769px !default;
|
|
|
|
// 960px container + 4rem
|
|
$desktop: 960px + 2 * $gap !default;
|
|
|
|
// 1152px container + 4rem
|
|
$widescreen: 1152px + 2 * $gap !default;
|
|
$widescreen-enabled: true !default;
|
|
|
|
// 1344px container + 4rem
|
|
$fullhd: 1344px + 2 * $gap !default;
|
|
$fullhd-enabled: true !default;
|
|
$breakpoints: (
|
|
"mobile": (
|
|
"until": $tablet,
|
|
),
|
|
"tablet": (
|
|
"from": $tablet,
|
|
),
|
|
"tablet-only": (
|
|
"from": $tablet,
|
|
"until": $desktop,
|
|
),
|
|
"touch": (
|
|
"from": $desktop,
|
|
),
|
|
"desktop": (
|
|
"from": $desktop,
|
|
),
|
|
"desktop-only": (
|
|
"from": $desktop,
|
|
"until": $widescreen,
|
|
),
|
|
"until-widescreen": (
|
|
"until": $widescreen,
|
|
),
|
|
"widescreen": (
|
|
"from": $widescreen,
|
|
),
|
|
"widescreen-only": (
|
|
"from": $widescreen,
|
|
"until": $fullhd,
|
|
),
|
|
"until-fullhd": (
|
|
"until": $fullhd,
|
|
),
|
|
"fullhd": (
|
|
"from": $fullhd,
|
|
),
|
|
) !default;
|
|
|
|
// Miscellaneous
|
|
|
|
$easing: ease-out !default;
|
|
$radius-small: 0.25rem !default;
|
|
$radius: 0.375rem !default;
|
|
$radius-medium: 0.5em !default;
|
|
$radius-large: 0.75rem !default;
|
|
$radius-rounded: 9999px !default;
|
|
$speed: 86ms !default;
|
|
|
|
// Flags
|
|
|
|
$variable-columns: true !default;
|
|
$rtl: false !default;
|
|
|
|
// Prefixes
|
|
|
|
$class-prefix: "" !default;
|
|
$cssvars-prefix: "bulma-" !default;
|
|
$helpers-prefix: "is-" !default;
|
|
$helpers-has-prefix: "has-" !default;
|