@snyk-mktg/brand-ui 2.5.9-canary.1 → 2.5.9-canary.4
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/dist/scss/base/_color.scss +1 -16
- package/dist/scss/base/_layout.scss +7 -11
- package/dist/scss/base/decorations/_markers.scss +28 -26
- package/dist/scss/base/mixins/_accessibility.scss +6 -0
- package/dist/scss/base/mixins/_color-mode.scss +7 -0
- package/dist/scss/base/variables/_colors.scss +34 -29
- package/dist/scss/base/variables/_themes.scss +17 -17
- package/dist/scss/base/variables/_typography.scss +41 -49
- package/dist/scss/base.scss +4 -2
- package/dist/scss/components/atoms/_badge.scss +1 -1
- package/dist/scss/components/atoms/_button.scss +11 -116
- package/dist/scss/components/atoms/_checkbox.scss +12 -2
- package/dist/scss/components/atoms/_dropdown.scss +3 -3
- package/dist/scss/components/atoms/_feature-checkmark.scss +0 -1
- package/dist/scss/components/atoms/_icons.scss +5 -2
- package/dist/scss/components/atoms/_tabs.scss +4 -4
- package/dist/scss/components/atoms/triggers/_filter.scss +1 -1
- package/dist/scss/components/molecules/_announcements.scss +4 -4
- package/dist/scss/components/molecules/_pagination.scss +3 -3
- package/dist/scss/components/molecules/_share-this.scss +2 -1
- package/dist/scss/components/molecules/_tables.scss +59 -2
- package/dist/scss/components/molecules/cards/_card.scss +7 -8
- package/dist/scss/components/organisms/_glossary.scss +7 -0
- package/dist/scss/components/organisms/_split-content.scss +0 -4
- package/dist/scss/components/organisms/_sub-navigation.scss +1 -1
- package/dist/scss/components/organisms/ctas/_basic-cta.scss +6 -4
- package/dist/scss/components/organisms/heroes/_hero-case-study.scss +4 -7
- package/dist/scss/evo/_components.scss +1 -1
- package/dist/scss/evo/base/variables/_typography.scss +1 -0
- package/dist/scss/evo/components/atoms/_button.scss +88 -0
- package/dist/scss/evo/components/molecules/_share-this.scss +44 -0
- package/dist/scss/evo/components/molecules/cards/_card.scss +3 -0
- package/dist/scss/evo/components/organisms/_footer.scss +14 -0
- package/dist/scss/evo/components/organisms/ctas/_basic-cta.scss +1 -0
- package/dist/scss/labs/base/variables/_colors.scss +8 -0
- package/dist/scss/labs/base/variables/_typography.scss +44 -0
- package/dist/scss/labs/components/atoms/_button.scss +12 -0
- package/dist/scss/labs/components/atoms/triggers/_play.scss +1 -1
- package/dist/scss/labs/components/molecules/_pagination.scss +5 -0
- package/dist/scss/labs/components/molecules/cards/_card.scss +10 -0
- package/dist/scss/labs/components/organisms/ctas/_basic-cta.scss +2 -0
- package/dist/scss/labs/utilities/_rich-text.scss +13 -0
- package/dist/scss/utilities/_rich-text.scss +1 -1
- package/package.json +1 -1
|
@@ -45,18 +45,7 @@ $label-colors: (
|
|
|
45
45
|
|
|
46
46
|
.txt-ui-hero {
|
|
47
47
|
max-width: max-content;
|
|
48
|
-
@include colors.
|
|
49
|
-
background-image,
|
|
50
|
-
'linear',
|
|
51
|
-
140deg,
|
|
52
|
-
RGBA(brandui-rgb-labels(ui-headline), 1),
|
|
53
|
-
RGBA(brandui-rgb-labels(ui-headline), 0.5),
|
|
54
|
-
RGBA(brandui-rgb-labels(ui-headline-dark), 1),
|
|
55
|
-
RGBA(brandui-rgb-labels(ui-headline-dark), 0.7)
|
|
56
|
-
) {
|
|
57
|
-
background-clip: text;
|
|
58
|
-
color: transparent;
|
|
59
|
-
}
|
|
48
|
+
@include colors.color-mode(color, brandui-color-labels(ui-headline), brandui-color-labels(ui-headline-dark));
|
|
60
49
|
}
|
|
61
50
|
|
|
62
51
|
.txt-theme-solid {
|
|
@@ -132,10 +121,6 @@ $label-colors: (
|
|
|
132
121
|
@include theme.theme-gradient(background, linear, 140deg, gradient-secondary);
|
|
133
122
|
}
|
|
134
123
|
|
|
135
|
-
.spotlight {
|
|
136
|
-
@include theme.theme-color(background-color, spotlight);
|
|
137
|
-
}
|
|
138
|
-
|
|
139
124
|
.bg-gradient-midnight-overlay {
|
|
140
125
|
height: 130%;
|
|
141
126
|
background: linear-gradient(
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
@use '../base/variables/effects' as *;
|
|
6
6
|
@use '../base/mixins/breakpoints' as breaks;
|
|
7
7
|
@use '../base/mixins/glass' as glass;
|
|
8
|
+
@use '../base/mixins/color-mode' as color;
|
|
8
9
|
@use '../base/functions' as *;
|
|
9
10
|
|
|
10
11
|
$position-spaces: (none, hairline, thin, slim, extra-small, small, medium, large, extra-large, huge);
|
|
@@ -93,17 +94,12 @@ $position-spaces: (none, hairline, thin, slim, extra-small, small, medium, large
|
|
|
93
94
|
margin-right: auto;
|
|
94
95
|
}
|
|
95
96
|
|
|
96
|
-
.
|
|
97
|
-
.
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
border-radius: map.get($brandui-radius, large);
|
|
103
|
-
box-shadow: map.get($brandui-shadow, outline);
|
|
104
|
-
@include glass.bg-glass;
|
|
105
|
-
@include glass.border-glass;
|
|
106
|
-
}
|
|
97
|
+
.bg-boxed {
|
|
98
|
+
padding: map.get($brandui-padding, extra-large);
|
|
99
|
+
border-width: 1px;
|
|
100
|
+
border-radius: map.get($brandui-radius, small);
|
|
101
|
+
border-style: solid;
|
|
102
|
+
@include color.color-mode(border-color, RGBA(brandui-rgb-labels(neutral-1), 0.3), RGBA(brandui-rgb-labels(neutral-6), 0.3));
|
|
107
103
|
}
|
|
108
104
|
|
|
109
105
|
.brandui-backdrop {
|
|
@@ -3,6 +3,8 @@
|
|
|
3
3
|
@use '../../base/mixins/color-mode' as colors;
|
|
4
4
|
@use '../../base/functions' as *;
|
|
5
5
|
|
|
6
|
+
// TODO, remove once we have confirmed that new brand is real
|
|
7
|
+
|
|
6
8
|
/**
|
|
7
9
|
* Note >> The markers are all PNGs that use the Cloudinary transformations
|
|
8
10
|
* to add the proper color-mode color and then convert to SVG. This is the
|
|
@@ -10,30 +12,30 @@
|
|
|
10
12
|
* See the Transformation Center in Cloudinary for the custom marker
|
|
11
13
|
* transformations.
|
|
12
14
|
*/
|
|
13
|
-
@each $marker-key, $marker-url in $brandui-marker-highlight-styles {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
}
|
|
15
|
+
// @each $marker-key, $marker-url in $brandui-marker-highlight-styles {
|
|
16
|
+
// .marker-highlight-#{$marker-key} {
|
|
17
|
+
// color: inherit;
|
|
18
|
+
// background-color: transparent;
|
|
19
|
+
// position: relative;
|
|
20
|
+
// display: inline;
|
|
21
|
+
// // Adds a little space around the text relative to the font size
|
|
22
|
+
// padding: 0.1em 0.3em;
|
|
23
|
+
// background-position: 100%;
|
|
24
|
+
// background-size: 100% 100%;
|
|
25
|
+
// background-repeat: no-repeat;
|
|
26
|
+
// @include colors.color-mode(background-image, url('#{$brandui-marker-light}#{$marker-url}'), url('#{$brandui-marker-dark}#{$marker-url}'));
|
|
27
|
+
// }
|
|
28
|
+
// }
|
|
27
29
|
|
|
28
|
-
@each $marker-key, $marker-url in $brandui-marker-line-styles {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
}
|
|
30
|
+
// @each $marker-key, $marker-url in $brandui-marker-line-styles {
|
|
31
|
+
// .marker-line-#{$marker-key} {
|
|
32
|
+
// max-width: brandui-col-spacing(2);
|
|
33
|
+
// width: 100%;
|
|
34
|
+
// height: 3rem;
|
|
35
|
+
// position: relative;
|
|
36
|
+
// display: block;
|
|
37
|
+
// background-size: 100%;
|
|
38
|
+
// background-repeat: no-repeat;
|
|
39
|
+
// @include colors.color-mode(background-image, url('#{$brandui-marker-light}#{$marker-url}'), url('#{$brandui-marker-dark}#{$marker-url}'));
|
|
40
|
+
// }
|
|
41
|
+
// }
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
@use './accessibility' as a11y;
|
|
1
2
|
/* Mixins for light/dark modes */
|
|
2
3
|
@mixin color-mode($property, $light-value, $dark-value) {
|
|
3
4
|
// Default light mode
|
|
@@ -11,6 +12,12 @@
|
|
|
11
12
|
#{$property}: $dark-value;
|
|
12
13
|
@content;
|
|
13
14
|
}
|
|
15
|
+
|
|
16
|
+
// Uncomment this when we are ready to offer dark mode toggle support
|
|
17
|
+
// @include a11y.prefers-dark {
|
|
18
|
+
// #{$property}: $dark-value;
|
|
19
|
+
// @content;
|
|
20
|
+
// }
|
|
14
21
|
}
|
|
15
22
|
|
|
16
23
|
// Because mixins can sometime be invalid when chaining to pseudo-classes, we need to manually do this
|
|
@@ -31,14 +31,15 @@ $evoui-colors: (
|
|
|
31
31
|
/* Color variables */
|
|
32
32
|
$brandui-colors: (
|
|
33
33
|
'dark-purple': #441c99,
|
|
34
|
-
'purple': #
|
|
34
|
+
'purple': #8d1ff4,
|
|
35
35
|
'lavender': #c481f3,
|
|
36
36
|
'black': #000,
|
|
37
37
|
'space': #01011e,
|
|
38
38
|
'midnight': #030328,
|
|
39
39
|
'ocean': #181846,
|
|
40
|
+
'dark-grey': #202020,
|
|
40
41
|
'dawn': #383f76,
|
|
41
|
-
'steel': #
|
|
42
|
+
'steel': #c0bce5,
|
|
42
43
|
'smoke': #6d6d9c,
|
|
43
44
|
'snow': #f6f7fb,
|
|
44
45
|
'white': #fff,
|
|
@@ -73,49 +74,53 @@ $brandui-colors: map.merge($brandui-colors, $custom-theme);
|
|
|
73
74
|
|
|
74
75
|
// 2.0 Standardized color labels for theming
|
|
75
76
|
$brandui-color-labels: (
|
|
76
|
-
'default': map.get($brandui-colors, '
|
|
77
|
-
'default-dark': map.get($brandui-colors, '
|
|
78
|
-
'ui-headline': map.get($brandui-colors, '
|
|
79
|
-
'ui-headline-dark': map.get($brandui-colors, '
|
|
80
|
-
'ui-body': map.get($brandui-colors, '
|
|
77
|
+
'default': map.get($brandui-colors, 'snow'),
|
|
78
|
+
'default-dark': map.get($brandui-colors, 'black'),
|
|
79
|
+
'ui-headline': map.get($brandui-colors, 'black'),
|
|
80
|
+
'ui-headline-dark': map.get($brandui-colors, 'snow'),
|
|
81
|
+
'ui-body': map.get($brandui-colors, 'black'),
|
|
81
82
|
'ui-body-dark': map.get($brandui-colors, 'snow'),
|
|
82
|
-
'ui-fill': map.get($brandui-colors, '
|
|
83
|
-
'ui-fill-dark': map.get($brandui-colors, '
|
|
84
|
-
'ui-stroke': map.get($brandui-colors, '
|
|
85
|
-
'ui-stroke-dark': map.get($brandui-colors, '
|
|
86
|
-
'ui-text': map.get($brandui-colors, '
|
|
83
|
+
'ui-fill': map.get($brandui-colors, 'steel'),
|
|
84
|
+
'ui-fill-dark': map.get($brandui-colors, 'dark-grey'),
|
|
85
|
+
'ui-stroke': map.get($brandui-colors, 'snow'),
|
|
86
|
+
'ui-stroke-dark': map.get($brandui-colors, 'black'),
|
|
87
|
+
'ui-text': map.get($brandui-colors, 'black'),
|
|
87
88
|
'ui-text-dark': map.get($brandui-colors, 'snow'),
|
|
88
|
-
'action': map.get($brandui-colors, '
|
|
89
|
-
'action-dark': map.get($brandui-colors, '
|
|
90
|
-
'action-outline': map.get($brandui-colors, '
|
|
91
|
-
'action-contrast': map.get($brandui-colors, '
|
|
92
|
-
'action-contrast-dark': map.get($brandui-colors, '
|
|
93
|
-
'action-secondary': map.get($brandui-colors, '
|
|
94
|
-
'action-secondary-dark': map.get($brandui-colors, '
|
|
95
|
-
'action-secondary-contrast': map.get($brandui-colors, '
|
|
96
|
-
'action-secondary-contrast-dark': map.get($brandui-colors, '
|
|
89
|
+
'action': map.get($brandui-colors, 'black'),
|
|
90
|
+
'action-dark': map.get($brandui-colors, 'snow'),
|
|
91
|
+
'action-outline': map.get($brandui-colors, 'snow'),
|
|
92
|
+
'action-contrast': map.get($brandui-colors, 'snow'),
|
|
93
|
+
'action-contrast-dark': map.get($brandui-colors, 'black'),
|
|
94
|
+
'action-secondary': map.get($brandui-colors, 'snow'),
|
|
95
|
+
'action-secondary-dark': map.get($brandui-colors, 'black'),
|
|
96
|
+
'action-secondary-contrast': map.get($brandui-colors, 'black'),
|
|
97
|
+
'action-secondary-contrast-dark': map.get($brandui-colors, 'snow'),
|
|
98
|
+
'action-tertiary': map.get($brandui-colors, 'purple'),
|
|
99
|
+
'action-tertiary-dark': map.get($brandui-colors, 'lavender'),
|
|
100
|
+
'action-tertiary-contrast': map.get($brandui-colors, 'black'),
|
|
101
|
+
'action-tertiary-contrast-dark': map.get($brandui-colors, 'black'),
|
|
97
102
|
'info': map.get($brandui-colors, 'dark-purple'),
|
|
98
103
|
'info-dark': map.get($brandui-colors, 'lavender'),
|
|
99
|
-
'info-contrast': map.get($brandui-colors, '
|
|
104
|
+
'info-contrast': map.get($brandui-colors, 'snow'),
|
|
100
105
|
'info-contrast-dark': map.get($brandui-colors, 'midnight'),
|
|
101
106
|
'success': map.get($brandui-colors, 'dark-teal'),
|
|
102
107
|
'success-dark': map.get($brandui-colors, 'vibe'),
|
|
103
|
-
'success-contrast': map.get($brandui-colors, '
|
|
108
|
+
'success-contrast': map.get($brandui-colors, 'snow'),
|
|
104
109
|
'success-contrast-dark': map.get($brandui-colors, 'midnight'),
|
|
105
110
|
'warning': map.get($brandui-colors, 'autumn'),
|
|
106
111
|
'warning-dark': map.get($brandui-colors, 'tiger'),
|
|
107
|
-
'warning-contrast': map.get($brandui-colors, '
|
|
112
|
+
'warning-contrast': map.get($brandui-colors, 'snow'),
|
|
108
113
|
'warning-contrast-dark': map.get($brandui-colors, 'midnight'),
|
|
109
114
|
'fail': map.get($brandui-colors, 'rose'),
|
|
110
115
|
'fail-dark': map.get($brandui-colors, 'salmon'),
|
|
111
|
-
'fail-contrast': map.get($brandui-colors, '
|
|
116
|
+
'fail-contrast': map.get($brandui-colors, 'snow'),
|
|
112
117
|
'fail-contrast-dark': map.get($brandui-colors, 'midnight'),
|
|
113
|
-
'neutral-1': map.get($brandui-colors, '
|
|
114
|
-
'neutral-2': map.get($brandui-colors, '
|
|
115
|
-
'neutral-3': map.get($brandui-colors, '
|
|
118
|
+
'neutral-1': map.get($brandui-colors, 'black'),
|
|
119
|
+
'neutral-2': map.get($brandui-colors, 'black'),
|
|
120
|
+
'neutral-3': map.get($brandui-colors, 'black'),
|
|
116
121
|
'neutral-4': map.get($brandui-colors, 'smoke'),
|
|
117
122
|
'neutral-5': map.get($brandui-colors, 'snow'),
|
|
118
|
-
'neutral-6': map.get($brandui-colors, '
|
|
123
|
+
'neutral-6': map.get($brandui-colors, 'snow'),
|
|
119
124
|
) !default;
|
|
120
125
|
|
|
121
126
|
$brandui-tag-colors: (
|
|
@@ -14,35 +14,35 @@
|
|
|
14
14
|
$brandui-default-themes: (
|
|
15
15
|
default: (
|
|
16
16
|
light: (
|
|
17
|
-
text-solid: map.get($brandui-colors, '
|
|
17
|
+
text-solid: map.get($brandui-colors, 'black'),
|
|
18
18
|
// deprecate
|
|
19
19
|
solid: map.get($brandui-colors, 'dark-purple'),
|
|
20
20
|
solid-primary: map.get($brandui-colors, 'purple'),
|
|
21
21
|
solid-secondary: map.get($brandui-colors, 'dark-purple'),
|
|
22
22
|
solid-tertiary: map.get($brandui-colors, 'dark-purple'),
|
|
23
|
-
contrast: map.get($brandui-colors, '
|
|
23
|
+
contrast: map.get($brandui-colors, 'snow'),
|
|
24
24
|
base: map.get($brandui-base-colors, 'dark-purple'),
|
|
25
25
|
spotlight: map.get($brandui-base-colors, 'dark-purple'),
|
|
26
26
|
highlight: map.get($brandui-colors, 'bubblegum'),
|
|
27
27
|
text-gradient: (
|
|
28
|
-
start: map.get($brandui-colors, '
|
|
29
|
-
end: map.get($brandui-colors, '
|
|
28
|
+
start: map.get($brandui-colors, 'black'),
|
|
29
|
+
end: map.get($brandui-colors, 'black'),
|
|
30
30
|
),
|
|
31
31
|
gradient-primary: (
|
|
32
32
|
start: map.get($brandui-colors, 'hot-pink'),
|
|
33
33
|
end: map.get($brandui-colors, 'hot-pink'),
|
|
34
34
|
),
|
|
35
35
|
gradient-secondary: (
|
|
36
|
-
start: map.get($brandui-colors, '
|
|
37
|
-
end: map.get($brandui-colors, '
|
|
36
|
+
start: map.get($brandui-colors, 'black'),
|
|
37
|
+
end: map.get($brandui-colors, 'black'),
|
|
38
38
|
),
|
|
39
39
|
gradient-tertiary: (
|
|
40
|
-
start: map.get($brandui-colors, '
|
|
41
|
-
end: map.get($brandui-colors, '
|
|
40
|
+
start: map.get($brandui-colors, 'black'),
|
|
41
|
+
end: map.get($brandui-colors, 'black'),
|
|
42
42
|
),
|
|
43
43
|
),
|
|
44
44
|
dark: (
|
|
45
|
-
text-solid: map.get($brandui-colors, '
|
|
45
|
+
text-solid: map.get($brandui-colors, 'snow'),
|
|
46
46
|
// deprecate
|
|
47
47
|
solid: map.get($brandui-colors, 'sky'),
|
|
48
48
|
solid-primary: map.get($brandui-colors, 'bubblegum'),
|
|
@@ -53,20 +53,20 @@ $brandui-default-themes: (
|
|
|
53
53
|
spotlight: map.get($brandui-colors, 'dark-purple'),
|
|
54
54
|
highlight: map.get($brandui-colors, 'hot-pink'),
|
|
55
55
|
text-gradient: (
|
|
56
|
-
start: map.get($brandui-colors, '
|
|
57
|
-
end: map.get($brandui-colors, '
|
|
56
|
+
start: map.get($brandui-colors, 'snow'),
|
|
57
|
+
end: map.get($brandui-colors, 'snow'),
|
|
58
58
|
),
|
|
59
59
|
gradient-primary: (
|
|
60
|
-
start: map.get($brandui-colors, '
|
|
61
|
-
end: map.get($brandui-colors, '
|
|
60
|
+
start: map.get($brandui-colors, 'snow'),
|
|
61
|
+
end: map.get($brandui-colors, 'snow'),
|
|
62
62
|
),
|
|
63
63
|
gradient-secondary: (
|
|
64
|
-
start: map.get($brandui-colors, '
|
|
65
|
-
end: map.get($brandui-colors, '
|
|
64
|
+
start: map.get($brandui-colors, 'snow'),
|
|
65
|
+
end: map.get($brandui-colors, 'snow'),
|
|
66
66
|
),
|
|
67
67
|
gradient-tertiary: (
|
|
68
|
-
start: map.get($brandui-colors, '
|
|
69
|
-
end: map.get($brandui-colors, '
|
|
68
|
+
start: map.get($brandui-colors, 'snow'),
|
|
69
|
+
end: map.get($brandui-colors, 'snow'),
|
|
70
70
|
),
|
|
71
71
|
),
|
|
72
72
|
),
|
|
@@ -7,11 +7,11 @@
|
|
|
7
7
|
|
|
8
8
|
/* Typography variables */
|
|
9
9
|
$brandui-font-size: (
|
|
10
|
-
hero-title-large:
|
|
11
|
-
hero-title-small:
|
|
12
|
-
page-title-large:
|
|
13
|
-
page-title:
|
|
14
|
-
section-title:
|
|
10
|
+
hero-title-large: 3.625rem,
|
|
11
|
+
hero-title-small: 2.125rem,
|
|
12
|
+
page-title-large: 2.375rem,
|
|
13
|
+
page-title: 2rem,
|
|
14
|
+
section-title: 2rem,
|
|
15
15
|
headline-large: 2.5rem,
|
|
16
16
|
headline-small: 2rem,
|
|
17
17
|
subhead: 1.5rem,
|
|
@@ -29,11 +29,11 @@ $brandui-font-size: (
|
|
|
29
29
|
) !default;
|
|
30
30
|
|
|
31
31
|
$brandui-line-height: (
|
|
32
|
-
hero-title-large:
|
|
33
|
-
hero-title-small:
|
|
34
|
-
page-title-large:
|
|
35
|
-
page-title:
|
|
36
|
-
section-title:
|
|
32
|
+
hero-title-large: 4rem,
|
|
33
|
+
hero-title-small: 2.125rem,
|
|
34
|
+
page-title-large: 2.75rem,
|
|
35
|
+
page-title: 2.5rem,
|
|
36
|
+
section-title: 2.5rem,
|
|
37
37
|
headline-large: 3rem,
|
|
38
38
|
headline-small: 2.5rem,
|
|
39
39
|
subhead: 2.25rem,
|
|
@@ -56,54 +56,51 @@ $brandui-font-family: (
|
|
|
56
56
|
space-grotesk: 'Space Grotesk',
|
|
57
57
|
roboto: 'Roboto',
|
|
58
58
|
roboto-mono: 'Roboto Mono',
|
|
59
|
+
geist: 'Geist',
|
|
60
|
+
geist-mono: 'Geist Mono',
|
|
59
61
|
) !default;
|
|
60
62
|
|
|
61
63
|
$text-elements: (
|
|
62
64
|
'hero-title-large': (
|
|
63
|
-
'weight':
|
|
64
|
-
'family': map.get($brandui-font-family,
|
|
65
|
+
'weight': 700,
|
|
66
|
+
'family': map.get($brandui-font-family, geist),
|
|
65
67
|
'type': sans-serif,
|
|
66
68
|
'letter-spacing': -0.01em,
|
|
67
|
-
'text-transform': uppercase,
|
|
68
69
|
),
|
|
69
70
|
'hero-title-small': (
|
|
70
|
-
'weight':
|
|
71
|
-
'family': map.get($brandui-font-family,
|
|
71
|
+
'weight': 700,
|
|
72
|
+
'family': map.get($brandui-font-family, geist),
|
|
72
73
|
'type': sans-serif,
|
|
73
74
|
'letter-spacing': -0.01em,
|
|
74
|
-
'text-transform': uppercase,
|
|
75
75
|
),
|
|
76
76
|
'page-title-large': (
|
|
77
|
-
'weight':
|
|
77
|
+
'weight': 700,
|
|
78
78
|
// 'family': map.get($brandui-font-family, poppins),
|
|
79
|
-
'family': map.get($brandui-font-family,
|
|
79
|
+
'family': map.get($brandui-font-family, geist),
|
|
80
80
|
'type': sans-serif,
|
|
81
81
|
'letter-spacing': -0.01em,
|
|
82
82
|
// 'text-transform': none,
|
|
83
|
-
'text-transform': uppercase,
|
|
84
83
|
),
|
|
85
84
|
'page-title': (
|
|
86
|
-
'weight':
|
|
85
|
+
'weight': 700,
|
|
87
86
|
// 'family': map.get($brandui-font-family, poppins),
|
|
88
|
-
'family': map.get($brandui-font-family,
|
|
87
|
+
'family': map.get($brandui-font-family, geist),
|
|
89
88
|
'type': sans-serif,
|
|
90
89
|
'letter-spacing': -0.01em,
|
|
91
90
|
// 'text-transform': none,
|
|
92
|
-
'text-transform': uppercase,
|
|
93
91
|
),
|
|
94
92
|
'section-title': (
|
|
95
|
-
'weight':
|
|
93
|
+
'weight': 700,
|
|
96
94
|
// 'family': map.get($brandui-font-family, poppins),
|
|
97
|
-
'family': map.get($brandui-font-family,
|
|
95
|
+
'family': map.get($brandui-font-family, geist),
|
|
98
96
|
'type': sans-serif,
|
|
99
97
|
'letter-spacing': -0.01em,
|
|
100
98
|
// 'text-transform': none,
|
|
101
|
-
'text-transform': uppercase,
|
|
102
99
|
),
|
|
103
100
|
'headline-large': (
|
|
104
101
|
'weight': 700,
|
|
105
102
|
// 'family': map.get($brandui-font-family, poppins),
|
|
106
|
-
'family': map.get($brandui-font-family,
|
|
103
|
+
'family': map.get($brandui-font-family, geist),
|
|
107
104
|
'type': sans-serif,
|
|
108
105
|
'letter-spacing': -0.01em,
|
|
109
106
|
'text-transform': none,
|
|
@@ -111,7 +108,7 @@ $text-elements: (
|
|
|
111
108
|
'headline-small': (
|
|
112
109
|
'weight': 700,
|
|
113
110
|
// 'family': map.get($brandui-font-family, poppins),
|
|
114
|
-
'family': map.get($brandui-font-family,
|
|
111
|
+
'family': map.get($brandui-font-family, geist),
|
|
115
112
|
'type': sans-serif,
|
|
116
113
|
'letter-spacing': -0.01em,
|
|
117
114
|
'text-transform': none,
|
|
@@ -120,7 +117,7 @@ $text-elements: (
|
|
|
120
117
|
// 'weight': 600,
|
|
121
118
|
'weight': 700,
|
|
122
119
|
// 'family': map.get($brandui-font-family, poppins),
|
|
123
|
-
'family': map.get($brandui-font-family,
|
|
120
|
+
'family': map.get($brandui-font-family, geist),
|
|
124
121
|
'type': sans-serif,
|
|
125
122
|
'letter-spacing': -0.01em,
|
|
126
123
|
'text-transform': none,
|
|
@@ -129,7 +126,7 @@ $text-elements: (
|
|
|
129
126
|
// 'weight': 600,
|
|
130
127
|
'weight': 700,
|
|
131
128
|
// 'family': map.get($brandui-font-family, poppins),
|
|
132
|
-
'family': map.get($brandui-font-family,
|
|
129
|
+
'family': map.get($brandui-font-family, geist),
|
|
133
130
|
'type': sans-serif,
|
|
134
131
|
'letter-spacing': -0.01em,
|
|
135
132
|
'text-transform': none,
|
|
@@ -138,7 +135,7 @@ $text-elements: (
|
|
|
138
135
|
// 'weight': 600,
|
|
139
136
|
'weight': 700,
|
|
140
137
|
// 'family': map.get($brandui-font-family, poppins),
|
|
141
|
-
'family': map.get($brandui-font-family,
|
|
138
|
+
'family': map.get($brandui-font-family, geist-mono),
|
|
142
139
|
'type': sans-serif,
|
|
143
140
|
'letter-spacing': 0.12em,
|
|
144
141
|
'text-transform': uppercase,
|
|
@@ -147,7 +144,7 @@ $text-elements: (
|
|
|
147
144
|
// 'weight': 600,
|
|
148
145
|
'weight': 700,
|
|
149
146
|
// 'family': map.get($brandui-font-family, poppins),
|
|
150
|
-
'family': map.get($brandui-font-family,
|
|
147
|
+
'family': map.get($brandui-font-family, geist-mono),
|
|
151
148
|
'type': sans-serif,
|
|
152
149
|
'letter-spacing': 0.12em,
|
|
153
150
|
'text-transform': uppercase,
|
|
@@ -155,7 +152,7 @@ $text-elements: (
|
|
|
155
152
|
'body-lead': (
|
|
156
153
|
'weight': 500,
|
|
157
154
|
// 'family': map.get($brandui-font-family, poppins),
|
|
158
|
-
'family': map.get($brandui-font-family,
|
|
155
|
+
'family': map.get($brandui-font-family, geist),
|
|
159
156
|
'type': sans-serif,
|
|
160
157
|
'letter-spacing': 0.01em,
|
|
161
158
|
'text-transform': none,
|
|
@@ -163,49 +160,49 @@ $text-elements: (
|
|
|
163
160
|
'body-lead-bold': (
|
|
164
161
|
'weight': 700,
|
|
165
162
|
// 'family': map.get($brandui-font-family, poppins),
|
|
166
|
-
'family': map.get($brandui-font-family,
|
|
163
|
+
'family': map.get($brandui-font-family, geist),
|
|
167
164
|
'type': sans-serif,
|
|
168
165
|
'letter-spacing': 0.01em,
|
|
169
166
|
'text-transform': none,
|
|
170
167
|
),
|
|
171
168
|
'body': (
|
|
172
169
|
'weight': 400,
|
|
173
|
-
'family': map.get($brandui-font-family,
|
|
170
|
+
'family': map.get($brandui-font-family, geist),
|
|
174
171
|
'type': sans-serif,
|
|
175
172
|
'letter-spacing': 0,
|
|
176
173
|
'text-transform': none,
|
|
177
174
|
),
|
|
178
175
|
'body-bold': (
|
|
179
176
|
'weight': 600,
|
|
180
|
-
'family': map.get($brandui-font-family,
|
|
177
|
+
'family': map.get($brandui-font-family, geist),
|
|
181
178
|
'type': sans-serif,
|
|
182
179
|
'letter-spacing': 0.005em,
|
|
183
180
|
'text-transform': none,
|
|
184
181
|
),
|
|
185
182
|
'body-long': (
|
|
186
183
|
'weight': 400,
|
|
187
|
-
'family': map.get($brandui-font-family,
|
|
184
|
+
'family': map.get($brandui-font-family, geist),
|
|
188
185
|
'type': sans-serif,
|
|
189
186
|
'letter-spacing': 0.01em,
|
|
190
187
|
'text-transform': none,
|
|
191
188
|
),
|
|
192
189
|
'body-small': (
|
|
193
190
|
'weight': 400,
|
|
194
|
-
'family': map.get($brandui-font-family,
|
|
191
|
+
'family': map.get($brandui-font-family, geist),
|
|
195
192
|
'type': sans-serif,
|
|
196
193
|
'letter-spacing': 0,
|
|
197
194
|
'text-transform': none,
|
|
198
195
|
),
|
|
199
196
|
'body-small-medium': (
|
|
200
197
|
'weight': 500,
|
|
201
|
-
'family': map.get($brandui-font-family,
|
|
198
|
+
'family': map.get($brandui-font-family, geist),
|
|
202
199
|
'type': sans-serif,
|
|
203
200
|
'letter-spacing': 0,
|
|
204
201
|
'text-transform': none,
|
|
205
202
|
),
|
|
206
203
|
'code': (
|
|
207
204
|
'weight': 400,
|
|
208
|
-
'family': map.get($brandui-font-family,
|
|
205
|
+
'family': map.get($brandui-font-family, geist-mono),
|
|
209
206
|
'type': monospace,
|
|
210
207
|
'letter-spacing': 0,
|
|
211
208
|
'text-transform': none,
|
|
@@ -215,45 +212,40 @@ $text-elements: (
|
|
|
215
212
|
$text-elements-responsive: (
|
|
216
213
|
'hero-title-large': (
|
|
217
214
|
'target': 'hero-title-small',
|
|
218
|
-
'weight':
|
|
215
|
+
'weight': 700,
|
|
219
216
|
'family': map.get($brandui-font-family, big-shoulders),
|
|
220
217
|
'type': sans-serif,
|
|
221
218
|
'letter-spacing': -0.01em,
|
|
222
|
-
'text-transform': uppercase,
|
|
223
219
|
),
|
|
224
220
|
'hero-title-small': (
|
|
225
221
|
'target': 'hero-title-small',
|
|
226
|
-
'weight':
|
|
222
|
+
'weight': 700,
|
|
227
223
|
'family': map.get($brandui-font-family, big-shoulders),
|
|
228
224
|
'type': sans-serif,
|
|
229
225
|
'letter-spacing': -0.01em,
|
|
230
|
-
'text-transform': uppercase,
|
|
231
226
|
),
|
|
232
227
|
'page-title-large': (
|
|
233
228
|
'target': 'hero-title-small',
|
|
234
|
-
'weight':
|
|
229
|
+
'weight': 700,
|
|
235
230
|
// 'family': map.get($brandui-font-family, poppins),
|
|
236
231
|
'family': map.get($brandui-font-family, big-shoulders),
|
|
237
232
|
'type': sans-serif,
|
|
238
233
|
'letter-spacing': -0.01em,
|
|
239
234
|
// 'text-transform': none,
|
|
240
|
-
'text-transform': uppercase,
|
|
241
235
|
),
|
|
242
236
|
'page-title': (
|
|
243
237
|
'target': 'hero-title-small',
|
|
244
|
-
'weight':
|
|
238
|
+
'weight': 700,
|
|
245
239
|
'family': map.get($brandui-font-family, big-shoulders),
|
|
246
240
|
'type': sans-serif,
|
|
247
241
|
'letter-spacing': -0.01em,
|
|
248
|
-
'text-transform': uppercase,
|
|
249
242
|
),
|
|
250
243
|
'section-title': (
|
|
251
244
|
'target': 'hero-title-small',
|
|
252
|
-
'weight':
|
|
245
|
+
'weight': 700,
|
|
253
246
|
'family': map.get($brandui-font-family, big-shoulders),
|
|
254
247
|
'type': sans-serif,
|
|
255
248
|
'letter-spacing': -0.01em,
|
|
256
|
-
'text-transform': uppercase,
|
|
257
249
|
),
|
|
258
250
|
'headline-large': (
|
|
259
251
|
'target': 'headline-small',
|
package/dist/scss/base.scss
CHANGED
|
@@ -11,8 +11,10 @@
|
|
|
11
11
|
@use '../scss/base/spacing' as *;
|
|
12
12
|
@use '../scss/base/sizing' as *;
|
|
13
13
|
@use '../scss/base/decorations/decorations' as *;
|
|
14
|
-
|
|
15
|
-
|
|
14
|
+
|
|
15
|
+
// Note, we want to keep these files around as they are in use for Evo and labs. However, we are probably done with them on the main theme
|
|
16
|
+
// @use '../scss/base/decorations/backgrounds' as *;
|
|
17
|
+
// @use '../scss/base/decorations/glows' as *;
|
|
16
18
|
@use '../scss/base/decorations/flourishes' as *;
|
|
17
19
|
@use '../scss/base/decorations/markers' as *;
|
|
18
20
|
@use '../scss/base/decorations/separators' as *;
|