@snyk-mktg/brand-ui 2.5.10-canary.1 → 2.5.10-canary.10
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/css/base.css +2472 -1078
- package/dist/css/base.css.map +1 -1
- package/dist/css/bundle.css +4328 -2350
- package/dist/css/bundle.css.map +1 -1
- package/dist/css/components.css +1957 -1504
- package/dist/css/components.css.map +1 -1
- package/dist/css/evo-bundle.css +3457 -1235
- package/dist/css/evo-bundle.css.map +1 -1
- package/dist/css/index.css +164 -130
- package/dist/css/index.css.map +1 -1
- package/dist/css/labs-bundle.css +9789 -7611
- package/dist/css/labs-bundle.css.map +1 -1
- package/dist/css/utilities.css +164 -130
- package/dist/css/utilities.css.map +1 -1
- package/dist/js/types/icons.d.ts +1 -1
- package/dist/js/utilities/icons.js +1 -0
- package/dist/scss/base/_baseline.scss +1 -1
- package/dist/scss/base/decorations/_backgrounds.scss +39 -6
- package/dist/scss/base/variables/_colors.scss +1 -1
- package/dist/scss/base/variables/_icons.scss +1 -0
- package/dist/scss/base/variables/_typography.scss +14 -6
- package/dist/scss/components/atoms/_button.scss +12 -0
- package/dist/scss/components/molecules/_alert.scss +22 -8
- package/dist/scss/components/molecules/_search.scss +20 -9
- package/dist/scss/components/organisms/_featured-media.scss +9 -0
- package/dist/scss/components/organisms/ctas/_footer-cta.scss +8 -0
- package/dist/scss/components/organisms/heroes/_hero-title-text.scss +1 -1
- package/dist/scss/labs/_base.scss +1 -1
- package/dist/scss/labs/_components.scss +1 -1
- package/dist/scss/labs/_layout.scss +13 -0
- package/dist/scss/labs/base/variables/_typography.scss +15 -7
- package/dist/scss/labs/components/atoms/_button.scss +7 -1
- package/dist/scss/labs/components/atoms/_icons.scss +3 -0
- package/dist/scss/labs/components/molecules/_share-this.scss +6 -0
- package/dist/scss/labs/components/organisms/ctas/_basic-cta.scss +2 -0
- package/package.json +1 -1
package/dist/js/types/icons.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export type BranduiBrandIcons = 'actionable-results' | 'admin' | 'advisor-1' | 'advisor' | 'ai-generated-code' | 'ai-solutions' | 'ai-vulnerable-code' | 'ai' | 'alert-high' | 'alert-info' | 'alert-low' | 'alert-med' | 'api' | 'application-security' | 'assessments' | 'assignments' | 'attention' | 'automate' | 'care-deeply' | 'certificates' | 'ci-cd' | 'cli' | 'climate' | 'cloud-and-back' | 'cloud-launch' | 'cloud-security' | 'code-to-cloud' | 'code' | 'coding' | 'community' | 'compliance-automation' | 'customer-centricity' | 'design-applications' | 'dev-ai' | 'dev-friendly' | 'developer-security' | 'docs-published' | 'documentation' | 'donate' | 'efficiency' | 'enablement-and-education' | 'expert' | 'false-positive-rate' | 'family' | 'fast-and-accurate' | 'feedback' | 'fix-faster' | 'flexible' | 'forward-thinking' | 'get-started' | 'git-security' | 'ide' | 'integrations' | 'learn-always' | 'learn-snyk-1' | 'learn-snyk' | 'learning-paths' | 'live-environment' | 'live-video' | 'machine-learning' | 'meetup' | 'office-hours' | 'onboarding' | 'one-team' | 'ongoing' | 'platform' | 'pull-request' | 'query-cloud' | 'real-time-scan' | 'remediate-faster' | 'roadmap' | 'scaleable' | 'scanning' | 'secure-dependencies' | 'secure-projects' | 'security-automation' | 'security-awareness' | 'security-outnumbered' | 'security-team' | 'self-serve' | 'ship-it' | 'snyk-code-knowledgebase' | 'snyk-studio' | 'supply-chain-security' | 'support' | 'swag' | 'tech' | 'think-bigger' | 'tsd' | 'unified-policy-engine' | 'user-admin' | 'visibility-and-intelligence' | 'vuln-database' | 'write-policies' | 'zero-day';
|
|
1
|
+
export type BranduiBrandIcons = 'actionable-results' | 'admin' | 'advisor-1' | 'advisor' | 'ai-generated-code' | 'ai-solutions' | 'ai-vulnerable-code' | 'ai' | 'alert-high' | 'alert-info' | 'alert-low' | 'alert-med' | 'api' | 'application-security' | 'assessments' | 'assignments' | 'attention' | 'automate' | 'care-deeply' | 'certificates' | 'ci-cd' | 'cli' | 'climate' | 'cloud-and-back' | 'cloud-launch' | 'cloud-security' | 'code-to-cloud' | 'code' | 'coding' | 'community' | 'compliance-automation' | 'customer-centricity' | 'design-applications' | 'dev-ai' | 'dev-friendly' | 'developer-security' | 'docs-published' | 'documentation' | 'donate' | 'efficiency' | 'enablement-and-education' | 'expert' | 'false-positive-rate' | 'family' | 'fast-and-accurate' | 'feedback' | 'fix-faster' | 'flexible' | 'forward-thinking' | 'get-started' | 'git-security' | 'ide' | 'integrations' | 'learn-always' | 'learn-snyk-1' | 'learn-snyk' | 'learning-paths' | 'live-environment' | 'live-video' | 'machine-learning' | 'meetup' | 'office-hours' | 'onboarding' | 'one-team' | 'ongoing' | 'platform' | 'pull-request' | 'query-cloud' | 'real-time-scan' | 'remediate-faster' | 'roadmap' | 'scaleable' | 'scanning' | 'secure-dependencies' | 'secure-projects' | 'security-automation' | 'security-awareness' | 'security-outnumbered' | 'security-team' | 'self-serve' | 'ship-it' | 'snyk-code-knowledgebase' | 'snyk-studio' | 'supply-chain-security' | 'support' | 'swag' | 'tech' | 'think-bigger' | 'tsd' | 'unified-policy-engine' | 'user-admin' | 'visibility-and-intelligence' | 'vuln-database' | 'video-word' | 'write-policies' | 'zero-day';
|
|
2
2
|
export type BranduiGeneralIcons = 'account' | 'add' | 'ai-sparkles' | 'ambassadors' | 'apple-podcasts' | 'arrow-back' | 'arrow-down' | 'arrow-forward' | 'arrow-left' | 'arrow-right' | 'arrow-top-right' | 'arrow-up' | 'article' | 'api-web' | 'attachment' | 'ballot' | 'bio' | 'bitbucket' | 'blocks' | 'blog' | 'booklet' | 'brain' | 'briefcase' | 'bug' | 'build-code' | 'byline' | 'calendar-today' | 'case-study' | 'check' | 'check-circle' | 'check-shield' | 'checkbox-hover' | 'chevron-down' | 'chevron-left' | 'chevron-right' | 'chevron-up' | 'close' | 'collapse' | 'compliance' | 'contact' | 'copy-link' | 'copy-to-clipboard' | 'customers' | 'developer' | 'discord' | 'discord-bubble' | 'east' | 'ebook' | 'eclipse' | 'events' | 'expand' | 'facebook' | 'facebook-circle' | 'filter' | 'fix' | 'git-fork' | 'git-issue' | 'github' | 'glassdoor' | 'glossary' | 'google' | 'government' | 'grading' | 'hand-wave' | 'handbook' | 'headphones' | 'info-scan' | 'info-warning' | 'infographic' | 'insert-chart' | 'insert-drive-file' | 'instagram' | 'keyboard-arrow-down' | 'labs' | 'language' | 'library' | 'light-bulb' | 'linkedin' | 'livestream' | 'location' | 'lock-heart' | 'mail-inbox' | 'mail-outline' | 'menu' | 'mic' | 'monetization' | 'moon' | 'more-horizontal' | 'newsroom' | 'npm' | 'open-in-new' | 'partners' | 'pie-chart' | 'play-circle' | 'play' | 'podcast' | 'press-release' | 'quote' | 'reddit' | 'remove' | 'risk' | 'risk-based-prioritization' | 'search' | 'send-mail' | 'services' | 'shield-ai' | 'shield-chevron-up' | 'shield-star' | 'shield' | 'snyk-apprisk' | 'snyk-code' | 'snyk-container' | 'snyk-docs' | 'snyk-iac' | 'snyk-learn' | 'snyk-oss' | 'snyk-support' | 'spotify' | 'star-outline' | 'sun' | 'supply-chain' | 'time' | 'twitch' | 'twitter' | 'updates' | 'videocam' | 'vuln-db' | 'vulnvortex' | 'workflows' | 'x' | 'youtube';
|
|
3
3
|
export type AllIcons = BranduiBrandIcons | BranduiGeneralIcons;
|
|
4
4
|
export type BranduiIconSizes = 'sm' | 'rg' | 'md' | 'lg';
|
|
@@ -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(
|
|
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
|
|
@@ -19,17 +19,36 @@
|
|
|
19
19
|
|
|
20
20
|
&-1 {
|
|
21
21
|
background: transparent url('#{$brandui-images}decorations/decoration-bg-dot-wave.svg') center no-repeat;
|
|
22
|
+
&.dot-wave-center-right {
|
|
23
|
+
top: 20rem;
|
|
24
|
+
right: -50rem;
|
|
25
|
+
scale: 1;
|
|
26
|
+
transform: rotateY(180deg);
|
|
27
|
+
}
|
|
28
|
+
&.dot-wave-center-middle {
|
|
29
|
+
top: 33rem;
|
|
30
|
+
right: -2rem;
|
|
31
|
+
scale: 1.25;
|
|
32
|
+
transform: rotateY(180deg);
|
|
33
|
+
}
|
|
22
34
|
}
|
|
23
35
|
|
|
36
|
+
// not used yet
|
|
24
37
|
&-2 {
|
|
25
38
|
background: transparent url('#{$brandui-images}decorations/decoration-bg-dot-wave-2.svg') center no-repeat;
|
|
26
39
|
}
|
|
27
40
|
|
|
41
|
+
// Card Decoration
|
|
28
42
|
&-3 {
|
|
29
43
|
background: transparent url('#{$brandui-images}decorations/decoration-bg-dot-wave-3.svg') center no-repeat;
|
|
44
|
+
&.dot-wave-bottom-right {
|
|
45
|
+
bottom: -10rem;
|
|
46
|
+
right: -40rem;
|
|
47
|
+
transform: rotate(180deg);
|
|
48
|
+
}
|
|
30
49
|
}
|
|
31
50
|
|
|
32
|
-
// Tracks positon
|
|
51
|
+
// Tracks positon - default
|
|
33
52
|
&-top-right {
|
|
34
53
|
top: 0;
|
|
35
54
|
right: -40rem;
|
|
@@ -37,21 +56,35 @@
|
|
|
37
56
|
&-bottom-right {
|
|
38
57
|
bottom: -10rem;
|
|
39
58
|
right: -40rem;
|
|
40
|
-
transform: rotate(180deg);
|
|
41
59
|
}
|
|
42
60
|
&-top-left {
|
|
43
|
-
top: -
|
|
61
|
+
top: -20rem;
|
|
44
62
|
left: -50rem;
|
|
63
|
+
transform: rotate(180deg);
|
|
64
|
+
|
|
65
|
+
@include break.max-mobile {
|
|
66
|
+
top: -30rem;
|
|
67
|
+
}
|
|
45
68
|
|
|
46
69
|
&-high {
|
|
47
|
-
top: -
|
|
48
|
-
left: -
|
|
70
|
+
top: -75rem;
|
|
71
|
+
left: -60rem;
|
|
72
|
+
transform: rotate(180deg);
|
|
73
|
+
|
|
74
|
+
@include break.max-tablet {
|
|
75
|
+
top: -60rem;
|
|
76
|
+
left: -13rem;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
@include break.max-mobile {
|
|
80
|
+
top: -40rem;
|
|
81
|
+
left: -10rem;
|
|
82
|
+
}
|
|
49
83
|
}
|
|
50
84
|
}
|
|
51
85
|
&-bottom-left {
|
|
52
86
|
bottom: -5rem;
|
|
53
87
|
left: -40rem;
|
|
54
|
-
transform: rotate(180deg);
|
|
55
88
|
}
|
|
56
89
|
|
|
57
90
|
&-center-right {
|
|
@@ -113,7 +113,7 @@ $brandui-color-labels: (
|
|
|
113
113
|
'warning-contrast': map.get($brandui-colors, 'white'),
|
|
114
114
|
'warning-contrast-dark': map.get($brandui-colors, 'midnight'),
|
|
115
115
|
'fail': map.get($brandui-colors, 'rose'),
|
|
116
|
-
'fail-dark': map.get($brandui-colors, '
|
|
116
|
+
'fail-dark': map.get($brandui-colors, 'rose'),
|
|
117
117
|
'fail-contrast': map.get($brandui-colors, 'white'),
|
|
118
118
|
'fail-contrast-dark': map.get($brandui-colors, 'midnight'),
|
|
119
119
|
'neutral-1': map.get($brandui-colors, 'black'),
|
|
@@ -112,6 +112,7 @@ $snyk-icons: (
|
|
|
112
112
|
'user-admin': '#{$brandui-images}brand-icons/user-admin.svg',
|
|
113
113
|
'visibility-and-intelligence': '#{$brandui-images}brand-icons/visibility-and-intelligence.svg',
|
|
114
114
|
'vuln-database': '#{$brandui-images}brand-icons/vuln-database.svg',
|
|
115
|
+
'video-word': '#{$brandui-images}brand-icons/video-word.svg',
|
|
115
116
|
'write-policies': '#{$brandui-images}brand-icons/write-policies.svg',
|
|
116
117
|
'zero-day': '#{$brandui-images}brand-icons/zero-day.svg',
|
|
117
118
|
);
|
|
@@ -7,9 +7,9 @@
|
|
|
7
7
|
|
|
8
8
|
/* Typography variables */
|
|
9
9
|
$brandui-font-size: (
|
|
10
|
-
hero-title-large:
|
|
11
|
-
hero-title-small: 2.
|
|
12
|
-
page-title-large:
|
|
10
|
+
hero-title-large: 4rem,
|
|
11
|
+
hero-title-small: 2.5rem,
|
|
12
|
+
page-title-large: 3rem,
|
|
13
13
|
page-title: 2.375rem,
|
|
14
14
|
section-title: 2.375rem,
|
|
15
15
|
headline-large: 2.5rem,
|
|
@@ -29,9 +29,9 @@ $brandui-font-size: (
|
|
|
29
29
|
) !default;
|
|
30
30
|
|
|
31
31
|
$brandui-line-height: (
|
|
32
|
-
hero-title-large:
|
|
33
|
-
hero-title-small: 2.
|
|
34
|
-
page-title-large:
|
|
32
|
+
hero-title-large: 4.5rem,
|
|
33
|
+
hero-title-small: 2.75rem,
|
|
34
|
+
page-title-large: 3.5rem,
|
|
35
35
|
page-title: 2.5rem,
|
|
36
36
|
section-title: 2.75rem,
|
|
37
37
|
headline-large: 3rem,
|
|
@@ -274,4 +274,12 @@ $text-elements-responsive: (
|
|
|
274
274
|
'letter-spacing': 0,
|
|
275
275
|
'text-transform': none,
|
|
276
276
|
),
|
|
277
|
+
'mini-header': (
|
|
278
|
+
'target': 'mini-header-small',
|
|
279
|
+
'weight': 700,
|
|
280
|
+
'family': map.get($brandui-font-family, geist-mono),
|
|
281
|
+
'type': sans-serif,
|
|
282
|
+
'letter-spacing': 0.12em,
|
|
283
|
+
'text-transform': uppercase,
|
|
284
|
+
),
|
|
277
285
|
);
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
@use '../../base/variables/effects' as *;
|
|
3
3
|
@use '../../base/variables/typography' as *;
|
|
4
4
|
@use '../../base/variables/sizing' as *;
|
|
5
|
+
@use '../../base/mixins/breakpoints' as break;
|
|
5
6
|
@use '../../base/mixins/color-mode' as color;
|
|
6
7
|
@use '../../base/functions' as *;
|
|
7
8
|
|
|
@@ -90,6 +91,10 @@ $secondary-conic-dark-values: RGBA(brandui-rgb-labels(action-dark), 1), RGBA(bra
|
|
|
90
91
|
|
|
91
92
|
@include color.color-mode-pseudo('&:hover, &:focus', border-color, brandui-color-labels(neutral-2), brandui-color-labels(neutral-4));
|
|
92
93
|
@include color.color-mode-pseudo('&:hover, &:focus', background-color, brandui-color-labels(neutral-2), brandui-color-labels(neutral-4));
|
|
94
|
+
|
|
95
|
+
.general-icon {
|
|
96
|
+
@include color.color-mode(color, brandui-color-labels(action-secondary), brandui-color-labels(action-secondary-dark));
|
|
97
|
+
}
|
|
93
98
|
}
|
|
94
99
|
|
|
95
100
|
&.secondary {
|
|
@@ -197,6 +202,13 @@ $secondary-conic-dark-values: RGBA(brandui-rgb-labels(action-dark), 1), RGBA(bra
|
|
|
197
202
|
display: flex;
|
|
198
203
|
flex-wrap: wrap;
|
|
199
204
|
gap: map.get($brandui-padding, medium);
|
|
205
|
+
|
|
206
|
+
@include break.max-tablet {
|
|
207
|
+
flex-direction: column;
|
|
208
|
+
gap: map.get($brandui-padding, small);
|
|
209
|
+
justify-content: center;
|
|
210
|
+
align-items: center;
|
|
211
|
+
}
|
|
200
212
|
}
|
|
201
213
|
|
|
202
214
|
// This is the rotating conic-gradient glimmer effect
|
|
@@ -5,15 +5,13 @@
|
|
|
5
5
|
@use '../../base/mixins/color-mode' as color;
|
|
6
6
|
@use '../../base/mixins/breakpoints' as break;
|
|
7
7
|
@use '../../base/functions' as *;
|
|
8
|
+
@use '../molecules/cards/card.scss' as *;
|
|
9
|
+
@use '../molecules/cards/card.scss' as *;
|
|
8
10
|
|
|
9
11
|
.alert {
|
|
12
|
+
@extend .card;
|
|
10
13
|
padding: map.get($brandui-padding, medium);
|
|
11
14
|
position: relative;
|
|
12
|
-
border-width: 0.0625rem;
|
|
13
|
-
border-top-width: map.get($brandui-padding, extra-small);
|
|
14
|
-
border-style: solid;
|
|
15
|
-
border-radius: map.get($brandui-radius, large);
|
|
16
|
-
@include color.color-mode(background-color, map.get($brandui-base-colors, dark-purple), brandui-color-labels(neutral-2));
|
|
17
15
|
@include color.color-mode(border-color, brandui-color-labels(info), brandui-color-labels(info-dark));
|
|
18
16
|
|
|
19
17
|
&-body {
|
|
@@ -35,18 +33,34 @@
|
|
|
35
33
|
// Alternate state colors
|
|
36
34
|
&.alert {
|
|
37
35
|
&-success {
|
|
38
|
-
@include color.color-mode(background-color, map.get($brandui-base-colors, dark-teal), brandui-color-labels(neutral-2));
|
|
39
36
|
@include color.color-mode(border-color, brandui-color-labels(success), brandui-color-labels(success-dark));
|
|
37
|
+
|
|
38
|
+
.button.tertiary {
|
|
39
|
+
@include color.color-mode(color, brandui-color-labels(success), brandui-color-labels(success-dark));
|
|
40
|
+
}
|
|
40
41
|
}
|
|
41
42
|
|
|
42
43
|
&-warning {
|
|
43
|
-
@include color.color-mode(background-color, map.get($brandui-base-colors, autumn), brandui-color-labels(neutral-2));
|
|
44
44
|
@include color.color-mode(border-color, brandui-color-labels(warning), brandui-color-labels(warning-dark));
|
|
45
|
+
|
|
46
|
+
.button.tertiary {
|
|
47
|
+
@include color.color-mode(color, brandui-color-labels(warning), brandui-color-labels(warning-dark));
|
|
48
|
+
}
|
|
45
49
|
}
|
|
46
50
|
|
|
47
51
|
&-fail {
|
|
48
|
-
@include color.color-mode(background-color, map.get($brandui-base-colors, rose), brandui-color-labels(neutral-2));
|
|
49
52
|
@include color.color-mode(border-color, brandui-color-labels(fail), brandui-color-labels(fail-dark));
|
|
53
|
+
|
|
54
|
+
.button.tertiary {
|
|
55
|
+
@include color.color-mode(color, brandui-color-labels(fail), brandui-color-labels(fail-dark));
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.button {
|
|
60
|
+
&:hover,
|
|
61
|
+
&:focus {
|
|
62
|
+
@include color.color-mode(color, brandui-color-labels(action), brandui-color-labels(action-dark));
|
|
63
|
+
}
|
|
50
64
|
}
|
|
51
65
|
}
|
|
52
66
|
}
|
|
@@ -13,23 +13,20 @@
|
|
|
13
13
|
display: flex;
|
|
14
14
|
align-items: center;
|
|
15
15
|
width: 100%;
|
|
16
|
-
|
|
17
|
-
border-
|
|
18
|
-
border-radius: map.get($brandui-radius, 'pill');
|
|
19
|
-
border-style: solid;
|
|
20
|
-
@include color.color-mode(border-color, brandui-color-labels(neutral-3), brandui-color-labels(neutral-6));
|
|
16
|
+
border: 2px solid transparent;
|
|
17
|
+
border-radius: map.get($brandui-radius, 'small');
|
|
21
18
|
}
|
|
22
19
|
|
|
23
20
|
&-input {
|
|
24
|
-
border:
|
|
25
|
-
border-radius: map.get($brandui-radius, '
|
|
21
|
+
border: 2px solid transparent;
|
|
22
|
+
border-radius: map.get($brandui-radius, 'small');
|
|
26
23
|
outline: none;
|
|
27
24
|
padding: map.get($brandui-padding, extra-small) map.get($brandui-padding, medium);
|
|
28
25
|
width: 100%;
|
|
29
26
|
font-family: map.get($brandui-font-family, roboto), sans-serif;
|
|
30
27
|
min-width: 300px;
|
|
31
28
|
font-size: map.get($brandui-font-size, body);
|
|
32
|
-
@include color.color-mode(color, brandui-color-labels(neutral-
|
|
29
|
+
@include color.color-mode(color, brandui-color-labels(neutral-1), brandui-color-labels(neutral-1));
|
|
33
30
|
|
|
34
31
|
&::placeholder {
|
|
35
32
|
font-size: map.get($brandui-font-size, body);
|
|
@@ -41,9 +38,23 @@
|
|
|
41
38
|
}
|
|
42
39
|
}
|
|
43
40
|
|
|
44
|
-
&-
|
|
41
|
+
&-actions {
|
|
45
42
|
position: absolute;
|
|
46
43
|
right: 0;
|
|
44
|
+
display: flex;
|
|
45
|
+
flex-direction: row-reverse;
|
|
46
|
+
align-items: center;
|
|
47
|
+
|
|
48
|
+
hr {
|
|
49
|
+
width: 1px;
|
|
50
|
+
height: 20px;
|
|
51
|
+
margin: 0 10px;
|
|
52
|
+
background-color: map.get($brandui-colors, 'midnight');
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.general-icon {
|
|
56
|
+
@include color.color-mode(color, brandui-color-labels(action-secondary), brandui-color-labels(action-secondary-dark));
|
|
57
|
+
}
|
|
47
58
|
}
|
|
48
59
|
}
|
|
49
60
|
|
|
@@ -14,13 +14,22 @@
|
|
|
14
14
|
width: 100%;
|
|
15
15
|
}
|
|
16
16
|
}
|
|
17
|
+
&-item {
|
|
18
|
+
width: brandui-col-spacing(5);
|
|
19
|
+
@include break.max-mobile {
|
|
20
|
+
width: 100%;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
17
23
|
|
|
18
24
|
&-content {
|
|
19
25
|
&-wrapper {
|
|
20
26
|
display: flex;
|
|
27
|
+
justify-content: space-around;
|
|
21
28
|
@include break.max-mobile {
|
|
22
29
|
flex-direction: column;
|
|
23
30
|
align-items: center;
|
|
31
|
+
justify-content: baseline;
|
|
32
|
+
gap: brandui-padding(large);
|
|
24
33
|
}
|
|
25
34
|
}
|
|
26
35
|
}
|
|
@@ -16,6 +16,10 @@
|
|
|
16
16
|
margin-left: auto;
|
|
17
17
|
margin-right: auto;
|
|
18
18
|
|
|
19
|
+
@include break.max-tablet {
|
|
20
|
+
margin: 0 map.get($brandui-padding, large);
|
|
21
|
+
}
|
|
22
|
+
|
|
19
23
|
&-content {
|
|
20
24
|
max-width: brandui-col-spacing(7);
|
|
21
25
|
width: 100%;
|
|
@@ -24,6 +28,10 @@
|
|
|
24
28
|
gap: map.get($brandui-padding, small);
|
|
25
29
|
justify-content: center;
|
|
26
30
|
|
|
31
|
+
.buttons {
|
|
32
|
+
justify-content: center;
|
|
33
|
+
}
|
|
34
|
+
|
|
27
35
|
@include break.max-tablet {
|
|
28
36
|
max-width: 100%;
|
|
29
37
|
text-align: center;
|
|
@@ -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 *;
|
|
@@ -6,7 +6,7 @@ $labsui-font-family: (
|
|
|
6
6
|
);
|
|
7
7
|
|
|
8
8
|
$brandui-font-size: (
|
|
9
|
-
hero-title-large:
|
|
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:
|
|
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:
|
|
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:
|
|
211
|
-
$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:
|
|
230
|
-
$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:
|
|
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));
|
|
@@ -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
|
}
|