plinth_core 1.2.0 copy "plinth_core: ^1.2.0" to clipboard
plinth_core: ^1.2.0 copied to clipboard

Design tokens for Plinth UI: seed a 10-shade colour ramp from any brand colour, name colours by role, resolve text against WCAG contrast floors.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add plinth_core

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  plinth_core: ^1.2.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:plinth_core/plinth_core.dart';
0
likes
160
points
529
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Design tokens for Plinth UI: seed a 10-shade colour ramp from any brand colour, name colours by role, resolve text against WCAG contrast floors.

Repository (GitHub)
View/report issues

Topics

#design-tokens #theming #design-system #accessibility #color

License

MIT (license)

Dependencies

flutter

More

Packages that depend on plinth_core