mirror of
https://github.com/rzuasti/oott.git
synced 2026-07-08 19:21:54 +02:00
Make Gruvbox Dark the default theme
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.8
parent
2817fc7cab
commit
c7d948abac
@@ -22,6 +22,7 @@
|
|||||||
|
|
||||||
## Frontend
|
## Frontend
|
||||||
|
|
||||||
|
- [x] Make gruvbox the default theme
|
||||||
- [x] Can we add front-end tests?
|
- [x] Can we add front-end tests?
|
||||||
- [x] Break down oott_api.dart in modules
|
- [x] Break down oott_api.dart in modules
|
||||||
|
|
||||||
|
|||||||
@@ -61,8 +61,8 @@ final _themes = {
|
|||||||
|
|
||||||
class AppState extends ChangeNotifier {
|
class AppState extends ChangeNotifier {
|
||||||
AppState() {
|
AppState() {
|
||||||
final saved = PrefUtil.getValue('theme', 'catppuccin_mocha') as String;
|
final saved = PrefUtil.getValue('theme', 'gruvbox_dark') as String;
|
||||||
_themeKey = _themes.containsKey(saved) ? saved : 'catppuccin_mocha';
|
_themeKey = _themes.containsKey(saved) ? saved : 'gruvbox_dark';
|
||||||
}
|
}
|
||||||
|
|
||||||
late String _themeKey;
|
late String _themeKey;
|
||||||
|
|||||||
Reference in New Issue
Block a user