yubioath-flutter/lib/theme.dart
2021-12-02 11:44:17 +01:00

24 lines
614 B
Dart
Executable File

import 'package:flutter/material.dart';
class AppTheme {
static ThemeData get lightTheme => ThemeData(
brightness: Brightness.light,
);
static ThemeData get darkTheme => ThemeData(
brightness: Brightness.dark,
colorScheme:
ColorScheme.fromSwatch(brightness: Brightness.dark).copyWith(
secondary: const Color(0xffa8c86c),
),
textTheme: TextTheme(
bodyText1: TextStyle(
color: Colors.grey.shade400,
),
bodyText2: TextStyle(
color: Colors.grey.shade500,
),
),
);
}