tds_kilomita_theme 0.3.3 copy "tds_kilomita_theme: ^0.3.3" to clipboard
tds_kilomita_theme: ^0.3.3 copied to clipboard

KiloMita brand theme for the TFN Design System. Supplies the KiloMita colour, component colour and brand asset tokens as a ready-to-use BrandTokens set.

TDS KiloMita Theme #

The KiloMita brand theme for the TFN Design System. It packages the Figma-generated KiloMita token set — colour primitives, semantic colours, component colours and brand assets — as a ready-to-use BrandTokens instance, combined with the design system's shared spacing, shapes and typography.

Installing #

dependencies:
  tds_kilomita_theme: ^0.1.0

Usage #

The single entry point is KilomitaBrand.kilomitaBrand. Hand it to tds_base_theme to theme your whole app:

import 'package:flutter/material.dart';
import 'package:tds_base_theme/index.dart';
import 'package:tds_kilomita_theme/index.dart';

void main() {
  runApp(
    buildDesignSystemTheme(
      tokens: KilomitaBrand.kilomitaBrand,
      child: const MyApp(),
    ),
  );
}

Or provide the tokens directly with BrandThemeScope from tfn_design_system:

BrandThemeScope(
  tokens: KilomitaBrand.kilomitaBrand,
  child: const MyApp(),
);

What's inside #

Class Contents
KilomitaBrand kilomitaBrand — the assembled BrandTokens for the KiloMita brand
KilomitaColourPrimitivesTokens Raw KiloMita colour palette primitives
KilomitaColourTokens Semantic colours (primary, surface, error, success, …)
KilomitaComponentColourTokens Per-component colours (buttons, inputs, chips, …)
KilomitaBrandAssets Brand asset paths — logo, auth logo, navbar logo, banner

Spacing, shapes and typography come from the design system's shared base tokens (BaseSpacing, BaseShapes, BaseTextStyles), so only brand-specific values live here.

0
likes
120
points
117
downloads

Documentation

API reference

Publisher

verified publishercodecollective.com

Weekly Downloads

KiloMita brand theme for the TFN Design System. Supplies the KiloMita colour, component colour and brand asset tokens as a ready-to-use BrandTokens set.

Repository

License

BSD-3-Clause (license)

Dependencies

flutter, tfn_design_system

More

Packages that depend on tds_kilomita_theme