@snyk-mktg/brand-ui 2.5.10-canary.0 → 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.
Files changed (52) hide show
  1. package/dist/css/base.css +2472 -1078
  2. package/dist/css/base.css.map +1 -1
  3. package/dist/css/bundle.css +4328 -2350
  4. package/dist/css/bundle.css.map +1 -1
  5. package/dist/css/components.css +1957 -1504
  6. package/dist/css/components.css.map +1 -1
  7. package/dist/css/evo-bundle.css +3457 -1235
  8. package/dist/css/evo-bundle.css.map +1 -1
  9. package/dist/css/index.css +164 -130
  10. package/dist/css/index.css.map +1 -1
  11. package/dist/css/labs-bundle.css +9789 -7611
  12. package/dist/css/labs-bundle.css.map +1 -1
  13. package/dist/css/utilities.css +164 -130
  14. package/dist/css/utilities.css.map +1 -1
  15. package/dist/js/types/icons.d.ts +1 -1
  16. package/dist/js/utilities/icons.js +1 -0
  17. package/dist/scss/base/_baseline.scss +2 -2
  18. package/dist/scss/base/_layout.scss +1 -32
  19. package/dist/scss/base/_links.scss +3 -3
  20. package/dist/scss/base/decorations/_backgrounds.scss +47 -4
  21. package/dist/scss/base/decorations/_decorations.scss +13 -0
  22. package/dist/scss/base/mixins/_gradient-border.scss +4 -1
  23. package/dist/scss/base/variables/_colors.scss +14 -14
  24. package/dist/scss/base/variables/_icons.scss +1 -0
  25. package/dist/scss/base/variables/_typography.scss +14 -6
  26. package/dist/scss/components/atoms/_button.scss +14 -3
  27. package/dist/scss/components/atoms/_icons.scss +1 -0
  28. package/dist/scss/components/atoms/_tabs.scss +1 -1
  29. package/dist/scss/components/molecules/_alert.scss +22 -8
  30. package/dist/scss/components/molecules/_avatar-username.scss +1 -1
  31. package/dist/scss/components/molecules/_search.scss +20 -9
  32. package/dist/scss/components/molecules/cards/_card.scss +22 -3
  33. package/dist/scss/components/organisms/_featured-media.scss +9 -0
  34. package/dist/scss/components/organisms/_navigation.scss +4 -6
  35. package/dist/scss/components/organisms/_split-content.scss +0 -1
  36. package/dist/scss/components/organisms/ctas/_basic-cta.scss +3 -8
  37. package/dist/scss/components/organisms/ctas/_body-cta.scss +2 -16
  38. package/dist/scss/components/organisms/ctas/_footer-cta.scss +9 -16
  39. package/dist/scss/components/organisms/heroes/_hero-case-study.scss +1 -1
  40. package/dist/scss/components/organisms/heroes/_hero-title-text.scss +1 -1
  41. package/dist/scss/labs/_base.scss +1 -1
  42. package/dist/scss/labs/_components.scss +2 -2
  43. package/dist/scss/labs/_layout.scss +13 -0
  44. package/dist/scss/labs/base/variables/_typography.scss +15 -7
  45. package/dist/scss/labs/components/atoms/_button.scss +7 -1
  46. package/dist/scss/labs/components/atoms/_icons.scss +3 -0
  47. package/dist/scss/labs/components/molecules/_announcements.scss +10 -0
  48. package/dist/scss/labs/components/molecules/_avatar-username.scss +11 -0
  49. package/dist/scss/labs/components/molecules/_share-this.scss +6 -0
  50. package/dist/scss/labs/components/organisms/ctas/_basic-cta.scss +2 -0
  51. package/dist/scss/utilities/_scrollbar.scss +2 -2
  52. package/package.json +1 -1
@@ -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';
@@ -93,6 +93,7 @@ export const brandIcons = [
93
93
  'user-admin',
94
94
  'visibility-and-intelligence',
95
95
  'vuln-database',
96
+ 'video-word',
96
97
  'write-policies',
97
98
  'zero-day',
98
99
  ];
