/* Copyright (c) Fortanix, Inc.
|* This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of
|* the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. */

@use 'sass:math';

// Exports for public usage (library consumers)
@forward '../defs.scss';


//
// DEPRECATED
//

// Deprecated: use `$spacing-` variables instead
$sizing-0: 0 !default;
$sizing-1: 0.3rem !default; // ~4.2px ~ $spacing-1 (delta = 0.2px)
$sizing-2: 0.6rem !default; // ~8.4px ~ $spacing-2 (delta = 0.4px)
$sizing-3: 1.2rem !default; // ~16.8px ~ $spacing-4 (delta = 0.8px)
$sizing-4: 1.8rem !default; // ~25.2px ~ $spacing-7 (delta = 1.2px)
$sizing-5: 2.4rem !default; // ~33.6px ~ $spacing-8 (delta = 1.6px)
$sizing-6: 3.0rem !default; // ~42px ~ $spacing-9 (delta = 2px)
$sizing-7: 3.6rem !default; // ~50.4px ~ $spacing-10 (delta = 2.4px)
$sizing-8: 4.2rem !default; // ~58.8px ~ $spacing-10 + $spacing-2 (delta = 2.8px)
$sizing-9: 4.8rem !default; // ~67.2px ~ $spacing-11 (delta = 3.2px)
$sizing-none: $sizing-0 !default;
$sizing-xxs: $sizing-1 !default;
$sizing-xs: $sizing-2 !default;
$sizing-s: $sizing-3 !default;
$sizing-m: $sizing-4 !default;
$sizing-l: $sizing-6 !default;
$sizing-xl: $sizing-8 !default;
$sizing-xxl: $sizing-9 !default;

// Deprecated: use `$radius-<n>` variables instead
$border-radius-s: 0.3rem !default; // ~4.2px
$border-radius-ms: 0.6rem !default; // ~8.4px
$border-radius-m: 1.2rem !default; // ~16.8px
$border-radius-l: 1.8rem !default; // ~25.2px
$border-radius-xl: 3.6rem !default; // ~50.4px
$radius-s: math.div(4, 14) * 1rem !default;
$radius-m: math.div(6, 14) * 1rem !default;
$radius-l: math.div(9, 14) * 1rem !default;

// Deprecated: use the new font-size-2xl, font-size-3xl, etc. variables
$font-size-xxl: math.div(28, 14) * 1rem !default; // ~28px
$font-size-xxxl: math.div(42, 14) * 1rem !default; // ~42px
