mirror of
https://github.com/gabehf/Fladder.git
synced 2026-03-08 23:18:16 -07:00
## Pull Request Description Added the google fonts locally Also added back saved servers for web ## Issue Being Fixed Issue Number: #54 ## Screenshots / Recordings <!-- This section is optional but highly recommended to show off your changes! --> ## Checklist - [ ] If a new package was added, did you ensure it works for all supported platforms? Is the package also well maintained? - [ ] Did you add localization for any text? If yes, did you sort the .arb file using ```arb_utils sort <INPUT_FILE>```? - [ ] Check that any changes are related to the issue at hand. --------- Co-authored-by: PartyDonut <PartyDonut@users.noreply.github.com>
This commit is contained in:
parent
ff45bb8641
commit
9df13cfb34
12 changed files with 189 additions and 64 deletions
|
|
@ -1,7 +1,9 @@
|
|||
import 'package:dynamic_color/dynamic_color.dart';
|
||||
import 'package:fladder/util/custom_color_themes.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:google_fonts/google_fonts.dart';
|
||||
|
||||
import 'package:dynamic_color/dynamic_color.dart';
|
||||
|
||||
import 'package:fladder/theme/fonts.dart';
|
||||
import 'package:fladder/util/custom_color_themes.dart';
|
||||
|
||||
ColorScheme? generateDynamicColourSchemes(ColorScheme? theme) {
|
||||
if (theme == null) return null;
|
||||
|
|
@ -34,7 +36,7 @@ class FladderTheme {
|
|||
static ThemeData theme(ColorScheme? colorScheme) {
|
||||
final ColorScheme? scheme = generateDynamicColourSchemes(colorScheme);
|
||||
|
||||
final textTheme = GoogleFonts.rubikTextTheme(
|
||||
final textTheme = FladderFonts.rubikTextTheme(
|
||||
const TextTheme(),
|
||||
);
|
||||
return ThemeData(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue