@morphos/styles
Changelog for @morphos/styles.
0.2.0
- Added a
--dangervariant to theButtonrecipe (morphos-button--danger), combinable with--outline. - Added
morphos-dropdown-item--dangerandmorphos-context-menu-item--dangerfor destructive menu items. - Fixed
morphos-alert-dialog-action, which previously defaulted to the danger color for every confirmation regardless of context; it now uses the accent color by default. Addedmorphos-alert-dialog-action--dangerfor destructive confirmations. - Added
morphos-dropdown-trigger(pair withmorphos-button) soDropdownTriggerlays out its label and chevron correctly (label left, chevron right) instead of leaving that to consumer CSS.
0.1.0
Initial release.
- One CSS file per component across
@morphos/inputs,@morphos/overlays,@morphos/layout, and@morphos/feedback, plus a sharedtokens.cssof design tokens. - Category entry points (
inputs.css,overlays.css,layout.css,feedback.css) and a singleindex.cssthat imports everything. - Nothing is applied automatically — import only the files for the components you actually use.