@snyk-mktg/brand-ui 2.5.10-canary.4 → 2.5.10-canary.6

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.
@@ -135,7 +135,7 @@ code:not([class]) {
135
135
  word-break: break-word;
136
136
  @include colors.color-mode(background-color, brandui-color-labels(ui-fill), brandui-color-labels(ui-fill-dark));
137
137
  @include colors.color-mode(border-color, RGBA(brandui-rgb-labels(ui-stroke), 0.1), RGBA(brandui-rgb-labels(ui-stroke-dark), 0.1));
138
- @include colors.color-mode(color, brandui-color-labels(fail), brandui-color-labels(fail-dark));
138
+ @include colors.color-mode(color, brandui-color-labels(action-tertiary), brandui-color-labels(action-tertiary-dark));
139
139
  }
140
140
 
141
141
  // Does not override any 3rd party code snippets
@@ -21,12 +21,9 @@
21
21
  background: transparent url('#{$brandui-images}decorations/decoration-bg-dot-wave.svg') center no-repeat;
22
22
  &.dot-wave-center-right {
23
23
  top: 20rem;
24
- right: -30rem;
25
- scale: 1.5;
26
-
27
- @include break.max-mobile {
28
- scale: 1;
29
- }
24
+ right: -50rem;
25
+ scale: 1;
26
+ transform: rotateY(180deg);
30
27
  }
31
28
  }
32
29
 
@@ -58,24 +55,24 @@
58
55
  top: -20rem;
59
56
  left: -50rem;
60
57
  transform: rotate(180deg);
61
- scale: 1.75;
58
+
59
+ @include break.max-mobile {
60
+ top: -30rem;
61
+ }
62
62
 
63
63
  &-high {
64
- top: -80rem;
64
+ top: -75rem;
65
65
  left: -60rem;
66
66
  transform: rotate(180deg);
67
- scale: 1.75;
68
67
 
69
68
  @include break.max-tablet {
70
69
  top: -60rem;
71
70
  left: -13rem;
72
- scale: 1.75;
73
71
  }
74
72
 
75
73
  @include break.max-mobile {
76
74
  top: -40rem;
77
75
  left: -10rem;
78
- scale: 1;
79
76
  }
80
77
  }
81
78
  }
@@ -6,7 +6,6 @@
6
6
  @use '../../scss/base/mixins' as *;
7
7
  @use '../../scss/base/typography' as *;
8
8
  @use '../../scss/base/links' as *;
9
- @use '../../scss/base/layout' as *;
10
9
  @use '../../scss/base/spacing' as *;
11
10
  @use '../../scss/base/sizing' as *;
12
11
  @use '../../scss/base/decorations/backgrounds' as *;
@@ -20,3 +19,4 @@
20
19
  @use './base/color' as *;
21
20
  @use './base/typography' as *;
22
21
  @use './base/decorations/backgrounds';
22
+ @use './layout' as *;
@@ -6,7 +6,6 @@
6
6
  @use '../components/atoms/chip' as *;
7
7
  @use '../components/atoms/dropdown' as *;
8
8
  @use '../components/atoms/feature-checkmark' as *;
9
- @use '../components/atoms/icons' as *;
10
9
  @use '../components/atoms/input' as *;
11
10
  @use '../components/atoms/locale-selector' as *;
12
11
  @use '../components/atoms/logo-container' as *;
@@ -54,6 +53,7 @@
54
53
  @use './components/atoms/tag' as *;
55
54
  @use './components/atoms/button' as *;
56
55
  @use './components/atoms/hairline' as *;
56
+ @use './components/atoms/icons' as *;
57
57
  @use './components/atoms/triggers/play' as *;
58
58
  @use './components/atoms/tooltip' as *;
59
59
  @use './components/molecules/announcements' as *;
@@ -0,0 +1,13 @@
1
+ @use 'sass:map';
2
+ @use '../base/variables/sizing' as *;
3
+ @use '../base/layout' as *;
4
+
5
+ .brandui-section {
6
+ .section {
7
+ &-intro {
8
+ &.solo-title {
9
+ margin-bottom: map.get($brandui-padding, 'huge');
10
+ }
11
+ }
12
+ }
13
+ }
@@ -6,7 +6,7 @@ $labsui-font-family: (
6
6
  );
7
7
 
