@natec/mef-dev-ui-kit 22.0.358 → 22.0.359

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/README.md CHANGED
@@ -393,7 +393,7 @@ set them on `:root`, or on an ancestor that actually contains the overlay.
393
393
  | `--md-dialog-border` | `none` |
394
394
  | `--md-dialog-color` | `inherit` |
395
395
  | `--md-dialog-title-color` | `#201a1b` |
396
- | `--md-dialog-title-font-family` | `--md-font-heading`, then `Montserrat` |
396
+ | `--md-dialog-title-font-family` | `--md-font-heading`, then `Inter` |
397
397
  | `--md-dialog-title-padding` | `6px 24px 13px` |
398
398
  | `--md-dialog-title-font-size` | `1.5rem` |
399
399
  | `--md-dialog-title-line-height` | `2rem` |
@@ -423,3 +423,40 @@ The backdrop is a sibling of the pane, so it does **not** inherit variables from
423
423
  ```
424
424
 
425
425
  The Modals demo includes both default and compact versions of the same dialog.
426
+
427
+ ### Default font
428
+
429
+ Inter is the default for body text, headings and controls. Import the global styles
430
+ to load the bundled Latin and Cyrillic variable fonts without an external font service.
431
+ The font files are included in the library package.
432
+
433
+ ### Selection accent
434
+
435
+ Set `--md-color-accent` on your application root to customize checkbox, select options,
436
+ radio, switch, menu hover, tab indicators and the selected step border together.
437
+ Its default follows `--md-color-primary` in the current light or dark theme.
438
+ For detached overlays, set it on `html` or `body`.
439
+
440
+ ```css
441
+ body { --md-color-accent: var(--app-tenant-accent, #06b6d4); }
442
+ .special-tabs { --md-tabs-indicator-color: #a855f7; }
443
+ ```
444
+
445
+ Component overrides always take precedence: for example,
446
+ `var(--md-radio-selected-color, var(--md-color-accent, var(--md-color-primary)))`.
447
+ Selection overrides are intentionally not assigned defaults by the theme, so a scoped
448
+ accent remains effective. Existing component tokens remain supported. Checkbox exposes
449
+ `--md-checkbox-selected-background`, `--md-checkbox-selected-border-color`,
450
+ `--md-checkbox-hover-border-color`, `--md-checkbox-hover-background`,
451
+ `--md-checkbox-focus-color`, `--md-checkbox-disabled-color` and
452
+ `--md-checkbox-disabled-background`. The stepper exposes
453
+ `--md-stepper-selected-border-color`; native checkbox/radio use `--md-native-control-accent`.
454
+ Disabled controls remain neutral. Error hints, danger actions and link hover keep their
455
+ semantic colors independently of the selection accent.
456
+
457
+ Selectable chips use an 18% accent tint for the selected background, theme text for
458
+ readable labels, and the accent for the checkmark and hover/focus state layer.
459
+ `--md-chip-selected-background` and `--md-chip-selected-label-color` remain the highest
460
+ priority overrides; `--md-chip-selected-icon-color` and
461
+ `--md-chip-selected-state-layer-color` customize their respective states.
462
+ Disabled chips stay neutral, and autocomplete value chips are not selectable states.