docs: drop the dead font registry and resync the reader UI spec with the shipped chrome

This commit is contained in:
randogoth 2026-10-11 12:51:18 +03:00
parent ac9118a453
commit df705d831f
5 changed files with 8 additions and 30 deletions

View file

@ -83,7 +83,7 @@ class MewsApp extends StatelessWidget {
}
}
/// The chrome (address bar, FOB, sheet, dialogs) follows the same palette
/// The chrome (address bar, dialogs, text selection) follows the same palette
/// the reader selected for pages, so the whole app shares one color scheme.
class _ThemedApp extends StatelessWidget {
const _ThemedApp();
@ -135,11 +135,6 @@ class _ThemedApp extends StatelessWidget {
useMaterial3: true,
colorScheme: scheme,
scaffoldBackgroundColor: palette.background,
// The FOB follows the palette, not the M3 container defaults.
floatingActionButtonTheme: FloatingActionButtonThemeData(
backgroundColor: palette.link,
foregroundColor: palette.background,
),
// Selection highlights and the caret follow the palette too.
textSelectionTheme: TextSelectionThemeData(
cursorColor: palette.link,