Catppuccin class

A class representing the Catppuccin Mocha color palette. This class contains a collection of colors used for styling UI elements in the Catppuccin Mocha theme. Each color is represented as a Color value.

The colors are carefully selected to create a visually cohesive dark theme with a focus on subtle contrasts and pastel-like tones.

Constructors

Catppuccin({required Color red, required Color primary, required Color green, required Color text, required Color subtext1, required Color subtext0, required Color overlay2, required Color overlay1, required Color overlay0, required Color surface2, required Color surface1, required Color surface0, required Color base, required Color mantle, required Color crust})
const

Properties

base Color
final
crust Color
final
green Color
final
hashCode int
The hash code for this object.
no setterinherited
mantle Color
final
overlay0 Color
final
overlay1 Color
final
overlay2 Color
final
primary Color
final
red Color
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
subtext0 Color
final
subtext1 Color
final
surface0 Color
final
surface1 Color
final
surface2 Color
final
text Color
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

latte → const Catppuccin
This static instance provides all the colors in the Catppuccin Latte theme for consistent usage throughout the app.
mocha → const Catppuccin
The default Catppuccin theme color palette.