fabrik_theme 1.0.1 copy "fabrik_theme: ^1.0.1" to clipboard
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 TextTheme wiring 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 ThemeExtension
    • AppColors for semantic color definitions
    • AppTypography for semantic typography styles
  • Opinionated design token sets
    • Color tokens
    • Typography tokens
    • Spacing tokens
    • Radius tokens
    • Border tokens
    • Elevation tokens
  • FabrikTheme.create for consistent theme construction
  • FabrikTypographyBuilder for composing typography from tokens and colors
  • Optional font family support during theme creation
  • BuildContext extensions for ergonomic access
    • context.colors
    • context.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 FabrikThemeBuilder with FabrikTheme.create
  • Replace custom theme accessors with context.colors and context.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 isMobile and isDesktop

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
2
likes
160
points
319
downloads

Publisher

verified publisherfabriktool.com

Weekly Downloads

A foundational theme system for Flutter apps, built on design tokens.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on fabrik_theme