refactor(theme): the look comes from halkyon_ui
The theme, Noto Sans, the window sizes and the widgets every screen is built of move to halkyon_ui (halkyon_shared), pinned to a signed commit as the sync fork is, so Halkyon's other apps share them. Learn keeps its own colours (the FSRS ratings, a starred star) as LearnColors beside the theme, the CJK fonts with their licences, and its launch screen's word and icon. Nothing on screen changes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Tizian 「ティツィアーン」 <raisondetredev@pm.me>
This commit is contained in:
parent
642c1c7e9f
commit
f43b92e4db
1 changed files with 451 additions and 4755 deletions
|
|
@ -10,12 +10,13 @@ import 'package:halkyon_learn_flutter/src/core/instance/instance.dart';
|
|||
import 'package:halkyon_learn_flutter/src/core/instance/instance_checker.dart';
|
||||
import 'package:halkyon_learn_flutter/src/core/instance/instance_choice.dart';
|
||||
import 'package:halkyon_learn_flutter/src/core/instance/instance_store.dart';
|
||||
import 'package:halkyon_learn_flutter/src/core/theme/app_fonts.dart';
|
||||
import 'package:halkyon_learn_flutter/src/core/theme/cjk_fonts.dart';
|
||||
import 'package:halkyon_learn_flutter/src/feature/auth/widget/session_gate.dart';
|
||||
import 'package:halkyon_learn_flutter/src/feature/dictionary/data/mecab_license.dart';
|
||||
import 'package:halkyon_learn_flutter/src/feature/geo_map/data/cldr_license.dart';
|
||||
import 'package:halkyon_learn_flutter/src/feature/instance/data/flag_icons_license.dart';
|
||||
import 'package:halkyon_learn_flutter/src/feature/kanji/data/kanjivg_license.dart';
|
||||
import 'package:halkyon_ui/halkyon_ui.dart';
|
||||
import 'package:material_ui/material_ui.dart';
|
||||
import 'package:path/path.dart' as p;
|
||||
import 'package:serverpod_flutter/serverpod_flutter.dart';
|
||||
|
|
@ -23,7 +24,8 @@ import 'package:serverpod_flutter/serverpod_flutter.dart';
|
|||
Future<void> main() async {
|
||||
WidgetsFlutterBinding.ensureInitialized();
|
||||
Bloc.observer = const AppBlocObserver();
|
||||
registerAppFontLicenses();
|
||||
registerFontLicenses();
|
||||
registerCjkFontLicenses();
|
||||
registerKanjiVgLicense();
|
||||
registerFlagIconsLicense();
|
||||
registerCldrLicense();
|
||||
|
|
|
|||
Loading…
Reference in a new issue