1
0
Fork 0
mirror of https://github.com/Nioux/AideDeJeu.git synced 2025-10-30 06:56:10 +00:00

Localization + theme

This commit is contained in:
Yan Maniez 2020-03-03 16:03:31 +01:00
parent 622b6a3196
commit 1197df6527
13 changed files with 223 additions and 95 deletions

View file

@ -8,16 +8,21 @@ ThemeData mainTheme() {
color: Colors.white,
iconTheme: IconThemeData(color: Colors.black),
textTheme: TextTheme(
headline6: TextStyle(fontSize: 28.0, color: Colors.black, fontWeight: FontWeight.bold, fontFamily: 'Cinzel')),
title: TextStyle(
fontSize: 28.0,
color: Colors.black,
fontWeight: FontWeight.bold,
fontFamily: 'Cinzel')),
),
brightness: Brightness.light,
primaryColor: Colors.lightBlue[800],
accentColor: Colors.cyan[600],
fontFamily: 'LinuxLibertine',
textTheme: TextTheme(
headline5: TextStyle(fontSize: 28.0, fontWeight: FontWeight.bold, fontFamily: 'Cinzel'),
headline6: TextStyle(fontSize: 22.0, fontStyle: FontStyle.normal),
bodyText2: TextStyle(fontSize: 16.0),
headline: TextStyle(
fontSize: 28.0, fontWeight: FontWeight.bold, fontFamily: 'Cinzel'),
title: TextStyle(fontSize: 22.0, fontStyle: FontStyle.normal),
body1: TextStyle(fontSize: 16.0),
),
);
}
@ -27,4 +32,4 @@ MarkdownStyleSheet mainMarkdownStyleSheet(BuildContext context) {
tableColumnWidth: IntrinsicColumnWidth(),
tableCellsPadding: EdgeInsets.all(0.2),
);
}
}