mantle_core 1.1.0 copy "mantle_core: ^1.1.0" to clipboard
mantle_core: ^1.1.0 copied to clipboard

Core runtime for Mantle: design tokens, MantleTheme, MantleProvider, and the theme-owned widget architecture.

1.1.0 #

  • MantleSpacing, MantleRadius, and MantleBreakpoint are interfaces with map implementations for literals and empty sentinels.
  • emOf on num for CSS-style em relative to the ambient text style.
  • MantleTheme stores optional token factories; MantleTheme.of(context) builds a fresh theme for the current context.

1.0.0 #

  • Initial stable release of the Mantle core runtime.
  • Design token groups: colors, icons, typography, spacing, radius, shadows, breakpoints, and shared size scales.
  • MantleTheme, animated MantleProvider (InheritedModel + aspects), and the Mantle root-theme facade for context-free token access.
  • Helpers: MantleIcon, BreakpointBuilder, HSL color utilities, and widget-test helpers in package:mantle_core/testing.dart.
1
likes
160
points
143
downloads

Documentation

Documentation
API reference

Publisher

unverified uploader

Weekly Downloads

Core runtime for Mantle: design tokens, MantleTheme, MantleProvider, and the theme-owned widget architecture.

Homepage
Repository (GitHub)
View/report issues

Topics

#flutter #theme #design-system #tokens #ui

License

MIT (license)

Dependencies

flutter, flutter_test, meta

More

Packages that depend on mantle_core