themes library
Optional ready-made themes for Fleury.
Each theme is a plain const ThemeData — hand one to FleuryApp or wrap
a subtree in a Theme:
import 'package:fleury/fleury_core.dart';
import 'package:fleury/themes.dart';
// Hand this root to `runApp` on a terminal or `mountApp` in a browser —
// the theme is the same object either way. (The web-safe `fleury_core`
// barrel is deliberate: this package must stay dart2js-compilable.)
const app = FleuryApp(
title: 'My app',
theme: tokyoNight,
home: MyApp(),
);
Nothing here is special: a theme is data, and yours can sit alongside
these. See doc/themes.md for how to build one, and fleuryThemes for
the full list ready to drop into a picker.
Classes
- NamedTheme
- A ThemeData with a display name — what a theme picker, gallery, or settings screen needs to show a user their options.
Constants
- catppuccinMocha → const ThemeData
- Catppuccin Mocha — Soothing pastel — the darkest of the four Catppuccin flavours.
- dracula → const ThemeData
- Dracula — Dark, with vivid purple and pink accents.
-
fleuryThemes
→ const List<
NamedTheme> - Every theme this package ships, in display order — hand this straight to a picker:
- gruvboxDark → const ThemeData
- Gruvbox Dark — Retro groove — warm, high-contrast, low-saturation.
- nord → const ThemeData
- Nord — Arctic, north-bluish — a cool six-hue palette.
- oneDark → const ThemeData
- One Dark — The Atom / VS Code "One Dark" palette.
- solarizedDark → const ThemeData
- Solarized Dark — Precision colours for machines and people, dark background.
- solarizedLight → const ThemeData
- Solarized Light — Precision colours for machines and people, light background.
- tokyoNight → const ThemeData
- Tokyo Night — A clean, dark, blue-leaning editor theme.