@featherk/styles 0.7.2 → 0.7.4

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,67 @@
1
+ /* #region Notification overrides */
2
+ /* Ensures all notification icons have consistent size */
3
+ .k-notification .k-icon.k-svg-icon {
4
+ flex-shrink: 0;
5
+ width: 1.875rem;
6
+ height: 1.875rem;
7
+ }
8
+
9
+ .k-notification.k-notification-closable .k-notification-actions,
10
+ .k-notification .k-icon.k-svg-icon:nth-child(1) {
11
+ align-self: flex-start;
12
+ width: 1.875rem;
13
+ height: 1.875rem;
14
+ }
15
+ /* #endregion Notification overrides */
16
+
17
+ /* #region fk-banner */
18
+ .k-notification.fk-banner {
19
+ font-weight: 500;
20
+ }
21
+ /* #region fk-banner colors */
22
+ .k-notification.fk-banner.k-notification-error {
23
+ background-color: color-mix(
24
+ in srgb,
25
+ var(--kendo-color-error-subtle) 60%,
26
+ white
27
+ );
28
+ color: color-mix(in srgb, var(--kendo-color-error) 60%, black);
29
+ }
30
+
31
+ .k-notification.fk-banner.k-notification-info {
32
+ background-color: color-mix(
33
+ in srgb,
34
+ var(--kendo-color-info-subtle) 60%,
35
+ white
36
+ );
37
+ color: color-mix(in srgb, var(--kendo-color-info) 60%, black);
38
+ }
39
+
40
+ .k-notification.fk-banner.k-notification-success {
41
+ background-color: color-mix(
42
+ in srgb,
43
+ var(--kendo-color-success-subtle) 60%,
44
+ white
45
+ );
46
+ color: color-mix(in srgb, var(--kendo-color-success) 60%, black);
47
+ }
48
+
49
+ .k-notification.fk-banner.k-notification-warning {
50
+ background-color: color-mix(
51
+ in srgb,
52
+ var(--kendo-color-warning-subtle) 60%,
53
+ white
54
+ );
55
+ color: color-mix(in srgb, var(--kendo-color-warning) 40%, black);
56
+ }
57
+ /* #endregion fk-banner colors */
58
+
59
+ /* Adds flex when using custom icons from @featherk/icons */
60
+ .k-notification.fk-banner:not(:has(span.k-notification-status))
61
+ .k-notification-content {
62
+ display: flex;
63
+ align-items: center;
64
+ gap: 0.25rem;
65
+ }
66
+
67
+ /* #endregion fk-banner */
@@ -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
  }