tailwind_colors 0.2.1 tailwind_colors: ^0.2.1 copied to clipboard
Easily use the TailwindCSS color palette in dart. Features both the first TailwindCSS, the TailwindCSS 2.0 and the TailwindUI color palettes.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add tailwind_colors
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
tailwind_colors: ^0.2.1
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:tailwind_colors/tailwind_colors.dart';