mirror of
https://github.com/Yubico/yubioath-flutter.git
synced 2024-11-22 08:22:16 +03:00
Set main green color for more widgets.
This commit is contained in:
parent
6b841f4a88
commit
4b716d311a
@ -1,5 +1,7 @@
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
const primaryGreen = Color(0xffa8c86c);
|
||||
|
||||
class AppTheme {
|
||||
static ThemeData get lightTheme => ThemeData(
|
||||
brightness: Brightness.light,
|
||||
@ -9,8 +11,10 @@ class AppTheme {
|
||||
brightness: Brightness.dark,
|
||||
colorScheme:
|
||||
ColorScheme.fromSwatch(brightness: Brightness.dark).copyWith(
|
||||
secondary: const Color(0xffa8c86c),
|
||||
primary: primaryGreen,
|
||||
secondary: primaryGreen,
|
||||
),
|
||||
toggleableActiveColor: primaryGreen,
|
||||
textTheme: TextTheme(
|
||||
bodyText1: TextStyle(
|
||||
color: Colors.grey.shade400,
|
||||
|
Loading…
Reference in New Issue
Block a user