@snyk-mktg/brand-ui 2.2.0 → 2.2.1

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.
@@ -177,6 +177,7 @@
177
177
  .nav-link {
178
178
  text-decoration: none;
179
179
  display: flex;
180
+ position: relative;
180
181
 
181
182
  &:hover,
182
183
  &:focus {
@@ -0,0 +1,21 @@
1
+ // Base modules
2
+ @use '../../scss/base/fonts' as *; // Must be first to load Google fonts asap
3
+ @use '../base/variables/colors' as *;
4
+ @use '../base/variables/themes' as *;
5
+ @use '../../scss/base/functions' as *;
6
+ @use '../../scss/base/mixins' as *;
7
+ @use '../../scss/base/color' as *;
8
+ @use '../base/baseline' as *;
9
+ @use '../../scss/base/typography' as *;
10
+ @use '../../scss/base/links' as *;
11
+ @use '../../scss/base/layout' as *;
12
+ @use '../../scss/base/spacing' as *;
13
+ @use '../../scss/base/sizing' as *;
14
+ @use '../../scss/base/decorations/glows' as *;
15
+ @use '../../scss/base/decorations/flourishes' as *;
16
+ @use '../../scss/base/decorations/markers' as *;
17
+ @use '../../scss/base/decorations/separators' as *;
18
+ @use '../../scss/base/decorations/sparkles' as *;
19
+
20
+ // @use './base/variables/colors' as *;
21
+ @use './base/decorations/backgrounds' as *;
@@ -67,7 +67,6 @@
67
67
  @use '../components/organisms/heroes/hero-form' as *;
68
68
  @use '../components/organisms/heroes/hero-text-media' as *;
69
69
  @use '../components/organisms/heroes/hero-title-text' as *;
70
- @use '../components/organisms/navigation' as *;
71
70
  @use '../components/organisms/split-content' as *;
72
71
  @use '../components/organisms/sticky-media' as *;
73
72
  @use '../components/organisms/sub-navigation' as *;
@@ -76,3 +75,4 @@
76
75
  // evo overwrites
77
76
 
78
77
  @use './components/atoms/button' as *;
78
+ @use './components/organisms/navigation' as *;
@@ -0,0 +1,19 @@
1
+ @use '../../scss/utilities/accessibility.scss' as *;
2
+ @use '../../scss/utilities/animations.scss' as *;
3
+ @use '../../scss/utilities/backgrounds.scss' as *;
4
+ @use '../../scss/utilities/borders.scss' as *;
5
+ @use '../../scss/utilities/effects.scss' as *;
6
+ @use '../../scss/utilities/elevation.scss' as *;
7
+ @use '../../scss/utilities/filters.scss' as *;
8
+ @use '../../scss/utilities/flex.scss' as *;
9
+ @use '../../scss/utilities/flip.scss' as *;
10
+ @use '../../scss/utilities/grid.scss' as *;
11
+ @use '../../scss/utilities/interactions.scss' as *;
12
+ @use '../../scss/utilities/list-styles.scss' as *;
13
+ @use '../../scss/utilities/media.scss' as *;
14
+ @use '../../scss/utilities/scrollbar.scss' as *;
15
+ @use '../../scss/utilities/shape.scss' as *;
16
+ @use '../../scss/utilities/transforms.scss' as *;
17
+ @use '../../scss/utilities/transitions.scss' as *;
18
+ @use '../../scss/utilities/visibility.scss' as *;
19
+ @use '../../scss/utilities/keyframes.scss' as *;
@@ -0,0 +1,38 @@
1
+ @use '../../../base/variables/images' as *;
2
+ @use '../../../base/functions' as *;
3
+ @use '../../../base/mixins/breakpoints' as break;
4
+ @use '../../../base/mixins/accessibility' as a11y;
5
+ @use '../../../base/decorations/backgrounds' as *;
6
+
7
+ .decoration-bg {
8
+ &.evo-logo {
9
+ position: absolute;
10
+ opacity: 0.05;
11
+ transform: scale(4);
12
+ width: brandui-col-spacing(16);
13
+ background: transparent url('#{$brandui-images}decorations/evo-logo-decoration.svg') center no-repeat;
14
+ background-size: contain;
15
+ mix-blend-mode: screen;
16
+ z-index: -1;
17
+ padding-bottom: 28rem;
18
+
19
+ &-top-right {
20
+ top: 0;
21
+ right: -40rem;
22
+ }
23
+ &-bottom-right {
24
+ bottom: -5rem;
25
+ right: -40rem;
26
+ }
27
+ &-top-left {
28
+ top: 0;
29
+ left: -40rem;
30
+ transform: rotate(180deg);
31
+ }
32
+ &-bottom-left {
33
+ bottom: -5rem;
34
+ left: -40rem;
35
+ transform: rotate(180deg);
36
+ }
37
+ }
38
+ }
@@ -0,0 +1,54 @@
1
+ @use 'sass:map';
2
+ @use '../../../components/organisms/navigation';
3
+ @use '../../../base/variables/sizing' as *;
4
+ @use '../../../base/variables/typography' as *;
5
+ @use '../../../base/mixins/color-mode' as color;
6
+ @use '../../../base/functions' as *;
7
+
8
+ .brandui-navigation {
9
+ .navigation {
10
+ &-item {
11
+ .nav-link {
12
+ .new-evo-feature {
13
+ @include color.gradient-mode(
14
+ 'background',
15
+ 'linear',
16
+ '140deg',
17
+ brandui-color-labels(action),
18
+ brandui-color-labels(action-dark),
19
+ brandui-color-labels(action-dark),
20
+ brandui-color-labels(action)
21
+ ) {
22
+ -webkit-background-clip: text;
23
+ -webkit-text-fill-color: transparent;
24
+ }
25
+
26
+ &-tag {
27
+ position: absolute;
28
+ top: 0;
29
+ right: -10px;
30
+ font-size: 9px;
31
+ border-radius: map.get($brandui-padding, thin);
32
+ padding: map.get($brandui-padding, thin);
33
+ @include color.gradient-mode(
34
+ 'background',
35
+ 'linear',
36
+ '140deg',
37
+ brandui-color-labels(action),
38
+ brandui-color-labels(action-dark),
39
+ brandui-color-labels(action-dark),
40
+ brandui-color-labels(action)
41
+ );
42
+ }
43
+ }
44
+
45
+ &:hover,
46
+ &:focus {
47
+ .new-evo-feature-tag {
48
+ color: brandui-color-labels(neutral-5);
49
+ }
50
+ }
51
+ }
52
+ }
53
+ }
54
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@snyk-mktg/brand-ui",
3
- "version": "2.2.0",
3
+ "version": "2.2.1",
4
4
  "description": "The official style library for Snyk’s BrandUI Design System",
5
5
  "scripts": {
6
6
  "dev:css": "gulp devCss",