Refactor theme logic

This commit is contained in:
Remi Rousselet
2022-07-31 12:37:48 +02:00
parent 4108ccfe7c
commit 0359ecf090
3 changed files with 42 additions and 31 deletions

View File

@ -104,7 +104,16 @@ abstract class QuestionTheme with _$QuestionTheme {
}
final questionThemeProvider = Provider<QuestionTheme>((ref) {
throw UnimplementedError();
return const QuestionTheme(
titleStyle: TextStyle(
color: Color(0xFF3ca4ff),
fontSize: 16,
),
descriptionStyle: TextStyle(
color: Color(0xFFe7e8eb),
fontSize: 13,
),
);
});
class MyHomePage extends HookConsumerWidget {