forked from Nexus/nexus
use system emoji before bundled
Needs testing on: - Android - Windows - MacOS To make sure that it doesn't break stuff.
This commit is contained in:
parent
deac9ef24e
commit
b6ee5aec64
1 changed files with 2 additions and 2 deletions
|
|
@ -4,7 +4,7 @@ extension SchemeToTheme on ColorScheme {
|
||||||
ThemeData get theme {
|
ThemeData get theme {
|
||||||
final textTheme = ThemeData(
|
final textTheme = ThemeData(
|
||||||
fontFamily: "bundled-sans",
|
fontFamily: "bundled-sans",
|
||||||
fontFamilyFallback: ["bundled-emoji"],
|
fontFamilyFallback: ["emoji", "bundled-emoji"],
|
||||||
brightness: brightness,
|
brightness: brightness,
|
||||||
).textTheme;
|
).textTheme;
|
||||||
return .from(colorScheme: this).copyWith(
|
return .from(colorScheme: this).copyWith(
|
||||||
|
|
@ -29,7 +29,7 @@ extension SchemeToTheme on ColorScheme {
|
||||||
borderRadius: .circular(8),
|
borderRadius: .circular(8),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
iconButtonTheme: .new(variant: StyleVariant.material3Expressive),
|
iconButtonTheme: .new(variant: .material3Expressive),
|
||||||
textTheme: textTheme,
|
textTheme: textTheme,
|
||||||
inputDecorationTheme: const InputDecorationTheme(
|
inputDecorationTheme: const InputDecorationTheme(
|
||||||
border: OutlineInputBorder(),
|
border: OutlineInputBorder(),
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue