mirror of
https://github.com/Yubico/yubioath-flutter.git
synced 2024-11-27 14:23:18 +03:00
24 lines
614 B
Dart
Executable File
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,
|
|
),
|
|
),
|
|
);
|
|
}
|