-
Notifications
You must be signed in to change notification settings - Fork 109
/
Copy pathvars.css
58 lines (53 loc) · 1.4 KB
/
vars.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
/* 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/. */
@import "./vars/font.css";
@import "./vars/color.css";
@import "./vars/color-theme_alfa-on-color.css";
@import "./vars/color-theme_alfa-on-white.css";
@import "./vars/opacity.css";
@import "./vars/border.css";
@import "./vars/shadow.css";
@import "./vars/primitive-colors.css";
:root {
--content-width: 1092px;
/**
* Брейкпоинты
*/
--mobile-s: 320px;
--mobile-m: 375px;
--mobile-l: 412px;
--tablet-s: 600px;
--tablet-m: 768px;
--desktop-s: 1024px;
--desktop-m: 1280px;
--desktop-l: 1440px;
--desktop-xl: 1920px;
/**
* Система отступов
* https://github.com/alfa-laboratory/arui-feather/blob/master/GUIDE.md
*/
--gap-2xs: 4px;
--gap-xs: 8px;
--gap-s: 12px;
--gap-m: 16px;
--gap-l: 20px;
--gap-xl: 24px;
--gap-2xl: 32px;
--gap-3xl: 40px;
--gap-4xl: 48px;
--gap-5xl: 72px;
/**
* Отрицательные отступы
*/
--gap-2xs-neg: -4px;
--gap-xs-neg: -8px;
--gap-s-neg: -12px;
--gap-m-neg: -16px;
--gap-l-neg: -20px;
--gap-xl-neg: -24px;
--gap-2xl-neg: -32px;
--gap-3xl-neg: -40px;
--gap-4xl-neg: -48px;
--gap-5xl-neg: -72px;
}