/* Breakpoints
 *
 * Important: Remember to keep Sass breakpoints in sync with Tailwind
 * breakpoints in tailwind.config.js!
 *
 * Mappy Breakpoints expects breakpoints in `px` and does automatic
 * conversion to `em` while Tailwind uses the configured values literally.
 */

$breakpoints: (
    'xs': 480px,  // 30rem
    'sm': 640px,  // 40rem
    'md': 768px,  // 48rem
    'lg': 1024px,  // 64rem
    'xl': 1200px, // 75rem
);

// Heading font sizes
// var(--heading-font-size-base) defaults to 1rem
$heading-font-size: var(--heading-font-size-base);
$heading-font-size--125: calc(var(--heading-font-size-base) * 1.25);
$heading-font-size--1375: calc(var(--heading-font-size-base) * 1.375);
$heading-font-size--15: calc(var(--heading-font-size-base) * 1.5);
$heading-font-size--1625: calc(var(--heading-font-size-base) * 1.625);
$heading-font-size--1875: calc(var(--heading-font-size-base) * 1.875);
$heading-font-size--2: calc(var(--heading-font-size-base) * 2);
$heading-font-size--225: calc(var(--heading-font-size-base) * 2.25);
$heading-font-size--2625: calc(var(--heading-font-size-base) * 2.625);
$heading-font-size--3: calc(var(--heading-font-size-base) * 3);
$heading-font-size--35: calc(var(--heading-font-size-base) * 3.5);
$heading-font-size--4: calc(var(--heading-font-size-base) * 4);

// Timing
$transition-time--short: .2s;
$transition-time: .3s;
$transition-time--long: .4s;

$shadow--small: 0 0 5px rgba(12, 12, 13, .1);
$shadow--bottom-inset: inset 0 -4px 8px rgba(12, 12, 13, .03);
$shadow--right-inset: inset -4px 0 8px rgba(12, 12, 13, .03);

$font--main: system, -apple-system, '.SFNSText-Regular', 'San Francisco', 'Roboto', 'Segoe UI', 'Helvetica Neue', 'Lucida Grande', sans-serif;
$font--notes: $font--main;
// stylelint-disable-next-line value-keyword-case
$font--code: Consolas, 'Liberation Mono', Menlo, Courier, monospace;

$border-width: 2px;
$border-style: solid;

$whitespace-scale: 1; // good range: 0.8 - 1.2
$whitespace-base: 30px;

$ruler-size: 37px; // needs to be the size specified as 'rulerHeight' when initializing the ruler in fabricator.js + 2px

$toolbar_height: 55px;

$color-button--background: transparent;
$color-button--background-active: rgba(0, 0, 0, .02);
$color-button--border: #eaeaea;

// Header
$header-height: 5rem;
$header-height--desktop: 6.5rem;

// Used to enhance the logo-height if necessary. Settable via Checkbox in the Backend
$header-height-dynamic: 7rem;
$header-height-dynamic--desktop: 9.5rem;

// Box-shadow
$box-shadow-basic: 0 .5rem 1rem rgba(0, 0, 0, .2);
