mirror of
https://github.com/ImranR98/Obtainium.git
synced 2025-08-11 09:30:16 +02:00
Change the font (support for more languages)
This commit is contained in:
Binary file not shown.
BIN
assets/fonts/WixMadeforDisplay-Regular.otf
Normal file
BIN
assets/fonts/WixMadeforDisplay-Regular.otf
Normal file
Binary file not shown.
@@ -246,14 +246,14 @@ class _ObtainiumState extends State<Obtainium> {
|
||||
? darkColorScheme
|
||||
: lightColorScheme,
|
||||
fontFamily:
|
||||
settingsProvider.useSystemFont ? 'SystemFont' : 'Metropolis'),
|
||||
settingsProvider.useSystemFont ? 'SystemFont' : 'Wix-Madefor-Display'),
|
||||
darkTheme: ThemeData(
|
||||
useMaterial3: true,
|
||||
colorScheme: settingsProvider.theme == ThemeSettings.light
|
||||
? lightColorScheme
|
||||
: darkColorScheme,
|
||||
fontFamily:
|
||||
settingsProvider.useSystemFont ? 'SystemFont' : 'Metropolis'),
|
||||
settingsProvider.useSystemFont ? 'SystemFont' : 'Wix-Madefor-Display'),
|
||||
home: Shortcuts(shortcuts: <LogicalKeySet, Intent>{
|
||||
LogicalKeySet(LogicalKeyboardKey.select): const ActivateIntent(),
|
||||
}, child: const HomePage()));
|
||||
|
@@ -145,6 +145,6 @@ flutter:
|
||||
# see https://flutter.dev/custom-fonts/#from-packages
|
||||
|
||||
fonts:
|
||||
- family: Metropolis
|
||||
- family: Wix-Madefor-Display
|
||||
fonts:
|
||||
- asset: assets/fonts/Metropolis-Regular.otf
|
||||
- asset: assets/fonts/WixMadeforDisplay-Regular.otf
|
Reference in New Issue
Block a user