A Flutter package providing a comprehensive set of pre-defined Tailwind colors, fonts, sizes and ... for rapid UI development.
To use this package, add flutter_tailwind_theme
as a dependency in your pubspec.yaml file.
dependencies:
flutter:
sdk: flutter
flutter_tailwind_theme: ^1.0.3
TColors.transparent
TColors.black
TColors.white
TColors.slate
TColors.gray
TColors.zinc
TColors.neutral
TColors.stone
TColors.amber
TColors.yellow
TColors.lime
TColors.green
TColors.emerald
TColors.teal
TColors.cyan
TColors.sky
TColors.blue
TColors.indigo
TColors.violet
TColors.purple
TColors.fuchsia
TColors.pink
TColors.rose
Text(
'Hello, Tailwind Colors!',
style: TextStyle(color: TColors.blue.shade50),
)
TFontSize.xs
TFontSize.sm
TFontSize.base
TFontSize.lg
TFontSize.xl
TFontSize.xl2
TFontSize.xl3
TFontSize.xl4
TFontSize.xl5
TFontSize.xl6
TFontSize.xl7
TFontSize.xl8
TFontSize.xl9
Text(
'Hello, Tailwind Font Sizes!',
style: TextStyle(size: TFontSize.sm),
)
TFontWeight.thin
TFontWeight.extralight
TFontWeight.light
TFontWeight.normal
TFontWeight.medium
TFontWeight.semibold
TFontWeight.bold
TFontWeight.extrabold
TFontWeight.black
Text(
'Hello, Tailwind Font Weights!',
style: TextStyle(fontWeight: TFontWeight.medium),
)
TBorderRadius.none
TBorderRadius.sm
TBorderRadius.normal
TBorderRadius.md
TBorderRadius.lg
TBorderRadius.xl
TBorderRadius.xl2
TBorderRadius.xl3
TBorderRadius.full
Container(
decoration: BoxDecoration(
borderRadius: TBorderRadius.md,
),
)
TShadows.none
TShadows.sm
TShadows.normal
TShadows.md
TShadows.lg
TShadows.xl
TShadows.xl2
TShadows.inner
Container(
decoration: BoxDecoration(
shadows: TShadows.md,
),
)
This project is licensed under the terms of the MIT license. See the LICENSE file for details.
See the CHANGELOG.md file for a list of changes.