@orangesk/orange-design-system 2.0.0-beta.37 → 2.0.0-beta.39
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/components/Carousel/style.css +1 -1
- package/build/components/Carousel/style.css.map +1 -1
- package/build/components/CarouselPromotions/style.css +1 -1
- package/build/components/CarouselPromotions/style.css.map +1 -1
- package/build/components/Footer/style.css +1 -1
- package/build/components/Footer/style.css.map +1 -1
- package/build/components/Grid/style.css +1 -1
- package/build/components/Grid/style.css.map +1 -1
- package/build/components/Loader/style.css +1 -1
- package/build/components/Loader/style.css.map +1 -1
- package/build/components/Preview/style.css +1 -1
- package/build/components/Preview/style.css.map +1 -1
- package/build/components/Table/style.css +1 -1
- package/build/components/Table/style.css.map +1 -1
- package/build/components/index.js +1 -1
- package/build/components/index.js.map +1 -1
- package/build/components/tsconfig.tsbuildinfo +1 -1
- package/build/components/types/index.d.ts +10 -2
- package/build/components/types/src/components/Accordion/Accordion.static.d.ts +2 -0
- package/build/components/types/src/components/Forms/Autocomplete/Autocomplete.d.ts +3 -1
- package/build/components/types/src/components/Forms/Autocomplete/Autocomplete.static.d.ts +1 -0
- package/build/components/types/src/components/Loader/LoaderFullscreen.d.ts +7 -0
- package/build/components/types/src/components/Loader/index.d.ts +1 -0
- package/build/components/types/src/components/Preview/PreviewGenerator.d.ts +2 -0
- package/build/components/types/src/components/index.d.ts +2 -2
- package/build/lib/base.css +1 -1
- package/build/lib/base.css.map +1 -1
- package/build/lib/components.css +1 -1
- package/build/lib/components.css.map +1 -1
- package/build/lib/footer.css +1 -1
- package/build/lib/footer.css.map +1 -1
- package/build/lib/footer.js.map +1 -1
- package/build/lib/megamenu.js.map +1 -1
- package/build/lib/scripts.js +1 -1
- package/build/lib/scripts.js.map +1 -1
- package/build/lib/style.css +1 -1
- package/build/lib/style.css.map +1 -1
- package/build/lib/tsconfig.tsbuildinfo +1 -1
- package/build/lib/utilities.css +1 -1
- package/build/lib/utilities.css.map +1 -1
- package/build/search-index.json +9 -9
- package/package.json +21 -14
- package/src/components/Accordion/Accordion.static.ts +44 -1
- package/src/components/Accordion/tests/Accordion.unit.test.jsx +109 -0
- package/src/components/BlockAction/styles/config.scss +6 -6
- package/src/components/Carousel/styles/mixins.scss +4 -0
- package/src/components/CartTable/styles/mixins.scss +46 -49
- package/src/components/Container/styles/config.scss +2 -2
- package/src/components/Container/styles/mixins.scss +4 -4
- package/src/components/Dropdown/Dropdown.static.ts +2 -1
- package/src/components/Forms/Autocomplete/Autocomplete.static.ts +1 -0
- package/src/components/Forms/Autocomplete/Autocomplete.tsx +6 -1
- package/src/components/Forms/Autocomplete/styles/config.scss +3 -3
- package/src/components/Forms/Checkbox/styles/mixins.scss +2 -2
- package/src/components/Forms/File/styles/config.scss +5 -5
- package/src/components/Forms/Hint/styles/config.scss +1 -1
- package/src/components/Forms/Hint/styles/mixins.scss +2 -2
- package/src/components/Forms/Label/styles/mixins.scss +2 -2
- package/src/components/Forms/Radio/styles/mixins.scss +2 -2
- package/src/components/Forms/Select/styles/mixins.scss +6 -6
- package/src/components/Forms/TextInput/styles/mixins.scss +10 -10
- package/src/components/Grid/styles/mixins.scss +42 -16
- package/src/components/Hero/styles/config.scss +0 -1
- package/src/components/Icon/styles/export/size.scss +2 -2
- package/src/components/Icon/styles/mixins.scss +3 -3
- package/src/components/IconList/styles/config.scss +2 -2
- package/src/components/IconList/styles/style.scss +1 -1
- package/src/components/Loader/LoaderFullscreen.tsx +32 -0
- package/src/components/Loader/index.ts +1 -0
- package/src/components/Loader/styles/config.scss +5 -5
- package/src/components/Loader/styles/mixins.scss +24 -0
- package/src/components/Loader/styles/style.scss +9 -0
- package/src/components/Loader/tests/LoaderFullscreen.conformance.test.jsx +21 -0
- package/src/components/Loader/tests/LoaderFullscreen.unit.test.jsx +41 -0
- package/src/components/Loader/tests/test.scss +1 -1
- package/src/components/Preview/PreviewGenerator.tsx +258 -2
- package/src/components/Preview/styles/style.scss +49 -0
- package/src/components/PromotionCard/styles/config.scss +2 -4
- package/src/components/Skeleton/styles/mixins.scss +3 -3
- package/src/components/Sticker/styles/mixins.scss +2 -2
- package/src/components/Table/docsData.ts +0 -1
- package/src/components/Table/styles/mixins.scss +5 -0
- package/src/components/Tag/styles/mixins.scss +1 -1
- package/src/components/Testimonial/styles/config.scss +25 -22
- package/src/components/Testimonial/styles/mixins.scss +36 -32
- package/src/components/Tooltip/styles/mixins.scss +14 -13
- package/src/components/index.ts +2 -1
- package/src/styles/export/breakpoint.scss +1 -1
- package/src/styles/export/space.scss +1 -1
- package/src/styles/tokens/breakpoint.scss +64 -49
- package/src/styles/tokens/space.scss +9 -9
- package/src/styles/tools/generate.scss +6 -6
- package/src/styles/tools/layout.scss +3 -3
- package/src/styles/tools/map.scss +2 -2
- package/src/styles/tools/text.scss +1 -1
- package/src/styles/typography/config.scss +14 -14
- package/src/styles/utilities/horizontal-scroll.scss +1 -1
- package/src/styles/utilities/index.scss +7 -7
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
@use
|
|
2
|
-
@use
|
|
3
|
-
@use
|
|
4
|
-
@use
|
|
5
|
-
@use
|
|
6
|
-
@use
|
|
1
|
+
@use "sass:math" as math;
|
|
2
|
+
@use "../../../styles/tokens/base";
|
|
3
|
+
@use "../../../styles/tools/generate";
|
|
4
|
+
@use "../../../styles/tools/convert";
|
|
5
|
+
@use "../../../styles/tools/layout";
|
|
6
|
+
@use "./config";
|
|
7
7
|
|
|
8
8
|
@mixin tooltip($config: config.$layout, $offset: config.$offset) {
|
|
9
9
|
position: absolute;
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
}
|
|
19
19
|
|
|
20
20
|
@each $direction, $opposite in config.$direction-opposites {
|
|
21
|
-
&[data-popper-placement^=
|
|
21
|
+
&[data-popper-placement^="#{$direction}"] {
|
|
22
22
|
padding-#{$opposite}: $offset;
|
|
23
23
|
}
|
|
24
24
|
}
|
|
@@ -42,13 +42,14 @@
|
|
|
42
42
|
$size-unitless: convert.strip-units($size);
|
|
43
43
|
$hypotenuse: math.sqrt(
|
|
44
44
|
math.pow($size-unitless, 2) + math.pow($size-unitless, 2)
|
|
45
|
-
) *
|
|
45
|
+
) *
|
|
46
|
+
1rem;
|
|
46
47
|
$arrow-position: $offset - math.div($hypotenuse, 4);
|
|
47
48
|
|
|
48
49
|
display: block;
|
|
49
50
|
|
|
50
51
|
&::before {
|
|
51
|
-
content:
|
|
52
|
+
content: "";
|
|
52
53
|
display: block;
|
|
53
54
|
width: $size;
|
|
54
55
|
height: $size;
|
|
@@ -59,13 +60,13 @@
|
|
|
59
60
|
}
|
|
60
61
|
|
|
61
62
|
@each $direction, $opposite in config.$direction-opposites {
|
|
62
|
-
[data-popper-placement^=
|
|
63
|
+
[data-popper-placement^="#{$direction}"] & {
|
|
63
64
|
#{$opposite}: $arrow-position;
|
|
64
65
|
}
|
|
65
66
|
}
|
|
66
67
|
|
|
67
68
|
@each $direction, $reset-directions in config.$direction-border-color-reset {
|
|
68
|
-
[data-popper-placement^=
|
|
69
|
+
[data-popper-placement^="#{$direction}"] &:before {
|
|
69
70
|
@each $reset-direction in $reset-directions {
|
|
70
71
|
border-#{$reset-direction}-color: transparent;
|
|
71
72
|
}
|
|
@@ -80,7 +81,7 @@
|
|
|
80
81
|
@include base.focusring-round;
|
|
81
82
|
|
|
82
83
|
&::before {
|
|
83
|
-
content:
|
|
84
|
+
content: "";
|
|
84
85
|
position: absolute;
|
|
85
86
|
top: convert.to-rem(-10px);
|
|
86
87
|
left: convert.to-rem(-10px);
|
|
@@ -91,4 +92,4 @@
|
|
|
91
92
|
|
|
92
93
|
@mixin info-tooltip-active-icon {
|
|
93
94
|
color: config.$icon-active-color;
|
|
94
|
-
}
|
|
95
|
+
}
|
package/src/components/index.ts
CHANGED
|
@@ -60,7 +60,7 @@ import { IconList, Item } from "./IconList";
|
|
|
60
60
|
import { Image } from "./Image";
|
|
61
61
|
import { Link } from "./Link";
|
|
62
62
|
import { List, ListItem } from "./List";
|
|
63
|
-
import { Loader } from "./Loader";
|
|
63
|
+
import { Loader, LoaderFullscreen } from "./Loader";
|
|
64
64
|
import { Megamenu, MegamenuBlog } from "./Megamenu";
|
|
65
65
|
import {
|
|
66
66
|
Modal,
|
|
@@ -155,6 +155,7 @@ export {
|
|
|
155
155
|
List,
|
|
156
156
|
ListItem,
|
|
157
157
|
Loader,
|
|
158
|
+
LoaderFullscreen,
|
|
158
159
|
Megamenu,
|
|
159
160
|
MegamenuBlog,
|
|
160
161
|
Message,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
@use "sass:list";
|
|
2
2
|
@use "sass:meta";
|
|
3
|
-
@use
|
|
4
|
-
@use
|
|
3
|
+
@use "sass:map" as sassmap;
|
|
4
|
+
@use "../tools/map";
|
|
5
5
|
|
|
6
6
|
$map: (
|
|
7
7
|
xs: 0,
|
|
@@ -12,78 +12,93 @@ $map: (
|
|
|
12
12
|
xxl: 1380px,
|
|
13
13
|
);
|
|
14
14
|
|
|
15
|
-
@mixin get(
|
|
16
|
-
@if (not sassmap.has-key($map, $breakpoint) and $breakpoint !=
|
|
15
|
+
@mixin get($breakpoint, $param: false) {
|
|
16
|
+
@if (not sassmap.has-key($map, $breakpoint) and $breakpoint != "default") {
|
|
17
17
|
@warn 'Breakpoint "#{$breakpoint}" is not defined.';
|
|
18
18
|
|
|
19
|
-
@debug
|
|
19
|
+
@debug "Available breakpoints:"; // stylelint-disable-line at-rule-disallowed-list
|
|
20
20
|
@debug $map; // stylelint-disable-line at-rule-disallowed-list
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
@if (
|
|
24
24
|
($breakpoint == list.nth(sassmap.keys($map), 1) and not $param) or
|
|
25
|
-
|
|
26
|
-
|
|
25
|
+
(not $breakpoint) or
|
|
26
|
+
($breakpoint == "default")
|
|
27
27
|
) {
|
|
28
28
|
@content;
|
|
29
29
|
} @else if not $param {
|
|
30
30
|
// no param, just a standard mobile first media query
|
|
31
|
-
@if sassmap.has-key(
|
|
31
|
+
@if sassmap.has-key($map, $breakpoint) {
|
|
32
32
|
// breakpoint is in breakpoint map, let's use stored value
|
|
33
|
-
@media screen and (min-width: sassmap.get($map, $breakpoint)) {
|
|
33
|
+
@media screen and (min-width: sassmap.get($map, $breakpoint)) {
|
|
34
|
+
@content;
|
|
35
|
+
}
|
|
34
36
|
} @else {
|
|
35
37
|
// breakpoint is not in breakpoint map, let's use custom value
|
|
36
|
-
@media screen and (min-width: $breakpoint) {
|
|
38
|
+
@media screen and (min-width: $breakpoint) {
|
|
39
|
+
@content;
|
|
40
|
+
}
|
|
37
41
|
}
|
|
38
|
-
} @else if (
|
|
39
|
-
$param == 'down' and
|
|
40
|
-
map.next($map, $breakpoint)
|
|
41
|
-
) {
|
|
42
|
+
} @else if ($param == "down" and map.next($map, $breakpoint)) {
|
|
42
43
|
@media screen and (max-width: map.next($map, $breakpoint) - 0.02px) {
|
|
43
44
|
@content;
|
|
44
45
|
}
|
|
45
|
-
} @else if (
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
46
|
+
} @else if ($param == "down" and not sassmap.has-key($map, $breakpoint)) {
|
|
47
|
+
@media screen and (max-width: $breakpoint) {
|
|
48
|
+
@content;
|
|
49
|
+
}
|
|
50
|
+
} @else if ($param == "only" and map.next($map, $breakpoint)) {
|
|
51
|
+
@media screen and (min-width: sassmap.get($map, $breakpoint)) and (max-width: map.next($map, $breakpoint) - 0.02px) {
|
|
52
|
+
@content;
|
|
53
|
+
}
|
|
54
|
+
} @else if
|
|
55
|
+
(sassmap.has-key($map, $param) and sassmap.has-key($map, $breakpoint))
|
|
56
|
+
{
|
|
57
|
+
@media screen and (min-width: sassmap.get($map, $breakpoint)) and (max-width: sassmap.get($map, $param) - 0.02px) {
|
|
58
|
+
@content;
|
|
59
|
+
}
|
|
60
|
+
} @else if
|
|
61
|
+
(
|
|
62
|
+
$param ==
|
|
63
|
+
"downfrom" and
|
|
64
|
+
sassmap.get($map, $breakpoint) >
|
|
65
|
+
0 and
|
|
66
|
+
$breakpoint !=
|
|
67
|
+
"xs"
|
|
68
|
+
)
|
|
69
|
+
{
|
|
69
70
|
@media screen and (max-width: sassmap.get($map, $breakpoint) - 0.02px) {
|
|
70
71
|
@content;
|
|
71
72
|
} // -1
|
|
72
|
-
} @else if (meta.type-of($param) ==
|
|
73
|
+
} @else if (meta.type-of($param) == "number") {
|
|
73
74
|
@if sassmap.has-key($map, $breakpoint) {
|
|
74
75
|
// breakpoint is in breakpoint map
|
|
75
|
-
@media screen and
|
|
76
|
-
|
|
77
|
-
|
|
76
|
+
@media screen and (min-width: sassmap.get($map, $breakpoint)) and (max-width: $param) {
|
|
77
|
+
@content;
|
|
78
|
+
}
|
|
78
79
|
} @else {
|
|
79
80
|
// breakpoint is not in breakpoint map, let's use custom value
|
|
80
|
-
@media screen and (min-width: $breakpoint) and (max-width: $param) {
|
|
81
|
+
@media screen and (min-width: $breakpoint) and (max-width: $param) {
|
|
82
|
+
@content;
|
|
83
|
+
}
|
|
81
84
|
}
|
|
82
|
-
} @else if
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
85
|
+
} @else if
|
|
86
|
+
(
|
|
87
|
+
not
|
|
88
|
+
(
|
|
89
|
+
$breakpoint == list.nth(sassmap.keys($map), -1) and $param == "down"
|
|
90
|
+
) and not
|
|
91
|
+
(
|
|
92
|
+
$breakpoint == list.nth(sassmap.keys($map), -1) and $param == "only"
|
|
93
|
+
) and not
|
|
94
|
+
(
|
|
95
|
+
$breakpoint ==
|
|
96
|
+
list.nth(sassmap.keys($map), 1) and
|
|
97
|
+
$param ==
|
|
98
|
+
"downfrom"
|
|
99
|
+
)
|
|
100
|
+
)
|
|
101
|
+
{
|
|
87
102
|
// do nothing on known edge cases. we just dont generate any code.
|
|
88
103
|
@warn 'Breakpoint is not configured properly #{$breakpoint}, #{$param}';
|
|
89
104
|
}
|
|
@@ -92,7 +107,7 @@ $map: (
|
|
|
92
107
|
@mixin each() {
|
|
93
108
|
@each $breakpoint, $size in $map {
|
|
94
109
|
@include get($breakpoint) {
|
|
95
|
-
@content($breakpoint);
|
|
110
|
+
@content ($breakpoint);
|
|
96
111
|
}
|
|
97
112
|
}
|
|
98
113
|
}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
@use "sass:map";
|
|
2
2
|
@use "sass:math";
|
|
3
|
-
@use
|
|
3
|
+
@use "../tools/convert";
|
|
4
4
|
|
|
5
5
|
$map: (
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
6
|
+
"none": 0,
|
|
7
|
+
"xsmall": 5px,
|
|
8
|
+
"small": 10px,
|
|
9
|
+
"medium": 20px,
|
|
10
|
+
"large": 30px,
|
|
11
|
+
"xlarge": 60px,
|
|
12
12
|
);
|
|
13
13
|
|
|
14
14
|
/// Get space size from $space
|
|
@@ -16,11 +16,11 @@ $map: (
|
|
|
16
16
|
/// @example
|
|
17
17
|
/// get-space();
|
|
18
18
|
/// get-space('small');
|
|
19
|
-
@function get($size:
|
|
19
|
+
@function get($size: "medium") {
|
|
20
20
|
@if map.has-key($map, $size) {
|
|
21
21
|
$space: map.get($map, $size);
|
|
22
22
|
|
|
23
|
-
@return if(math.unit($space) ==
|
|
23
|
+
@return if(math.unit($space) == "rem", $space, convert.to-rem($space));
|
|
24
24
|
} @else {
|
|
25
25
|
@error 'Cannot find key ($size) \'#{$size}\' in $space \'#{$space}\'';
|
|
26
26
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
@use
|
|
2
|
-
@use
|
|
1
|
+
@use "../tokens/breakpoint";
|
|
2
|
+
@use "./map" as *;
|
|
3
3
|
|
|
4
4
|
/// Get css propeties from map
|
|
5
5
|
///
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
/// @param {Map} $map - map
|
|
69
69
|
/// @param {Map} $className - class name of element
|
|
70
70
|
/// @param {Map} $classSuffix - suffix for class name of element
|
|
71
|
-
@mixin variants($map, $className:
|
|
71
|
+
@mixin variants($map, $className: "", $classSuffix: "") {
|
|
72
72
|
@each $variant, $props in $map {
|
|
73
73
|
#{if(&, "&", "")}#{$className + variant-name($variant) + $classSuffix} {
|
|
74
74
|
@include css-map($props);
|
|
@@ -81,7 +81,7 @@
|
|
|
81
81
|
/// @param {Map} $map - map
|
|
82
82
|
/// @param {Map} $className - class name of element
|
|
83
83
|
/// @param {Map} $classSuffix - suffix for class name of element
|
|
84
|
-
@mixin responsive-variants($map, $className:
|
|
84
|
+
@mixin responsive-variants($map, $className: "", $classSuffix: "") {
|
|
85
85
|
@each $breakpoint, $props in $map {
|
|
86
86
|
@include breakpoint.get($breakpoint) {
|
|
87
87
|
@include variants($props, $className, $classSuffix);
|
|
@@ -97,9 +97,9 @@
|
|
|
97
97
|
/// // -primary
|
|
98
98
|
/// variant-name('default')
|
|
99
99
|
///
|
|
100
|
-
@function variant-name($name, $prefix:
|
|
100
|
+
@function variant-name($name, $prefix: "--", $suffix: "") {
|
|
101
101
|
@if not $name or $name == default or $name == xs {
|
|
102
|
-
@return
|
|
102
|
+
@return "";
|
|
103
103
|
}
|
|
104
104
|
|
|
105
105
|
@return #{$prefix + $name + $suffix};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
@use
|
|
1
|
+
@use "../tokens/base";
|
|
2
2
|
|
|
3
3
|
// -- Nicolas Gallagher's micro clearfix
|
|
4
4
|
@mixin clearfix {
|
|
5
5
|
&::before,
|
|
6
6
|
&::after {
|
|
7
7
|
// For modern browsers
|
|
8
|
-
content:
|
|
8
|
+
content: "";
|
|
9
9
|
display: table;
|
|
10
10
|
}
|
|
11
11
|
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
* Resets margin-bottom of the last child to zero
|
|
19
19
|
*/
|
|
20
20
|
@mixin reset-last-child-margin-bottom {
|
|
21
|
-
> :not([class*=
|
|
21
|
+
> :not([class*="mb\-"]):last-child {
|
|
22
22
|
margin-bottom: 0;
|
|
23
23
|
}
|
|
24
24
|
}
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
/// @param {Mixed} $key - Key to use as a starting point.
|
|
10
10
|
///
|
|
11
11
|
/// @returns {Mixed} The value for the key after `$key`, if `$key` was found. If `$key` was not found, or `$key` was the last value in the map, returns `null`.
|
|
12
|
-
@function next($map, $key, $return:
|
|
12
|
+
@function next($map, $key, $return: "value") {
|
|
13
13
|
// Store the keys of the map as a list
|
|
14
14
|
$values: map.keys($map);
|
|
15
15
|
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
}
|
|
27
27
|
// Otherwise, return the value
|
|
28
28
|
@else {
|
|
29
|
-
@if $return ==
|
|
29
|
+
@if $return == "value" {
|
|
30
30
|
@return map.get($map, list.nth($values, $i));
|
|
31
31
|
} @else {
|
|
32
32
|
@return list.nth($values, $i);
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
/// @param {String} $search - Substring to replace
|
|
13
13
|
/// @param {String} $replace ('') - New value
|
|
14
14
|
/// @return {String} - Updated string
|
|
15
|
-
@function str-replace($string, $search, $replace:
|
|
15
|
+
@function str-replace($string, $search, $replace: "") {
|
|
16
16
|
$index: string.index($string, $search);
|
|
17
17
|
|
|
18
18
|
@if $index {
|
|
@@ -67,12 +67,12 @@ $body-text: (
|
|
|
67
67
|
|
|
68
68
|
$heading-base: (
|
|
69
69
|
margin-top: 0,
|
|
70
|
-
margin-bottom: space.get("large"),
|
|
70
|
+
margin-bottom: space.get("large"),
|
|
71
71
|
);
|
|
72
72
|
|
|
73
73
|
$display-base: (
|
|
74
74
|
margin-top: 0,
|
|
75
|
-
margin-bottom: space.get("large"),
|
|
75
|
+
margin-bottom: space.get("large"),
|
|
76
76
|
);
|
|
77
77
|
|
|
78
78
|
$headings: (
|
|
@@ -120,27 +120,27 @@ $headings: (
|
|
|
120
120
|
default: (
|
|
121
121
|
font-size: convert.to-rem(24px),
|
|
122
122
|
line-height: convert.to-rem(28px),
|
|
123
|
-
font-weight:
|
|
123
|
+
font-weight: 700,
|
|
124
124
|
letter-spacing: convert.to-rem(-0.6px),
|
|
125
125
|
),
|
|
126
126
|
md: (
|
|
127
127
|
font-size: convert.to-rem(28px),
|
|
128
128
|
line-height: convert.to-rem(32px),
|
|
129
|
-
font-weight:
|
|
129
|
+
font-weight: 700,
|
|
130
130
|
letter-spacing: convert.to-rem(-0.6px),
|
|
131
131
|
),
|
|
132
132
|
),
|
|
133
133
|
4: (
|
|
134
134
|
default: (
|
|
135
|
-
font-size: convert.to-rem(
|
|
136
|
-
line-height: convert.to-rem(
|
|
137
|
-
font-weight:
|
|
135
|
+
font-size: convert.to-rem(16px),
|
|
136
|
+
line-height: convert.to-rem(20px),
|
|
137
|
+
font-weight: 700,
|
|
138
138
|
letter-spacing: convert.to-rem(-0.1px),
|
|
139
139
|
),
|
|
140
140
|
md: (
|
|
141
141
|
font-size: convert.to-rem(24px),
|
|
142
142
|
line-height: convert.to-rem(28px),
|
|
143
|
-
font-weight:
|
|
143
|
+
font-weight: 700,
|
|
144
144
|
letter-spacing: convert.to-rem(-0.4px),
|
|
145
145
|
),
|
|
146
146
|
),
|
|
@@ -148,27 +148,27 @@ $headings: (
|
|
|
148
148
|
default: (
|
|
149
149
|
font-size: convert.to-rem(16px),
|
|
150
150
|
line-height: convert.to-rem(20px),
|
|
151
|
-
font-weight:
|
|
151
|
+
font-weight: 700,
|
|
152
152
|
letter-spacing: convert.to-rem(-0.1px),
|
|
153
153
|
),
|
|
154
154
|
md: (
|
|
155
155
|
font-size: convert.to-rem(18px),
|
|
156
156
|
line-height: convert.to-rem(22px),
|
|
157
|
-
font-weight:
|
|
157
|
+
font-weight: 700,
|
|
158
158
|
letter-spacing: convert.to-rem(-0.2px),
|
|
159
159
|
),
|
|
160
160
|
),
|
|
161
161
|
6: (
|
|
162
162
|
default: (
|
|
163
163
|
font-size: convert.to-rem(16px),
|
|
164
|
-
line-height: convert.to-rem(
|
|
165
|
-
font-weight:
|
|
164
|
+
line-height: convert.to-rem(20px),
|
|
165
|
+
font-weight: 700,
|
|
166
166
|
letter-spacing: convert.to-rem(-0.1px),
|
|
167
167
|
),
|
|
168
168
|
md: (
|
|
169
169
|
font-size: convert.to-rem(18px),
|
|
170
|
-
line-height: convert.to-rem(
|
|
171
|
-
font-weight:
|
|
170
|
+
line-height: convert.to-rem(22px),
|
|
171
|
+
font-weight: 700,
|
|
172
172
|
letter-spacing: convert.to-rem(-0.2px),
|
|
173
173
|
),
|
|
174
174
|
),
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
@forward
|
|
2
|
-
@forward
|
|
3
|
-
@forward
|
|
4
|
-
@forward
|
|
5
|
-
@forward
|
|
6
|
-
@forward
|
|
7
|
-
@forward
|
|
1
|
+
@forward "color";
|
|
2
|
+
@forward "text";
|
|
3
|
+
@forward "border";
|
|
4
|
+
@forward "layout";
|
|
5
|
+
@forward "visibility";
|
|
6
|
+
@forward "ordering";
|
|
7
|
+
@forward "horizontal-scroll";
|