Skip to content

Latest commit

 

History

History
83 lines (70 loc) · 3.47 KB

README.md

File metadata and controls

83 lines (70 loc) · 3.47 KB

Logo
Catppuccin for Flutter

 

Previews

🌻 Latte
🪴 Frappé
🌺 Macchiato
🌿 Mocha

Installation

To use Catppuccin in a Flutter project, you can follow these steps:

  1. Add catppuccin_flutter to Your pubspec.yaml File: Open your pubspec.yaml file and add the following line under the dependencies section:
    dependencies:
        # ...
        catppuccin_flutter: ^1.0.0
        # ...
  2. After adding catppuccin_flutter to your pubspec.yaml file, run the following command in your terminal to fetch the packages:
    flutter pub get

Usage

import 'package:catppuccin_flutter/catppuccin_flutter.dart';

Flavor flavor = catppuccin.latte;
Color primaryColor = flavor.mauve;
Color secondaryColor = flavor.pink;
  • catppuccin encapsulates all the flavor names, namely latte, frappe, macchiato and mocha.
  • Flavor typedef for record, which is a collection of all the colors available.

Also, you can get started with our example to see it in action!

Contributing

If you are looking to contribute, please read through our CONTRIBUTING.md first!

💝 Thanks to

 

Copyright © 2022-present Catppuccin Org