restore font and inset scaling

This commit is contained in:
Shawn
2022-10-24 15:42:27 -06:00
parent 24f82bba46
commit e767fc0c21
19 changed files with 122 additions and 57 deletions

View File

@ -218,7 +218,7 @@ class _Page extends StatelessWidget {
child: Column(
mainAxisAlignment: MainAxisAlignment.center,
children: [
Text(data.title, style: $styles.text.wonderTitle.copyWith(fontSize: 24)),
Text(data.title, style: $styles.text.wonderTitle.copyWith(fontSize: 24 * $styles.scale)),
Gap($styles.insets.sm),
Text(data.desc, style: $styles.text.body, textAlign: TextAlign.center),
],
@ -245,7 +245,7 @@ class _WonderousLogo extends StatelessWidget {
StaticTextScale(
child: Text(
$strings.introSemanticWonderous,
style: $styles.text.wonderTitle.copyWith(fontSize: 32, color: $styles.colors.offWhite),
style: $styles.text.wonderTitle.copyWith(fontSize: 32 * $styles.scale, color: $styles.colors.offWhite),
),
)
],