style: Use emojis on web as well

This commit is contained in:
Christian Pauly 2023-02-07 12:24:22 +01:00
parent da91c2bd9f
commit 80b5a2b3d4

View File

@ -47,7 +47,7 @@ abstract class FluffyThemes {
useMaterial3: true,
brightness: brightness,
colorSchemeSeed: seed ?? AppConfig.colorSchemeSeed,
textTheme: PlatformInfos.isDesktop
textTheme: PlatformInfos.isDesktop || PlatformInfos.isWeb
? brightness == Brightness.light
? Typography.material2018().black.merge(fallbackTextTheme)
: Typography.material2018().white.merge(fallbackTextTheme)