Remove OpenSans
This commit is contained in:
parent
3f5908e03a
commit
f00b78be76
|
@ -123,7 +123,6 @@ abstract class OpaqueThemeType {
|
||||||
|
|
||||||
ThemeData mkThemeData(Settings opaque) {
|
ThemeData mkThemeData(Settings opaque) {
|
||||||
return ThemeData(
|
return ThemeData(
|
||||||
fontFamily: "OpenSans",
|
|
||||||
visualDensity: VisualDensity.adaptivePlatformDensity,
|
visualDensity: VisualDensity.adaptivePlatformDensity,
|
||||||
primarySwatch: Colors.red,
|
primarySwatch: Colors.red,
|
||||||
primaryIconTheme: IconThemeData(
|
primaryIconTheme: IconThemeData(
|
||||||
|
@ -150,7 +149,6 @@ ThemeData mkThemeData(Settings opaque) {
|
||||||
color: opaque.current().mainTextColor,
|
color: opaque.current().mainTextColor,
|
||||||
),
|
),
|
||||||
titleTextStyle: TextStyle(
|
titleTextStyle: TextStyle(
|
||||||
fontFamily: "OpenSans",
|
|
||||||
color: opaque.current().mainTextColor,
|
color: opaque.current().mainTextColor,
|
||||||
),
|
),
|
||||||
actionsIconTheme: IconThemeData(
|
actionsIconTheme: IconThemeData(
|
||||||
|
@ -185,7 +183,7 @@ ThemeData mkThemeData(Settings opaque) {
|
||||||
scrollbarTheme: ScrollbarThemeData(isAlwaysShown: false, thumbColor: MaterialStateProperty.all(opaque.current().scrollbarDefaultColor)),
|
scrollbarTheme: ScrollbarThemeData(isAlwaysShown: false, thumbColor: MaterialStateProperty.all(opaque.current().scrollbarDefaultColor)),
|
||||||
tabBarTheme: TabBarTheme(indicator: UnderlineTabIndicator(borderSide: BorderSide(color: opaque.current().defaultButtonActiveColor))),
|
tabBarTheme: TabBarTheme(indicator: UnderlineTabIndicator(borderSide: BorderSide(color: opaque.current().defaultButtonActiveColor))),
|
||||||
dialogTheme: DialogTheme(
|
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(
|
textTheme: TextTheme(
|
||||||
headline1: TextStyle(color: opaque.current().mainTextColor),
|
headline1: TextStyle(color: opaque.current().mainTextColor),
|
||||||
headline2: TextStyle(color: opaque.current().mainTextColor),
|
headline2: TextStyle(color: opaque.current().mainTextColor),
|
||||||
|
|
|
@ -95,9 +95,6 @@ flutter:
|
||||||
- family: CwtchIcons
|
- family: CwtchIcons
|
||||||
fonts:
|
fonts:
|
||||||
- asset: assets/fonts/CwtchIcons.ttf
|
- 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,
|
# To add custom fonts to your application, add a fonts section here,
|
||||||
# in this "flutter" section. Each entry in this list should have a
|
# in this "flutter" section. Each entry in this list should have a
|
||||||
|
|
Loading…
Reference in New Issue