senior_design_tokens 1.1.0 senior_design_tokens: ^1.1.0 copied to clipboard
Our color, radius, spacing and typography definitions in easy-to-use tokens.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add senior_design_tokens
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
senior_design_tokens: ^1.1.0
Alternatively, your editor might support flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:senior_design_tokens/senior_design_tokens.dart';