tds_base_theme 0.2.0
tds_base_theme: ^0.2.0 copied to clipboard
Theme building utilities for the TFN Design System. Converts brand tokens into a Material 3 ThemeData and a curated DesignSystemTheme.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add tds_base_themeWith Flutter:
$ flutter pub add tds_base_themeThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
tds_base_theme: ^0.2.0Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:tds_base_theme/design_system_theme.dart';
import 'package:tds_base_theme/index.dart';
import 'package:tds_base_theme/theme_base.dart';
import 'package:tds_base_theme/theme_builder.dart';