8
8
  $brandui-font-size: (
9
- hero-title-large: 5.625rem,
9
+ hero-title-large: 3.125rem,
10
10
  hero-title-small: 3.125rem,
11
11
  page-title-large: 4.375rem,
12
12
  page-title: 3rem,
@@ -28,7 +28,7 @@ $brandui-font-size: (
28
28
  ) !default;
29
29
 
30
30
  $brandui-line-height: (
31
- hero-title-large: 6.25rem,
31
+ hero-title-large: 3.125rem,
32
32
  hero-title-small: 3.75rem,
33
33
  page-title-large: 5rem,
34
34
  page-title: 4rem,
@@ -50,7 +50,7 @@ $brandui-line-height: (
50
50
  ) !default;
51
51
 
52
52
  // Why does this work? Do I need the font 'as'?
53
- $brandui-font-family: map.merge(font.$brandui-font-family, $labsui-font-family);
53
+ $brandui-font-family: $labsui-font-family;
54
54
 
55
55
  $labsui-text-elements: (
56
56
  'hero-title-large': (
@@ -161,54 +161,62 @@ $labsui-text-elements: (
161
161
 
162
162
  $labsui-text-elements-responsive: (
163
163
  'hero-title-large': (
164
+ 'target': 'hero-title-small',
164
165
  'weight': 700,
165
166
  'family': map.get($brandui-font-family, space-mono),
166
167
  'type': monospace,
167
168
  'text-transform': none,
168
169
  ),
169
170
  'hero-title-small': (
171
+ 'target': 'hero-title-small',
170
172
  'weight': 700,
171
173
  'family': map.get($brandui-font-family, space-mono),
172
174
  'type': monospace,
173
175
  'text-transform': none,
174
176
  ),
175
177
  'page-title-large': (
178
+ 'target': 'page-title',
176
179
  'weight': 700,
177
180
  'family': map.get($brandui-font-family, space-mono),
178
181
  'type': monospace,
179
182
  'text-transform': none,
180
183
  ),
181
184
  'page-title': (
185
+ 'target': 'page-title',
182
186
  'weight': 700,
183
187
  'family': map.get($brandui-font-family, space-mono),
184
188
  'type': monospace,
185
189
  'text-transform': none,
186
190
  ),
187
191
  'section-title': (
192
+ 'target': 'headline-small',
188
193
  'weight': 700,
189
194
  'family': map.get($brandui-font-family, space-mono),
190
195
  'type': monospace,
191
196
  'text-transform': none,
192
197
  ),
193
198
  'headline-large': (
199
+ 'target': 'headline-small',
194
200
  'family': map.get($brandui-font-family, space-mono),
195
201
  'type': monospace,
196
202
  'text-transform': none,
197
203
  ),
198
204
  'headline-small': (
205
+ 'target': 'subhead',
199
206
  'family': map.get($brandui-font-family, space-mono),
200
207
  'type': monospace,
201
208
  'text-transform': none,
202
209
  ),
203
210
  'subhead': (
211
+ 'target': 'subhead-small',
204
212
  'family': map.get($brandui-font-family, space-mono),
205
213
  'type': monospace,
206
214
  'text-transform': none,
207
215
  ),
208
216
  );
209
217
 
210
- $text-elements: font.$text-elements;
211
- $text-elements-responsive: font.$text-elements-responsive;
218
+ $text-elements: $labsui-text-elements;
219
+ $text-elements-responsive: $labsui-text-elements-responsive;
212
220
 
213
221
  @each $key, $value in $labsui-text-elements {
214
222
  @if map.has-key($text-elements, $key) {
@@ -226,5 +234,5 @@ $text-elements-responsive: font.$text-elements-responsive;
226
234
  }
227
235
  }
228
236
 
229
- $brandui-font-size: font.$brandui-font-size;
230
- $brandui-line-height: font.$brandui-line-height;
237
+ $brandui-font-size: $brandui-font-size;
238
+ $brandui-line-height: $brandui-line-height;
@@ -28,12 +28,18 @@
28
28
  &:focus {
29
29
  @include color.color-mode(background-color, brandui-color-labels(action-secondary), brandui-color-labels(action-secondary-dark));
30
30
  }
31
+
32
+ .general-icon {
33
+ @include color.color-mode(color, brandui-color-labels(neutral-6), brandui-color-labels(neutral-1));
34
+ }
31
35
  }
32
36
 
33
37
  &.secondary {
34
38
  border-width: 0.0625rem;
35
39
  border-style: solid;
36
- transition: color map.get($brandui-transition, fast), background-color map.get($brandui-transition, fast),
40
+ transition:
41
+ color map.get($brandui-transition, fast),
42
+ background-color map.get($brandui-transition, fast),
37
43
  border-color map.get($brandui-transition, fast);
38
44
  @include color.color-mode(color, brandui-color-labels(action), brandui-color-labels(action-dark));
39
45
  @include color.color-mode(background-color, brandui-color-labels(neutral-6), brandui-color-labels(neutral-1));
@@ -0,0 +1,3 @@
1
+ @use '../../../components/atoms/icons' as *;
2
+ @use '../../../base/mixins/color-mode' as color;
3
+ @use '../../../base/functions' as *;
@@ -24,4 +24,10 @@
24
24
  @include color.color-mode(color, brandui-color-labels(action), brandui-color-labels(action-dark));
25
25
  }
26
26
  }
27
+
28
+ .general-icon {
29
+ &:hover {
30
+ @include color.color-mode(color, brandui-color-labels(action), brandui-color-labels(action-dark));
31
+ }
32
+ }
27
33
  }
@@ -9,7 +9,9 @@
9
9
  .basic-cta {
10
10
  max-width: unset;
11
11
  gap: map.get($brandui-padding, extra-large);
12
+ border-radius: map.get($brandui-radius, large);
12
13
  box-shadow: map.get($brandui-shadow, outline);
14
+ flex-direction: column;
13
15
  @include theme.theme-color(background-color, spotlight);
14
16
  @include theme.theme-color(border-color, spotlight);
15
17
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@snyk-mktg/brand-ui",
3
- "version": "2.5.10-canary.4",
3
+ "version": "2.5.10-canary.6",
4
4
  "description": "The official style library for Snyk’s BrandUI Design System",
5
5
  "scripts": {
6
6
  "dev:css": "gulp devCss",