@snyk-mktg/brand-ui 2.3.14 → 2.3.16

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.
@@ -4,6 +4,7 @@
4
4
  @use '../../base/variables/typography' as *;
5
5
  @use '../../base/variables/icons' as *;
6
6
  @use '../../base/variables/effects' as *;
7
+ @use '../../base/variables/colors' as *;
7
8
  @use '../../base/mixins/color-mode' as color;
8
9
  @use '../../base/mixins/glass' as glass;
9
10
  @use '../../base/mixins/typography' as font;
@@ -196,6 +197,47 @@
196
197
  pointer-events: none;
197
198
  }
198
199
  }
200
+
201
+ .new-evo-feature {
202
+ @include color.gradient-mode(
203
+ 'background',
204
+ 'linear',
205
+ '140deg',
206
+ map.get($evoui-colors, 'orange'),
207
+ map.get($evoui-colors, 'pink'),
208
+ map.get($evoui-colors, 'orange'),
209
+ map.get($evoui-colors, 'pink')
210
+ ) {
211
+ -webkit-background-clip: text;
212
+ -webkit-text-fill-color: transparent;
213
+ }
214
+
215
+ &-tag {
216
+ @include color.gradient-mode(
217
+ 'background',
218
+ 'linear',
219
+ '140deg',
220
+ map.get($evoui-colors, 'orange'),
221
+ map.get($evoui-colors, 'orange'),
222
+ map.get($evoui-colors, 'pink'),
223
+ map.get($evoui-colors, 'pink')
224
+ ) {
225
+ position: absolute;
226
+ top: 0;
227
+ right: -10px;
228
+ font-size: 9px;
229
+ border-radius: map.get($brandui-padding, thin);
230
+ padding: map.get($brandui-padding, thin);
231
+ }
232
+ }
233
+ }
234
+
235
+ &:hover,
236
+ &:focus {
237
+ .new-evo-feature-tag {
238
+ color: brandui-color-labels(neutral-5);
239
+ }
240
+ }
199
241
  }
200
242
  }
201
243
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@snyk-mktg/brand-ui",
3
- "version": "2.3.14",
3
+ "version": "2.3.16",
4
4
  "description": "The official style library for Snyk’s BrandUI Design System",
5
5
  "scripts": {
6
6
  "dev:css": "gulp devCss",