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.