@featherk/styles 0.7.0 → 0.7.3

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.
@@ -0,0 +1,64 @@
1
+ .k-notification.fk-banner {
2
+ font-weight: 500;
3
+ }
4
+ /* #region fk-banner colors */
5
+ .k-notification.fk-banner.k-notification-error {
6
+ background-color: color-mix(
7
+ in srgb,
8
+ var(--kendo-color-error-subtle) 60%,
9
+ white
10
+ );
11
+ color: color-mix(in srgb, var(--kendo-color-error) 60%, black);
12
+ }
13
+
14
+ .k-notification.fk-banner.k-notification-info {
15
+ background-color: color-mix(
16
+ in srgb,
17
+ var(--kendo-color-info-subtle) 60%,
18
+ white
19
+ );
20
+ color: color-mix(in srgb, var(--kendo-color-info) 60%, black);
21
+ }
22
+
23
+ .k-notification.fk-banner.k-notification-success {
24
+ background-color: color-mix(
25
+ in srgb,
26
+ var(--kendo-color-success-subtle) 60%,
27
+ white
28
+ );
29
+ color: color-mix(in srgb, var(--kendo-color-success) 60%, black);
30
+ }
31
+
32
+ .k-notification.fk-banner.k-notification-warning {
33
+ background-color: color-mix(
34
+ in srgb,
35
+ var(--kendo-color-warning-subtle) 60%,
36
+ white
37
+ );
38
+ color: color-mix(in srgb, var(--kendo-color-warning) 40%, black);
39
+ }
40
+
41
+ /* #endregion fk-banner colors */
42
+
43
+ /* Adds flex when using custom icons from @featherk/icons */
44
+ .k-notification.fk-banner:not(:has(span.k-notification-status))
45
+ .k-notification-content {
46
+ display: flex;
47
+ align-items: center;
48
+ gap: 0.25rem;
49
+ }
50
+
51
+ /* prevents long notification content text from shrinking icons */
52
+ .k-notification.fk-banner.k-notification-closable .k-notification-actions,
53
+ .k-notification.fk-banner .k-icon.k-svg-icon:nth-child(1) {
54
+ width: 1.875rem;
55
+ height: 1.875rem;
56
+ align-self: flex-start;
57
+ }
58
+
59
+ /* Ensures all notification icons have consistent size (without regard to .fk-banner) */
60
+ .k-notification .k-icon.k-svg-icon {
61
+ flex-shrink: 0;
62
+ width: 1.875rem;
63
+ height: 1.875rem;
64
+ }
@@ -1,13 +1,13 @@
1
1
  @use "../external-styles/featherk-map-evitiAdvisor.css";
2
2
 
3
- @use "../external-styles/featherk-overrides--k-slider.css";
4
-
5
- @use "../external-styles/featherk-overrides--k-loader.css";
6
-
7
3
  @use "../external-styles/featherk-overrides--k-tooltip.css";
8
4
 
9
5
  @use "../external-styles/featherk-overrides--k-expander.css";
10
6
 
7
+ @use "../external-styles/featherk-overrides--k-slider.css";
8
+
9
+ @use "../external-styles/featherk-overrides--k-loader.css";
10
+
11
11
  @use "../external-styles/featherk-overrides--k-version.css";
12
12
 
13
13
  @use "../external-styles/featherk-overrides--k-zerowidthspace.css";
@@ -26,4 +26,6 @@
26
26
 
27
27
  @use "../external-styles/featherk-overrides--k-datetime.css";
28
28
 
29
- @use "../external-styles/featherk-overrides--k-grid.css";
29
+ @use "../external-styles/featherk-overrides--k-grid.css";
30
+
31
+ @use "../external-styles/featherk-overrides--k-notification.css";
@@ -1,11 +1,3 @@
1
- @font-face {
2
- font-family: Inter;
3
- src: url('../fonts/Inter-Regular.woff2') format('woff2');
4
- font-style: normal;
5
- font-weight: 400;
6
- font-display: auto;
7
- }
8
-
9
1
  @font-face {
10
2
  font-family: Inter;
11
3
  src: url('../fonts/Inter-Light.woff2') format('woff2');
@@ -24,33 +16,33 @@
24
16
 
25
17
  @font-face {
26
18
  font-family: Inter;
27
- src: url('../fonts/Inter-BoldItalic.woff2') format('woff2');
19
+ src: url('../fonts/Inter-LightItalic.woff2') format('woff2');
28
20
  font-style: italic;
29
- font-weight: 700;
21
+ font-weight: 300;
30
22
  font-display: auto;
31
23
  }
32
24
 
33
25
  @font-face {
34
26
  font-family: Inter;
35
- src: url('../fonts/Inter-MediumItalic.woff2') format('woff2');
27
+ src: url('../fonts/Inter-Italic.woff2') format('woff2');
36
28
  font-style: italic;
37
- font-weight: 500;
29
+ font-weight: 400;
38
30
  font-display: auto;
39
31
  }
40
32
 
41
33
  @font-face {
42
34
  font-family: Inter;
43
- src: url('../fonts/Inter-LightItalic.woff2') format('woff2');
44
- font-style: italic;
45
- font-weight: 300;
35
+ src: url('../fonts/Inter-Regular.woff2') format('woff2');
36
+ font-style: normal;
37
+ font-weight: 400;
46
38
  font-display: auto;
47
39
  }
48
40
 
49
41
  @font-face {
50
42
  font-family: Inter;
51
- src: url('../fonts/Inter-Italic.woff2') format('woff2');
43
+ src: url('../fonts/Inter-MediumItalic.woff2') format('woff2');
52
44
  font-style: italic;
53
- font-weight: 400;
45
+ font-weight: 500;
54
46
  font-display: auto;
55
47
  }
56
48
 
@@ -60,4 +52,12 @@
60
52
  font-style: normal;
61
53
  font-weight: 500;
62
54
  font-display: auto;
55
+ }
56
+
57
+ @font-face {
58
+ font-family: Inter;
59
+ src: url('../fonts/Inter-BoldItalic.woff2') format('woff2');
60
+ font-style: italic;
61
+ font-weight: 700;
62
+ font-display: auto;
63
63
  }