Skip to content

Commit

Permalink
fixup! TW-824: install google fonts to fetch font from http
Browse files Browse the repository at this point in the history
  • Loading branch information
Julian KOUNE committed Oct 17, 2023
1 parent fb98c72 commit 88d37f3
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 57 deletions.
26 changes: 12 additions & 14 deletions lib/config/themes.dart
Original file line number Diff line number Diff line change
Expand Up @@ -20,52 +20,50 @@ abstract class TwakeThemes {
!(GoRouterState.of(context).path?.startsWith('/settings') == true);

static var fallbackTextTheme = TextTheme(
bodyLarge: GoogleFonts.inter().copyWith(
bodyLarge: GoogleFonts.inter(
fontWeight: FontWeight.w500,
letterSpacing: -0.15,
),
bodyMedium: GoogleFonts.inter().copyWith(
bodyMedium: GoogleFonts.inter(
fontWeight: FontWeight.w500,
letterSpacing: 0.25,
),
bodySmall: GoogleFonts.inter().copyWith(
bodySmall: GoogleFonts.inter(
fontWeight: FontWeight.w500,
letterSpacing: 0.4,
),
labelLarge: GoogleFonts.inter().copyWith(
labelLarge: GoogleFonts.inter(
fontWeight: FontWeight.w500,
letterSpacing: 0.1,
),
labelSmall: GoogleFonts.inter().copyWith(
fontWeight: FontWeight.w500,
letterSpacing: 0.5,
),
displayLarge: GoogleFonts.inter().copyWith(
displayLarge: GoogleFonts.inter(
fontWeight: FontWeight.w700,
),
displayMedium: GoogleFonts.inter().copyWith(
displayMedium: GoogleFonts.inter(
fontWeight: FontWeight.w600,
letterSpacing: 0.4,
),
displaySmall: GoogleFonts.inter().copyWith(
displaySmall: GoogleFonts.inter(
fontWeight: FontWeight.w600,
letterSpacing: 0.4,
),
headlineMedium: GoogleFonts.inter().copyWith(
fontWeight: FontWeight.w600,
),
headlineSmall: GoogleFonts.inter().copyWith(
headlineMedium: GoogleFonts.inter(fontWeight: FontWeight.w600),
headlineSmall: GoogleFonts.inter(
fontWeight: FontWeight.w600,
letterSpacing: 0.4,
),
titleLarge: GoogleFonts.inter().copyWith(
titleLarge: GoogleFonts.inter(
fontWeight: FontWeight.w600,
),
titleMedium: GoogleFonts.inter().copyWith(
titleMedium: GoogleFonts.inter(
fontWeight: FontWeight.w500,
letterSpacing: 0.15,
),
titleSmall: GoogleFonts.inter().copyWith(
titleSmall: GoogleFonts.inter(
fontWeight: FontWeight.w500,
letterSpacing: 0.1,
),
Expand Down
43 changes: 0 additions & 43 deletions lib/widgets/twake_components/twake_fab/twake_fab_style.dart

This file was deleted.

0 comments on commit 88d37f3

Please sign in to comment.