feat(settings): add settings screen, general info, font

This commit is contained in:
mso7nueh
2024-09-23 15:17:14 +03:00
parent d771feefe3
commit 2dcb677c7c
61 changed files with 2429 additions and 1131 deletions

View File

@@ -42,49 +42,7 @@ class ThemeHelper {
var colorScheme = _supportedColorScheme[_appTheme] ?? ColorSchemes.primaryColorScheme;
return ThemeData(
textTheme: GoogleFonts.mulishTextTheme().copyWith(
bodyLarge: TextStyle(
color: appTheme.blueGray400,
fontSize: 18,
fontWeight: FontWeight.w400,
),
headlineSmall: TextStyle(
color: colorScheme.primary,
fontWeight: FontWeight.w600,
fontSize: 24,
),
titleMedium: TextStyle(
color: colorScheme.primary,
fontWeight: FontWeight.w700,
fontSize: 18,
),
titleSmall: TextStyle(
color: colorScheme.onPrimary,
fontWeight: FontWeight.w700,
fontSize: 15,
),
bodyMedium: TextStyle(
color: appTheme.blueGray400,
fontWeight: FontWeight.w400,
fontSize: 14,
),
bodySmall: TextStyle(
color: appTheme.gray500,
fontWeight: FontWeight.w400,
fontSize: 10,
),
labelLarge: TextStyle(
color: appTheme.blueGray800,
fontWeight: FontWeight.w600,
fontSize: 12,
),
),
pageTransitionsTheme: PageTransitionsTheme(
builders: {
TargetPlatform.android: CupertinoPageTransitionsBuilder(),
TargetPlatform.iOS: CupertinoPageTransitionsBuilder(),
},
),
textTheme: GoogleFonts.mulishTextTheme(),
visualDensity: VisualDensity.standard,
colorScheme: colorScheme,
scaffoldBackgroundColor: colorScheme.onPrimary,
@@ -107,7 +65,7 @@ class ThemeHelper {
width: 1,
),
shape: RoundedRectangleBorder(
borderRadius: BorderRadius.circular(15),
borderRadius: BorderRadius.circular(12),
),
visualDensity: const VisualDensity(
vertical: -4,