@snyk-mktg/brand-ui 2.2.0 → 2.3.0
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/variables/_colors.scss +21 -0
- package/dist/scss/base/variables/_themes.scss +64 -0
- package/dist/scss/components/molecules/_text-grid-item.scss +12 -0
- package/dist/scss/components/organisms/_navigation.scss +1 -0
- package/dist/scss/components.scss +1 -0
- package/dist/scss/evo/_base.scss +32 -0
- package/dist/scss/evo/_components.scss +4 -3
- package/dist/scss/evo/_utilities.scss +21 -0
- package/dist/scss/evo/base/_baseline.scss +50 -0
- package/dist/scss/evo/base/_color.scss +8 -0
- package/dist/scss/evo/base/_typography.scss +352 -0
- package/dist/scss/evo/base/decorations/_backgrounds.scss +95 -0
- package/dist/scss/evo/base/mixins/_glass.scss +37 -0
- package/dist/scss/evo/base/variables/_colors.scss +48 -1
- package/dist/scss/evo/base/variables/_themes.scss +0 -3
- package/dist/scss/evo/base/variables/_typography.scss +242 -9
- package/dist/scss/evo/components/atoms/_button.scss +115 -1
- package/dist/scss/evo/components/atoms/_feature-checkmark.scss +28 -0
- package/dist/scss/evo/components/molecules/_text-grid-item.scss +7 -0
- package/dist/scss/evo/components/molecules/cards/_card.scss +14 -0
- package/dist/scss/evo/components/organisms/_navigation.scss +54 -0
- package/dist/scss/evo/utilities/_rich-text.scss +18 -0
- package/package.json +1 -1
|
@@ -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
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
@use 'sass:map';
|
|
2
|
+
@use '../../utilities/rich-text' as *;
|
|
3
|
+
@use '../../base/mixins/color-mode' as color;
|
|
4
|
+
@use '../../base/functions' as *;
|
|
5
|
+
|
|
6
|
+
.txt-rich,
|
|
7
|
+
.txt-rich-long {
|
|
8
|
+
a:not([class]) {
|
|
9
|
+
font-weight: 400;
|
|
10
|
+
text-decoration: none;
|
|
11
|
+
@include color.color-mode(color, brandui-color-labels('action-secondary'), brandui-color-labels('action-secondary-dark'));
|
|
12
|
+
|
|
13
|
+
&:hover,
|
|
14
|
+
&:focus {
|
|
15
|
+
@include color.color-mode(color, brandui-color-labels('ui-text'), brandui-color-labels('ui-text-dark'));
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
}
|