Files
firka/firka_common/lib/data/models/user_theme_model.dart
Armand 8bc52aadcb feat: groundwork for customization
- Bring customization page up to par with design
- Add a font picker
- Add a themes page
- Add theme previews
- Add a theming system
- Split built-in theme into core/grade themes
2026-08-16 15:02:37 +02:00

21 lines
357 B
Dart

import "package:isar_community/isar.dart";
part "user_theme_model.g.dart";
@collection
class UserThemeModel {
Id id = Isar.autoIncrement;
@Index(unique: true, replace: true)
late String themeId;
late String name;
/// `own` or `downloaded`. Built-in is not persisted.
late String origin;
late List<int> swatchArgb;
UserThemeModel();
}