From f00b78be761522dd081da749725e695404968b9a Mon Sep 17 00:00:00 2001 From: Sarah Jamie Lewis Date: Wed, 2 Feb 2022 14:12:12 -0800 Subject: [PATCH] Remove OpenSans --- lib/themes/opaque.dart | 4 +--- pubspec.yaml | 3 --- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/lib/themes/opaque.dart b/lib/themes/opaque.dart index e54ad510..f0e578aa 100644 --- a/lib/themes/opaque.dart +++ b/lib/themes/opaque.dart @@ -123,7 +123,6 @@ abstract class OpaqueThemeType { ThemeData mkThemeData(Settings opaque) { return ThemeData( - fontFamily: "OpenSans", visualDensity: VisualDensity.adaptivePlatformDensity, primarySwatch: Colors.red, primaryIconTheme: IconThemeData( @@ -150,7 +149,6 @@ ThemeData mkThemeData(Settings opaque) { color: opaque.current().mainTextColor, ), titleTextStyle: TextStyle( - fontFamily: "OpenSans", color: opaque.current().mainTextColor, ), actionsIconTheme: IconThemeData( @@ -185,7 +183,7 @@ ThemeData mkThemeData(Settings opaque) { scrollbarTheme: ScrollbarThemeData(isAlwaysShown: false, thumbColor: MaterialStateProperty.all(opaque.current().scrollbarDefaultColor)), tabBarTheme: TabBarTheme(indicator: UnderlineTabIndicator(borderSide: BorderSide(color: opaque.current().defaultButtonActiveColor))), dialogTheme: DialogTheme( - backgroundColor: opaque.current().backgroundPaneColor, titleTextStyle: TextStyle( fontFamily: "OpenSans", color: opaque.current().mainTextColor), contentTextStyle: TextStyle(color: opaque.current().mainTextColor, fontFamily: "OpenSans",)), + backgroundColor: opaque.current().backgroundPaneColor, titleTextStyle: TextStyle(color: opaque.current().mainTextColor), contentTextStyle: TextStyle(color: opaque.current().mainTextColor, )), textTheme: TextTheme( headline1: TextStyle(color: opaque.current().mainTextColor), headline2: TextStyle(color: opaque.current().mainTextColor), diff --git a/pubspec.yaml b/pubspec.yaml index 3e80f667..ee0dc128 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -95,9 +95,6 @@ flutter: - family: CwtchIcons fonts: - asset: assets/fonts/CwtchIcons.ttf - - family: OpenSans - fonts: - - asset: assets/fonts/OpenSans-Regular.ttf # To add custom fonts to your application, add a fonts section here, # in this "flutter" section. Each entry in this list should have a