Skip to main content

flutter_design_tokens 1.0.0 copy "flutter_design_tokens: ^1.0.0" to clipboard
flutter_design_tokens: ^1.0.0 copied to clipboard

A Flutter package providing semantic, reusable, and themeable design tokens for colors, typography, spacing, radius, borders, elevations, and component sizes.

app_design_tokens #

A Flutter package providing a semantic, reusable, and themeable design token system for Flutter projects.
It centralizes colors, typography, spacing, radius, borders, elevations, and component sizes, allowing consistent UI design across multiple apps or themes.

Features #

  • Semantic and reusable tokens: Use named tokens instead of hard-coded values.
  • Supports multiple themes: Light, Dark, or brand-specific themes.
  • Context-based access: Use context.colors, context.text, context.spacing for clean and intuitive code.
  • Full Flutter compatibility: Works seamlessly with Material widgets.
  • Easy to extend: Add custom tokens or themes without touching the package code.

Installation #

Add this to your pubspec.yaml:

dependencies:
  app_design_tokens: ^1.0.0

Usage #

Please check the example.

0
likes
140
points
34
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A Flutter package providing semantic, reusable, and themeable design tokens for colors, typography, spacing, radius, borders, elevations, and component sizes.

Repository (GitHub)

License

MIT (license)

Dependencies

flutter

More

Packages that depend on flutter_design_tokens