fabrik_theme 1.0.1
fabrik_theme: ^1.0.1 copied to clipboard
A foundational theme system for Flutter apps, built on design tokens.
Changelog #
All notable changes to this package are documented in this file. The format is based on Keep a Changelog, and this project adheres to semantic versioning.
1.0.1 #
- Material 3 theme defaults with
ColorScheme.fromSeed - Full
TextThemewiring using semantic typography tokens
1.0.0 #
This is a major, breaking release that establishes the long-term architecture and boundaries of fabrik_theme.
The package has been intentionally simplified and refocused to serve as a pure theming and design-token foundation. Several experimental and UI-level concerns present in earlier versions have been removed or relocated.
Added #
- Semantic theming system built on
ThemeExtensionAppColorsfor semantic color definitionsAppTypographyfor semantic typography styles
- Opinionated design token sets
- Color tokens
- Typography tokens
- Spacing tokens
- Radius tokens
- Border tokens
- Elevation tokens
FabrikTheme.createfor consistent theme constructionFabrikTypographyBuilderfor composing typography from tokens and colors- Optional font family support during theme creation
BuildContextextensions for ergonomic accesscontext.colorscontext.typography
Changed #
- Complete architectural redesign focused on:
- Predictable theming
- Clear separation of concerns
- Long-term maintainability
- Theme construction now relies exclusively on Flutter’s native theming system
- Typography is now semantic rather than mechanical
- Tokens are static and context-independent by design
Removed #
- Responsive utilities and breakpoint logic
- Text scaling helpers
- Context-based spacing and adaptive tokens
- Layout-related abstractions
- UI widgets and component helpers
- Legacy theme builders and default themes
These concerns are intentionally excluded from fabrik_theme and may be addressed in separate packages.
Migration notes #
If you were using versions prior to 1.0.0:
- Replace
FabrikThemeBuilderwithFabrikTheme.create - Replace custom theme accessors with
context.colorsandcontext.typography - Move responsive, layout, and scaling logic out of
fabrik_theme - Use tokens directly for spacing, radius, borders, and elevation
Refer to the documentation at https://fabriktool.com for migration guidance and updated examples.
0.1.1 #
- Added tablet layout handling
- Refined responsive logic based on platform and width
0.1.0 #
- Changed breakpoints to layout-based detection
- Updated responsive logic to include
isMobileandisDesktop
0.0.1 #
- Initial experimental release
- Color tokens
- Radius tokens
- Spacing and padding tokens
- Elevation tokens
- Typography tokens
- Responsive utilities
- Text scaling utilities
- Theme builders and default themes