@khipu/design-system 0.2.0-alpha.32 → 0.2.0-alpha.33

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.
@@ -13,7 +13,7 @@
13
13
  *
14
14
  * AUTO-GENERATED FILE - DO NOT EDIT MANUALLY
15
15
  * Source: design-system/src/tokens/tokens.json
16
- * Generated: 2026-06-05T17:00:00.009Z
16
+ * Generated: 2026-06-09T13:05:49.029Z
17
17
  *
18
18
  * To regenerate:
19
19
  * cd design-system && npm run tokens:generate
@@ -50,16 +50,20 @@
50
50
  --kds-color-success-main: #2E7D32;
51
51
  --kds-color-success-light: #4CAF50;
52
52
  --kds-color-success-dark: #1B5E20;
53
+ --kds-color-success-contrast: #FFFFFF;
53
54
  --kds-color-warning-main: #EF6C00;
54
55
  --kds-color-warning-light: #FF9800;
55
56
  --kds-color-warning-dark: #E65100;
57
+ --kds-color-warning-contrast: #FFFFFF;
56
58
  --kds-color-warning-warm: #8A6D1A;
57
59
  --kds-color-error-main: #D32F2F;
58
60
  --kds-color-error-light: #EF5350;
59
61
  --kds-color-error-dark: #C62828;
62
+ --kds-color-error-contrast: #FFFFFF;
60
63
  --kds-color-info-main: #0288D1;
61
64
  --kds-color-info-light: #03A9F4;
62
65
  --kds-color-info-dark: #01579B;
66
+ --kds-color-info-contrast: #FFFFFF;
63
67
  --kds-color-info-blue: #5A5FE0;
64
68
 
65
69
  /* Text colors */
@@ -6213,6 +6217,39 @@
6213
6217
  box-shadow: none;
6214
6218
  }
6215
6219
 
6220
+ /* -- Button Warning (amber CTA) -- */
6221
+ .kds-theme-root button.kds-btn-warning,
6222
+ .kds-theme-root a.kds-btn-warning {
6223
+ background: var(--kds-color-warning-main);
6224
+ color: var(--kds-color-warning-contrast);
6225
+ border: none;
6226
+ }
6227
+
6228
+ .kds-theme-root button.kds-btn-warning:hover:not(:disabled),
6229
+ .kds-theme-root a.kds-btn-warning:hover:not(:disabled) {
6230
+ background: var(--kds-color-warning-dark);
6231
+ }
6232
+
6233
+ .kds-theme-root button.kds-btn-warning:active:not(:disabled),
6234
+ .kds-theme-root button.kds-btn-warning:focus-visible:not(:disabled),
6235
+ .kds-theme-root a.kds-btn-warning:active:not(:disabled),
6236
+ .kds-theme-root a.kds-btn-warning:focus-visible:not(:disabled) {
6237
+ background: var(--kds-color-warning-dark);
6238
+ outline: 2px solid var(--kds-color-warning-main);
6239
+ outline-offset: 2px;
6240
+ }
6241
+
6242
+ .kds-theme-root button.kds-btn-warning:disabled,
6243
+ .kds-theme-root a.kds-btn-warning:disabled {
6244
+ background-color: var(--kds-color-action-disabled-bg);
6245
+ color: var(--kds-color-action-disabled);
6246
+ box-shadow: none;
6247
+ }
6248
+
6249
+ .kds-theme-root button.kds-btn-warning::after {
6250
+ display: none;
6251
+ }
6252
+
6216
6253
  /* -- Field Helper Text -- */
6217
6254
  .kds-theme-root .kds-field-helper {
6218
6255
  font-size: var(--kds-font-size-xs);