🍱 Update font

This commit is contained in:
LittleSheep 2024-07-31 20:45:36 +08:00
parent f799900450
commit ca8ad12d93
12 changed files with 30 additions and 7 deletions

BIN
assets/fonts/Comfortaa-Bold.ttf Executable file

Binary file not shown.

Binary file not shown.

BIN
assets/fonts/NotoSansHK-Bold.ttf Executable file

Binary file not shown.

Binary file not shown.

BIN
assets/fonts/NotoSansJP-Bold.ttf Executable file

Binary file not shown.

Binary file not shown.

BIN
assets/fonts/NotoSansSC-Bold.ttf Executable file

Binary file not shown.

View File

@ -38,9 +38,18 @@ abstract class SolianTheme {
brightness: brightness, brightness: brightness,
seedColor: seedColor ?? const Color.fromRGBO(154, 98, 91, 1), seedColor: seedColor ?? const Color.fromRGBO(154, 98, 91, 1),
), ),
fontFamily: 'Quicksand', fontFamily: 'Comfortaa',
fontFamilyFallback: const ['NotoSansSC', 'NotoSansHK'], fontFamilyFallback: const [
typography: Typography.material2021(), 'NotoSansSC',
'NotoSansHK',
'NotoSansJP',
'NotoSansEmoji'
],
typography: Typography.material2021(
colorScheme: brightness == Brightness.light
? const ColorScheme.light()
: const ColorScheme.dark(),
),
); );
} }
} }

View File

@ -81,15 +81,29 @@ flutter:
- assets/logo.png - assets/logo.png
fonts: fonts:
- family: NotoSansEmoji
fonts:
- asset: assets/fonts/NotoColorEmoji-Regular.ttf
- family: NotoSansSC - family: NotoSansSC
fonts: fonts:
- asset: assets/fonts/NotoSansSC-VariableFont_wght.ttf - asset: assets/fonts/NotoSansSC-Regular.ttf
- asset: assets/fonts/NotoSansSC-Bold.ttf
weight: 700
- family: NotoSansHK - family: NotoSansHK
fonts: fonts:
- asset: assets/fonts/NotoSansHK-VariableFont_wght.ttf - asset: assets/fonts/NotoSansHK-Regular.ttf
- family: Quicksand - asset: assets/fonts/NotoSansHK-Bold.ttf
weight: 700
- family: NotoSansJP
fonts: fonts:
- asset: assets/fonts/Quicksand-VariableFont_wght.ttf - asset: assets/fonts/NotoSansJP-Regular.ttf
- asset: assets/fonts/NotoSansJP-Bold.ttf
weight: 700
- family: Comfortaa
fonts:
- asset: assets/fonts/Comfortaa-Regular.ttf
- asset: assets/fonts/Comfortaa-Bold.ttf
weight: 700
flutter_launcher_icons: flutter_launcher_icons:
android: android: