LCOV - code coverage report
Current view: | top level - src/utils - styles.dart (source / functions) |  |  | Hit | Total | Coverage
Test: | lcov.info |  | Lines: | 0 | 4 | 0.0 %
Date: | 2021-10-11 06:57:03 |  | Functions: | 0 | 0 | -

              Line data    Source code
           1             : import 'package:flutter/material.dart';
           2             :
           3             : class Styles {
           4             :   static const Color storyColor = Color(0xFF6C6A71);
           5             :   static const Color notCompletelyWhite = Color(0xFFECECEC);
           6             :
           7           0 :   static Color getHighlightColor(BuildContext context) {
           8           0 :     return Theme.of(context).brightness == Brightness.light
           9             :         ? const Color(0xFFE9E8EA)
          10             :         : const Color(0xFF39383C);
          11             :   }
          12             :
          13             :   static const Color primary = Color(0xFFFF5610);
          14             :   static const Color secondary = Color(0xff0584FE);
          15             :
          16             :   static const Color darkSurface = Color(0xFF1D1B1D);
          17             :   static const Color onDarkSurface = notCompletelyWhite;
          18             :
          19             :   static const Color lightSurface = Color(0xffF2F1F5);
          20             :   static const Color onLightSurface = Color(0xff222222);
          21             :
          22           0 :   static ThemeData lightTheme = ThemeData(
          23             :     colorScheme: const ColorScheme.light(
          24             :       surface: lightSurface,
          25             :       onSurface: onLightSurface,
          26             :       primary: primary,
          27             :       onPrimary: Colors.black,
          28             :       primaryVariant: Color(0xffe07356),
          29             :       secondary: secondary,
          30             :       secondaryVariant: Color(0xff483F6C),
          31             :       onSecondary: Colors.white,
          32             :       background: Color(0xfff3f6f9),
          33             :       onBackground: Color(0xff222222),
          34             :     ),
          35             :     shadowColor: const Color(0xff222222).withOpacity(0.05),
          36             :     fontFamily: 'Nunito',
          37             :     dividerColor: const Color(0xff6C6F8D),
          38             :     canvasColor: const Color(0x7fc3e8f3),
          39             :     scaffoldBackgroundColor: Colors.white,
          40             :     visualDensity: VisualDensity.adaptivePlatformDensity,
          41             :   );
          42             :
          43           0 :   static ThemeData darkTheme = ThemeData(
          44             :     colorScheme: const ColorScheme.dark(
          45             :       surface: darkSurface,
          46             :       onSurface: onDarkSurface,
          47             :       primary: primary,
          48             :       onPrimary: notCompletelyWhite,
          49             :       primaryVariant: Color(0xffe07356),
          50             :       secondary: secondary,
          51             :       secondaryVariant: Color(0xffB794FF),
          52             :       onSecondary: notCompletelyWhite,
          53             :       background: Colors.yellow,
          54             :       onBackground: Colors.green,
          55             :     ),
          56             :     textTheme: lightTheme.textTheme.apply(
          57             :       bodyColor: notCompletelyWhite,
          58             :       displayColor: notCompletelyWhite,
          59             :       decorationColor: notCompletelyWhite,
          60             :     ),
          61             :     hintColor: const Color(0xFFADADAD),
          62             :     shadowColor: const Color(0xff939393).withOpacity(0.05),
          63             :     dividerColor: const Color(0xff48445D),
          64             :     canvasColor: const Color(0x7f30393E),
          65             :     scaffoldBackgroundColor: Colors.black,
          66             :     visualDensity: VisualDensity.adaptivePlatformDensity,
          67             :   );
          68             : }

Generated by: LCOV version 1.15