Skip to content

A small color palette package for Flutter. It contains beautiful Tailwind CSS Color palette.

License

Notifications You must be signed in to change notification settings

codewithmustafa/fl_tailwindcss_colors

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A small color palette package for Flutter. It contains beautiful Tailwind CSS Color palette. Also utilizes extension methods to make it easier to use.

Demo

Demo

Features

Use goodly organized and really nice colors on your flutter project with adding just one line to your dependencies.

Getting started

Just add the package to your project and you are ready to use it.

dependencies:
  tailwind_palette: ^0.0.4

Usage

Color colorSky500 = TailwindPalette.sky.shade500
Color colorOrange500 = TailwindPalette.orange.shade500
Color colorSky950 = TailwindPalette.sky.shade950

Check all colors from here.

Use extension methods below to get all the tones of a color:

extension ListOfColorExtensions on List<Color> {
  Color get shade50 => this[0];
  Color get shade100 => this[1];
  Color get shade200 => this[2];
  Color get shade300 => this[3];
  Color get shade400 => this[4];
  Color get shade500 => this[5];
  Color get shade600 => this[6];
  Color get shade700 => this[7];
  Color get shade800 => this[8];
  Color get shade900 => this[9];
  Color get shade950 => this[10];
}

Check TailwindPalette class for all the colors available.

NOTICE and REFERENCE

Colors are from beautiful Tailwind CSS Palette check here.

About

A small color palette package for Flutter. It contains beautiful Tailwind CSS Color palette.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published