-
Notifications
You must be signed in to change notification settings - Fork 0
/
theme.dart
29 lines (28 loc) · 973 Bytes
/
theme.dart
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
import 'package:flutter/material.dart';
class FugueTheme {
static ThemeData get theme {
return ThemeData(
primaryColor: Colors.blueGrey,
accentColor: Colors.amber,
scaffoldBackgroundColor: Colors.white,
fontFamily: 'Georgia',
textTheme: TextTheme(
headline1: TextStyle(fontSize: 24.0, fontWeight: FontWeight.bold),
headline6: TextStyle(fontSize: 18.0, fontStyle: FontStyle.italic),
bodyText2: TextStyle(fontSize: 14.0, fontFamily: 'Hind'),
),
appBarTheme: AppBarTheme(
color: Colors.blueGrey,
elevation: 0,
textTheme: TextTheme(
headline6: TextStyle(color: Colors.white, fontSize: 20.0, fontWeight: FontWeight.bold),
),
),
buttonTheme: ButtonThemeData(
buttonColor: Colors.blueGrey,
textTheme: ButtonTextTheme.primary,
),
visualDensity: VisualDensity.adaptivePlatformDensity,
);
}
}