lumen_kit 1.3.0
lumen_kit: ^1.3.0 copied to clipboard
Flutter widget kit with configurable palettes and interchangeable styles (neon, flat, glass, soft, brutal).
Changelog #
1.3.0 #
- Added optional
success,warning, anddangerparameters toLumenPalette.fromSeed, so apps can set their own semantic colors. Omitted values keep theAppColorsdefaults. (#27) - A custom
dangerpassed toLumenPalette.fromSeedbecomes 20% more saturated when its hue is within 30 degrees ofprimaryand its saturation is below 50%, so it stays distinct from the primary color. Other colors are kept as given, and the defaultdangeris never changed. (#27) - Added
AppColors.dangerLight, a darkerdangerwith about 5:1 contrast on white.LumenPalette.light()and lightLumenPalette.fromSeedpalettes use it by default, so danger text, outlines and chips meet WCAG AA on light surfaces. Dark palettes keepAppColors.danger. (#27) AppTheme.fromSeedacceptssuccess,warning, anddangerand passes them toLumenPalette.fromSeed.- Raised the minimum Dart SDK to
3.14.0and Flutter to3.50.0. - Raised the minimum
material_uiversion to1.11.0.
1.2.0 #
- Added
LumenButton.tone, aLumenStatusTonethat gives any variant a semantic palette color. Solid buttons with a tone fill with a gradient derived from that color, or the plain color in styles without gradients, and pickbackgroundDeeportextPrimaryfor the text, whichever contrasts more. Buttons without a tone look the same as before. (#25) - Added
LumenButton.danger, a solid button withLumenStatusTone.dangerfor destructive actions. (#25) - Fixed
LumenActionContentoverflowing when its label doesn't fit. The label now stays on one line and ends with an ellipsis, which applies toLumenButton,LumenCtaand the extendedLumenFab, busy or not. (#24)
1.1.0 #
-
Added standalone foundation demos, control state comparisons, and independent horizontal and vertical steppers to the example gallery.
-
Standardized documentation, gallery text, and default widget labels in English.
-
The example gallery can toggle Lumen colors and styles independently.
-
The example includes a Default Material gallery that uses native Material widgets and theme defaults for comparison.
-
Added
LumenListTile.contentPaddingto control padding outside the tile. -
Added scroll configuration to
LumenList, includingshrinkWrap,physics,scrollDirection, andreverse. -
Kept
LumenDividervisible when the selected style uses solid fills. -
Raised the minimum
material_uiversion to1.10.0.
1.0.0 #
- Initial release