fastercwtch #351

Merged
sarah merged 4 commits from fastercwtch into gherkin 2022-02-02 22:13:41 +00:00
2 changed files with 1 additions and 6 deletions
Showing only changes of commit f00b78be76 - Show all commits

View File

@ -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),

View File

@ -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