forked from firka/firka
- 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
21 lines
357 B
Dart
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();
|
|
}
|