代码优化,epub阅读标签

This commit is contained in:
DelLevin-Home
2026-06-28 02:25:07 +08:00
parent c810a1a381
commit 5f434ae3fa
35 changed files with 2110 additions and 525 deletions

View File

@@ -127,6 +127,44 @@ class AppTheme {
selectedLabelStyle: TextStyle(fontFamily: _fontFamily, fontSize: 11, fontWeight: _medium),
unselectedLabelStyle: TextStyle(fontFamily: _fontFamily, fontSize: 11, fontWeight: _regular, color: scheme.onSurfaceVariant),
),
textTheme: TextTheme(
headlineLarge: TextStyle(
fontFamily: _fontFamily, fontSize: 32, fontWeight: _semibold,
color: scheme.onSurface, letterSpacing: 0, height: 1.2,
),
headlineMedium: TextStyle(
fontFamily: _fontFamily, fontSize: 24, fontWeight: _semibold,
color: scheme.onSurface, letterSpacing: 0, height: 1.3,
),
headlineSmall: TextStyle(
fontFamily: _fontFamily, fontSize: 20, fontWeight: _semibold,
color: scheme.onSurface, letterSpacing: 0, height: 1.4,
),
bodyLarge: TextStyle(
fontFamily: _fontFamily, fontSize: 16, fontWeight: _regular,
color: scheme.onSurface, height: 1.6,
),
bodyMedium: TextStyle(
fontFamily: _fontFamily, fontSize: 15, fontWeight: _regular,
color: scheme.onSurface, height: 1.5,
),
bodySmall: TextStyle(
fontFamily: _fontFamily, fontSize: 13, fontWeight: _regular,
color: scheme.onSurfaceVariant, height: 1.5,
),
labelLarge: TextStyle(
fontFamily: _fontFamily, fontSize: 14, fontWeight: _medium,
color: scheme.onSurface,
),
labelMedium: TextStyle(
fontFamily: _fontFamily, fontSize: 12, fontWeight: _medium,
color: scheme.onSurfaceVariant,
),
labelSmall: TextStyle(
fontFamily: _fontFamily, fontSize: 11, fontWeight: _medium,
color: scheme.onSurfaceVariant, letterSpacing: 0.3,
),
),
);
}