mirror of
https://github.com/Yubico/yubioath-flutter.git
synced 2024-12-24 02:33:44 +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,
|
|
),
|
|
),
|
|
);
|
|
}
|