@@ -72,7 +72,7 @@ a:not([class]) {
72
72
  &:hover,
73
73
  &:focus,
74
74
  &:visited:hover {
75
- @include colors.color-mode(color, brandui-color-labels(action-secondary), brandui-color-labels(action-secondary-dark));
75
+ @include colors.color-mode(color, brandui-color-labels(action-tertiary), brandui-color-labels(action-tertiary-dark));
76
76
  }
77
77
 
78
78
  &:visited {
@@ -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
@@ -71,7 +71,7 @@ $position-spaces: (none, hairline, thin, slim, extra-small, small, medium, large
71
71
  text-align: center;
72
72
 
73
73
  &.solo-title {
74
- margin-bottom: 0;
74
+ margin-bottom: map.get($brandui-padding, 'large');
75
75
  }
76
76
 
77
77
  &-left-aligned {
@@ -100,37 +100,6 @@ $position-spaces: (none, hairline, thin, slim, extra-small, small, medium, large
100
100
  margin-right: auto;
101
101
  }
102
102
 
103
- .bg-boxed {
104
- padding: map.get($brandui-padding, extra-large);
105
- display: flex;
106
- flex-direction: column;
107
- position: relative;
108
- border-width: 0.1875rem;
109
- border-style: solid;
110
- border-width: map.get($brandui-padding, 'hairline');
111
- border-radius: map.get($brandui-radius, 'small');
112
- transition: map.get($brandui-transition, 'fast');
113
- overflow: hidden;
114
-
115
- @include color.color-mode(background-color, brandui-color-labels(ui-fill), brandui-color-labels(ui-fill-dark));
116
- @include glass.bg-glass(true, ui-fill);
117
- @include glass.border-glass(ui-stroke);
118
-
119
- &-decorated {
120
- border: 0;
121
- border-radius: map.get($brandui-radius, 'small');
122
- @include color.color-mode(background-color, brandui-color-labels(ui-fill), brandui-color-labels(ui-fill-dark));
123
- @include glass.bg-glass(true, ui-fill);
124
- @include gradient.gradient-border;
125
- }
126
- &-decorations {
127
- position: absolute;
128
- z-index: 1;
129
- inset: 2px;
130
- overflow: hidden;
131
- }
132
- }
133
-
134
103
  .brandui-backdrop {
135
104
  background: RGBA(brandui-rgb-labels(neutral-3), 0.9);
136
105
  position: fixed;
@@ -88,7 +88,7 @@
88
88
 
89
89
  &:hover,
90
90
  &:focus {
91
- color: brandui-colors(action-secondary);
91
+ color: brandui-colors(action-tertiary);
92
92
  }
93
93
  }
94
94
 
@@ -112,7 +112,7 @@
112
112
  -moz-text-decoration-thickness: map.get($brandui-padding, hairline);
113
113
  text-decoration-thickness: map.get($brandui-padding, hairline);
114
114
  font-weight: 600;
115
- @include color.color-mode(color, brandui-color-labels(action-secondary), brandui-color-labels(action-secondary-dark));
115
+ @include color.color-mode(color, brandui-color-labels(action-tertiary), brandui-color-labels(action-tertiary-dark));
116
116
  }
117
117
  }
118
118
  }
@@ -145,7 +145,7 @@
145
145
  &:hover {
146
146
  text-decoration: underline;
147
147
  text-decoration-style: dotted;
148
- @include color.color-mode(color, brandui-color-labels(action-secondary), brandui-color-labels(action-secondary-dark));
148
+ @include color.color-mode(color, brandui-color-labels(action-tertiary), brandui-color-labels(action-tertiary-dark));
149
149
 
150
150
  &::after {
151
151
  display: inline-block;
@@ -1,3 +1,4 @@
1
+ @use '../mixins/breakpoints' as break;
1
2
  @use '../variables/images' as *;
2
3
  @use '../functions' as *;
3
4
 
@@ -12,19 +13,42 @@
12
13
  z-index: -1;
13
14
  padding-bottom: 28rem;
14
15
 
16
+ // @include break.max-mobile {
17
+ // opacity: 0.35;
18
+ // }
19
+
15
20
  &-1 {
16
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
+ }
17
34
  }
18
35
 
36
+ // not used yet
19
37
  &-2 {
20
38
  background: transparent url('#{$brandui-images}decorations/decoration-bg-dot-wave-2.svg') center no-repeat;
21
39
  }
22
40
 
41
+ // Card Decoration
23
42
  &-3 {
24
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
+ }
25
49
  }
26
50
 
27
- // Tracks positon
51
+ // Tracks positon - default
28
52
  &-top-right {
29
53
  top: 0;
30
54
  right: -40rem;
@@ -32,16 +56,35 @@
32
56
  &-bottom-right {
33
57
  bottom: -10rem;
34
58
  right: -40rem;
35
- transform: rotate(180deg);
36
59
  }
37
60
  &-top-left {
38
- top: -60rem;
61
+ top: -20rem;
39
62
  left: -50rem;
63
+ transform: rotate(180deg);
64
+
65
+ @include break.max-mobile {
66
+ top: -30rem;
67
+ }
68
+
69
+ &-high {
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
+ }
83
+ }
40
84
  }
41
85
  &-bottom-left {
42
86
  bottom: -5rem;
43
87
  left: -40rem;
44
- transform: rotate(180deg);
45
88
  }
46
89
 
47
90
  &-center-right {
@@ -1,3 +1,16 @@
1
+ @use '../mixins/breakpoints' as break;
2
+
1
3
  .decorations-wrapper {
2
4
  isolation: isolate;
5
+
6
+ &.card-decorations {
7
+ position: absolute;
8
+ z-index: 1;
9
+ inset: 2px;
10
+ overflow: hidden;
11
+
12
+ @include break.max-mobile {
13
+ opacity: 0.35;
14
+ }
15
+ }
3
16
  }
@@ -7,7 +7,10 @@
7
7
  @use '../../base/functions' as *;
8
8
 
9
9
  @mixin gradient-border {
10
- :first-child {
10
+ // Sets all chilren over the gradient.
11
+ // Don't love the wildcard implementation, should find a better one
12
+ > * {
13
+ position: relative;
11
14
  z-index: 2;
12
15
  }
13
16
  @include color.gradient-mode-pseudo(
@@ -75,10 +75,10 @@ $brandui-colors: map.merge($brandui-colors, $custom-theme);
75
75
 
76
76
  // 2.0 Standardized color labels for theming
77
77
  $brandui-color-labels: (
78
- 'default': map.get($brandui-colors, 'snow'),
78
+ 'default': map.get($brandui-colors, 'white'),
79
79
  'default-dark': map.get($brandui-colors, 'black'),
80
80
  'ui-headline': map.get($brandui-colors, 'black'),
81
- 'ui-headline-dark': map.get($brandui-colors, 'snow'),
81
+ 'ui-headline-dark': map.get($brandui-colors, 'white'),
82
82
  'ui-body': map.get($brandui-colors, 'black'),
83
83
  'ui-body-dark': map.get($brandui-colors, 'steel'),
84
84
  'ui-fill': map.get($brandui-colors, 'steel'),
@@ -86,42 +86,42 @@ $brandui-color-labels: (
86
86
  'ui-stroke': map.get($brandui-colors, 'dark-grey'),
87
87
  'ui-stroke-dark': map.get($brandui-colors, 'steel'),
88
88
  'ui-text': map.get($brandui-colors, 'black'),
89
- 'ui-text-dark': map.get($brandui-colors, 'snow'),
89
+ 'ui-text-dark': map.get($brandui-colors, 'white'),
90
90
  'action': map.get($brandui-colors, 'black'),
91
- 'action-dark': map.get($brandui-colors, 'snow'),
92
- 'action-outline': map.get($brandui-colors, 'snow'),
93
- 'action-contrast': map.get($brandui-colors, 'snow'),
91
+ 'action-dark': map.get($brandui-colors, 'white'),
92
+ 'action-outline': map.get($brandui-colors, 'white'),
93
+ 'action-contrast': map.get($brandui-colors, 'white'),
94
94
  'action-contrast-dark': map.get($brandui-colors, 'black'),
95
- 'action-secondary': map.get($brandui-colors, 'snow'),
95
+ 'action-secondary': map.get($brandui-colors, 'white'),
96
96
  'action-secondary-dark': map.get($brandui-colors, 'black'),
97
97
  'action-secondary-contrast': map.get($brandui-colors, 'black'),
98
- 'action-secondary-contrast-dark': map.get($brandui-colors, 'snow'),
98
+ 'action-secondary-contrast-dark': map.get($brandui-colors, 'white'),
99
99
  'action-tertiary': map.get($brandui-colors, 'dark-purple'),
100
100
  'action-tertiary-dark': map.get($brandui-colors, 'lavender'),
101
101
  'action-tertiary-contrast': map.get($brandui-colors, 'black'),
102
102
  'action-tertiary-contrast-dark': map.get($brandui-colors, 'black'),
103
103
  'info': map.get($brandui-colors, 'dark-purple'),
104
104
  'info-dark': map.get($brandui-colors, 'lavender'),
105
- 'info-contrast': map.get($brandui-colors, 'snow'),
105
+ 'info-contrast': map.get($brandui-colors, 'white'),
106
106
  'info-contrast-dark': map.get($brandui-colors, 'midnight'),
107
107
  'success': map.get($brandui-colors, 'dark-teal'),
108
108
  'success-dark': map.get($brandui-colors, 'vibe'),
109
- 'success-contrast': map.get($brandui-colors, 'snow'),
109
+ 'success-contrast': map.get($brandui-colors, 'white'),
110
110
  'success-contrast-dark': map.get($brandui-colors, 'midnight'),
111
111
  'warning': map.get($brandui-colors, 'autumn'),
112
112
  'warning-dark': map.get($brandui-colors, 'tiger'),
113
- 'warning-contrast': map.get($brandui-colors, 'snow'),
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, 'salmon'),
117
- 'fail-contrast': map.get($brandui-colors, 'snow'),
116
+ 'fail-dark': map.get($brandui-colors, 'rose'),
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'),
120
120
  'neutral-2': map.get($brandui-colors, 'dark-purple'),
121
121
  'neutral-3': map.get($brandui-colors, 'bubblegum'),
122
122
  'neutral-4': map.get($brandui-colors, 'lavender-light'),
123
123
  'neutral-5': map.get($brandui-colors, 'steel'),
124
- 'neutral-6': map.get($brandui-colors, 'snow'),
124
+ 'neutral-6': map.get($brandui-colors, 'white'),
125
125
  ) !default;
126
126
 
127
127
  $brandui-tag-colors: (
@@ -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: 3.625rem,
11
- hero-title-small: 2.125rem,
12
- page-title-large: 2.375rem,
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: 4rem,
33
- hero-title-small: 2.125rem,
34
- page-title-large: 2.75rem,
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
 
@@ -41,15 +42,14 @@ $secondary-conic-dark-values: RGBA(brandui-rgb-labels(action-dark), 1), RGBA(bra
41
42
  position: relative;
42
43
  text-align: center;
43
44
  text-decoration: none;
44
- transition: color map.get($brandui-transition, fast), background-color map.get($brandui-transition, fast);
45
+ transition: color map.get($brandui-transition, fast), background-color map.get($brandui-transition, fast),
46
+ border-color map.get($brandui-transition, fast);
45
47
  -webkit-user-select: none;
46
48
  user-select: none;
47
49
  @include color.color-mode(color, brandui-color-labels(ui-headline), brandui-color-labels(ui-headline-dark));
48
50
 
49
51
  &:hover {
50
52
  cursor: pointer;
51
- @include color.color-mode(color, brandui-color-labels(action), brandui-color-labels(action-dark));
52
- @include color.color-mode(background-color, $action-secondary-base, $action-secondary-base-dark);
53
53
  }
54
54
 
55
55
  &:focus {
@@ -91,6 +91,10 @@ $secondary-conic-dark-values: RGBA(brandui-rgb-labels(action-dark), 1), RGBA(bra
91
91
 
92
92
  @include color.color-mode-pseudo('&:hover, &:focus', border-color, brandui-color-labels(neutral-2), brandui-color-labels(neutral-4));
93
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
+ }
94
98
  }
95
99
 
96
100
  &.secondary {
@@ -198,6 +202,13 @@ $secondary-conic-dark-values: RGBA(brandui-rgb-labels(action-dark), 1), RGBA(bra
198
202
  display: flex;
199
203
  flex-wrap: wrap;
200
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
+ }
201
212
  }
202
213
 
203
214
  // This is the rotating conic-gradient glimmer effect
@@ -104,6 +104,7 @@
104
104
  /* Better Font Rendering =========== */
105
105
  -webkit-font-smoothing: antialiased;
106
106
  -moz-osx-font-smoothing: grayscale;
107
+ @include color.color-mode(color, brandui-color-labels(ui-text), brandui-color-labels(ui-text-dark));
107
108
 
108
109
  @each $icon-key, $icon-val in $brandui-general-icons {
109
110
  &.icon-#{$icon-key} {
@@ -10,7 +10,7 @@
10
10
  .tabs {
11
11
  max-width: max-content;
12
12
  width: 100%;
13
- margin: brandui-padding(extra-large) auto;
13
+ margin: 0 auto brandui-padding(extra-large) auto;
14
14
  padding: map.get($brandui-padding, extra-small);
15
15
  display: flex;
16
16
  gap: map.get($brandui-padding, medium);
@@ -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
  }
@@ -14,7 +14,7 @@
14
14
  @include color.color-mode(color, brandui-color-labels(action), brandui-color-labels(action-dark));
15
15
 
16
16
  &:hover {
17
- @include color.color-mode(color, brandui-color-labels(action-secondary), brandui-color-labels(action-secondary-dark));
17
+ @include color.color-mode(color, brandui-color-labels(action-tertiary), brandui-color-labels(action-tertiary-dark));
18
18
  }
19
19
  }
20
20
  }
@@ -13,23 +13,20 @@
13
13
  display: flex;
14
14
  align-items: center;
15
15
  width: 100%;
16
- padding: 2px;
17
- border-width: 0.0625rem;
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: none;
25
- border-radius: map.get($brandui-radius, 'pill');
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-3), brandui-color-labels(neutral-6));
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
- &-submit {
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
 
@@ -1,9 +1,12 @@
1
1
  @use 'sass:map';
2
2
  @use '../../../base/mixins/glass' as glass;
3
+ @use '../../../base/mixins/breakpoints' as break;
3
4
  @use '../../../base/mixins/color-mode' as color;
5
+ @use '../../../base/mixins/gradient-border' as gradient;
4
6
  @use '../../../base/variables/effects' as *;
5
7
  @use '../../../base/variables/sizing' as *;
6
8
  @use '../../../base/functions' as *;
9
+ @use '../../../base//decorations/backgrounds' as *;
7
10
 
8
11
  .card {
9
12
  display: flex;
@@ -16,9 +19,8 @@
16
19
  transition: map.get($brandui-transition, 'fast');
17
20
  overflow: hidden;
18
21
 
19
- @include color.color-mode(background-color, brandui-color-labels(ui-fill), brandui-color-labels(ui-fill-dark));
20
- @include glass.bg-glass(true, ui-fill);
21
- @include glass.border-glass(ui-stroke);
22
+ @include color.color-mode(background-color, RGBA(brandui-rgb-labels(ui-fill), 0.8), RGBA(brandui-rgb-labels(ui-fill-dark), 0.8));
23
+ @include color.color-mode(border-color, RGBA(brandui-rgb-labels(ui-stroke), 0.3), RGBA(brandui-rgb-labels(ui-stroke-dark), 0.3));
22
24
 
23
25
  &-wrapper {
24
26
  position: relative;
@@ -45,3 +47,20 @@
45
47
  box-shadow: none;
46
48
  }
47
49
  }
50
+
51
+ .card-decorated {
52
+ position: relative;
53
+ padding: map.get($brandui-padding, huge);
54
+ max-width: brandui-col-spacing(12);
55
+ border-radius: map.get($brandui-radius, 'small');
56
+ overflow: hidden;
57
+
58
+ box-shadow: map.get($brandui-shadow, far);
59
+ @include color.color-mode(background-color, RGBA(brandui-rgb-labels(ui-fill), 0.8), RGBA(brandui-rgb-labels(ui-fill-dark), 0.8));
60
+ @include color.color-mode(border-color, RGBA(brandui-rgb-labels(ui-stroke), 0.3), RGBA(brandui-rgb-labels(ui-stroke-dark), 0.3));
61
+ @include gradient.gradient-border;
62
+
63
+ @include break.max-mobile {
64
+ padding: map.get($brandui-padding, large);
65
+ }
66
+ }
@@ -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
  }
@@ -323,11 +323,7 @@
323
323
  padding-top: map.get($brandui-padding, 'small');
324
324
  border-top-width: 1px;
325
325
  border-top-style: solid;
326
- @include color.color-mode(
327
- border-top-color,
328
- RGBA(brandui-rgb-labels(neutral-5), 0.3),
329
- RGBA(brandui-rgb-labels(neutral-5), 0.7)
330
- );
326
+ @include color.color-mode(border-top-color, brandui-color-labels(ui-fill), brandui-color-labels(ui-fill-dark));
331
327
 
332
328
  &:has(.submenu-column-label) {
333
329
  @include break.max-tablet {
@@ -420,6 +416,7 @@
420
416
 
421
417
  .general-icon {
422
418
  font-size: map.get($brandui-general-icon-size, 'medium');
419
+ @include color.color-mode(border-color, brandui-color-labels(ui-fill), brandui-color-labels(ui-fill-dark));
423
420
  }
424
421
 
425
422
  .product-logo {
@@ -607,7 +604,7 @@
607
604
  padding-top: map.get($brandui-padding, 'small');
608
605
  border-top-width: 1px;
609
606
  border-top-style: solid;
610
- @include color.color-mode(border-top-color, RGBA(brandui-rgb-labels(neutral-5), 0.3), RGBA(brandui-rgb-labels(neutral-5), 0.7));
607
+ @include color.color-mode(border-top-color, brandui-color-labels(ui-fill), brandui-color-labels(ui-fill-dark));
611
608
  }
612
609
 
613
610
  &-content {
@@ -654,6 +651,7 @@
654
651
  @extend .icon-border;
655
652
  padding: map.get($brandui-padding, 'extra-small');
656
653
  @include color.color-mode(background-color, brandui-color-labels(ui-fill), brandui-color-labels(ui-fill-dark));
654
+ @include color.color-mode(border-color, brandui-color-labels(ui-fill), brandui-color-labels(ui-fill-dark));
657
655
  }
658
656
 
659
657
  .general-icon {
@@ -8,7 +8,6 @@
8
8
  &-wrapper {
9
9
  display: flex;
10
10
  gap: brandui-padding(huge);
11
- padding: brandui-padding(large);
12
11
 
13
12
  @include break.max-tablet {
14
13
  flex-direction: column;