init
This commit is contained in:
commit
8e54cfffc5
91 changed files with 2686 additions and 0 deletions
35
lib/features/core/data/constants/const_colors.dart
Normal file
35
lib/features/core/data/constants/const_colors.dart
Normal file
|
@ -0,0 +1,35 @@
|
|||
import 'package:flutter/cupertino.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
abstract class ConstColours {
|
||||
/// Smoke Gray => a neutral grey with neutral warmth/cold
|
||||
static const imageBackgroundColour = Color.fromRGBO(127, 127, 125, 1.0);
|
||||
|
||||
static const white = Colors.white;
|
||||
static const black = Colors.black;
|
||||
}
|
||||
|
||||
abstract class ConstThemes {
|
||||
static ThemeData get materialLightTheme => ThemeData(
|
||||
useMaterial3: true,
|
||||
brightness: Brightness.light,
|
||||
colorSchemeSeed: ConstColours.white,
|
||||
);
|
||||
|
||||
static ThemeData get materialDarkTheme => ThemeData(
|
||||
useMaterial3: true,
|
||||
brightness: Brightness.dark,
|
||||
colorSchemeSeed: ConstColours.white,
|
||||
);
|
||||
|
||||
static CupertinoThemeData get cupertinoLightTheme => const CupertinoThemeData(
|
||||
brightness: Brightness.light,
|
||||
);
|
||||
static CupertinoThemeData get cupertinoDarkTheme => const CupertinoThemeData(
|
||||
brightness: Brightness.dark,
|
||||
);
|
||||
static ThemeData get cupertinoThemeLightHack =>
|
||||
materialLightTheme.copyWith(cupertinoOverrideTheme: cupertinoLightTheme);
|
||||
static ThemeData get cupertinoThemeDarkHack =>
|
||||
materialDarkTheme.copyWith(cupertinoOverrideTheme: cupertinoDarkTheme);
|
||||
}
|
0
lib/features/core/data/constants/const_text.dart
Normal file
0
lib/features/core/data/constants/const_text.dart
Normal file
0
lib/features/core/data/constants/const_values.dart
Normal file
0
lib/features/core/data/constants/const_values.dart
Normal file
Loading…
Add table
Add a link
Reference in a new issue