import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; abstract class Styles { static double textScaleFactor = 1; static bool isXs = false; static const double defaultFontSize = 16; static const CupertinoTextThemeData defaultTextTheme = CupertinoTextThemeData(); static CupertinoThemeData cupertinoTheme = const CupertinoThemeData( primaryColor: themeMainColor, primaryContrastingColor: CupertinoColors.white, scaffoldBackgroundColor: Styles.themePageBackgroundColor, textTheme: Styles.defaultTextTheme, ); static CardTheme cardTheme = const CardTheme( color: Color.fromRGBO(255, 255, 255, 1), shadowColor: Colors.black12, margin: EdgeInsets.symmetric(horizontal: 6, vertical: 8), ); static ThemeData materialLightTheme = ThemeData.light().copyWith( shadowColor: Colors.black12, cardTheme: cardTheme, ); static ThemeData materialDarkTheme = ThemeData.dark().copyWith( shadowColor: Colors.black12, cardTheme: cardTheme.copyWith( color: const Color.fromRGBO(28, 28, 28, 1), ), ); static const TextStyle articleTitle = TextStyle( fontSize: 28, fontStyle: FontStyle.normal, fontWeight: FontWeight.bold, ); static const TextStyle listTileLargeTitle = TextStyle(fontSize: 18); static const TextStyle listTileSubTitle = TextStyle(fontSize: 16); static const TextStyle loadingDialogTitle = TextStyle(fontSize: 18, fontWeight: FontWeight.w500); static const Color websiteNavbarColor = Color.fromRGBO(33, 37, 41, 1); static const Color themeMainColor = Color.fromARGB(255, 71, 172, 156); static const Color themeNavTitleColor = Color.fromRGBO(255, 255, 255, 1); static const Color themeBottomColor = CupertinoDynamicColor.withBrightness( color: Color.fromRGBO(255, 255, 255, 1), darkColor: Color.fromRGBO(41, 41, 41, 1), ); static const Color themePageBackgroundColor = CupertinoDynamicColor.withBrightness( color: Color.fromRGBO(240, 240, 240, 1), darkColor: Color.fromRGBO(0, 0, 0, 1), ); static const Color themePureBackgroundColor = CupertinoDynamicColor.withBrightness( color: Color.fromRGBO(255, 255, 255, 1), darkColor: Color.fromRGBO(0, 0, 0, 1), ); static const Color themeNormalActionColor = CupertinoDynamicColor.withBrightness( color: Color.fromRGBO(255, 255, 255, 1), darkColor: Color.fromRGBO(41, 41, 41, 1), ); static const Color themeNormalActionActiveColor = CupertinoDynamicColor.withBrightness( color: Color.fromRGBO(204, 204, 204, 1), darkColor: Color.fromRGBO(0, 0, 0, 1), ); static const Color themeNavSegmentTextColor = Color.fromRGBO(12, 12, 12, 1); static const Color linkColor = CupertinoColors.link; static const double largeTitleFontSize = 32; static const double navTitleFontSize = 18; }