Added themes.dart
This commit is contained in:
@@ -2,7 +2,7 @@ import 'package:flutter/cupertino.dart';
|
||||
|
||||
abstract class Styles {
|
||||
static Color primaryColor = CupertinoColors.systemGreen;
|
||||
static Color backgroundColor = Color(0x00014b00);
|
||||
static Color backgroundColor = Color(0xFF080808);
|
||||
|
||||
static TextStyle modeTitle = TextStyle(
|
||||
color: primaryColor,
|
||||
|
||||
6
lib/utility/theme.dart
Normal file
6
lib/utility/theme.dart
Normal file
@@ -0,0 +1,6 @@
|
||||
import 'package:flutter/cupertino.dart';
|
||||
|
||||
Color white = CupertinoColors.white;
|
||||
Color primaryColor = CupertinoColors.systemGreen;
|
||||
Color backgroundColor = const Color(0xFF080808);
|
||||
Color backgroundTintColor = CupertinoColors.darkBackgroundGray;
|
||||
@@ -1,5 +1,6 @@
|
||||
import 'package:cabo_counter/data_classes/game_session.dart';
|
||||
import 'package:cabo_counter/utility/styles.dart';
|
||||
import 'package:cabo_counter/utility/theme.dart' as theme;
|
||||
import 'package:flutter/cupertino.dart';
|
||||
import 'package:flutter/services.dart';
|
||||
|
||||
@@ -198,9 +199,9 @@ class _RoundViewState extends State<RoundView> {
|
||||
left: 0,
|
||||
right: 0,
|
||||
child: Container(
|
||||
height: 80, // Höhe der Bar
|
||||
decoration: const BoxDecoration(
|
||||
color: CupertinoColors.darkBackgroundGray,
|
||||
height: 80,
|
||||
decoration: BoxDecoration(
|
||||
color: theme.backgroundTintColor,
|
||||
),
|
||||
child: Padding(
|
||||
padding: const EdgeInsets.fromLTRB(0, 0, 0, 20),
|
||||
|
||||
Reference in New Issue
Block a user