mirror of
https://github.com/penpot/penpot.git
synced 2026-05-28 11:23:42 +00:00
* 🎉 Add tips to the default loader component * 📎 Use simplier approach for show tips This commit also fixes other minor issues * 📎 Extract to constants the loader path data * 📎 Use properly tracked translations for loader tips --------- Co-authored-by: Andrey Antukh <niwi@niwi.nz>
32 lines
723 B
SCSS
32 lines
723 B
SCSS
// 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/.
|
|
//
|
|
// Copyright (c) KALEIDOS INC
|
|
|
|
@use "./utils.scss" as *;
|
|
|
|
$_sp-2: px2rem(2);
|
|
$_sp-4: px2rem(4);
|
|
$_sp-8: px2rem(8);
|
|
$_sp-12: px2rem(12);
|
|
$_sp-16: px2rem(16);
|
|
$_sp-20: px2rem(20);
|
|
$_sp-24: px2rem(24);
|
|
$_sp-32: px2rem(32);
|
|
$_sp-600: px2rem(600);
|
|
$_sp-800: px2rem(800);
|
|
|
|
:global(:root) {
|
|
--sp-xxs: #{$_sp-2};
|
|
--sp-xs: #{$_sp-4};
|
|
--sp-s: #{$_sp-8};
|
|
--sp-m: #{$_sp-12};
|
|
--sp-l: #{$_sp-16};
|
|
--sp-xl: #{$_sp-20};
|
|
--sp-xxl: #{$_sp-24};
|
|
--sp-xxxl: #{$_sp-32};
|
|
--sp-600: #{$_sp-600};
|
|
--sp-800: #{$_sp-800};
|
|
}
|