From 13e0356ca564cf0fcf420d20ef6f139629d3b69a Mon Sep 17 00:00:00 2001 From: julian Date: Thu, 29 Sep 2022 15:55:10 -0600 Subject: [PATCH] desktop settings icon and additional textstyle --- assets/svg/box-auto.svg | 11 +++++++++++ lib/utilities/assets.dart | 1 + lib/utilities/text_styles.dart | 19 +++++++++++++++++++ pubspec.yaml | 1 + 4 files changed, 32 insertions(+) create mode 100644 assets/svg/box-auto.svg diff --git a/assets/svg/box-auto.svg b/assets/svg/box-auto.svg new file mode 100644 index 000000000..1dd771fb1 --- /dev/null +++ b/assets/svg/box-auto.svg @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/lib/utilities/assets.dart b/lib/utilities/assets.dart index 002bf452c..a328c6689 100644 --- a/lib/utilities/assets.dart +++ b/lib/utilities/assets.dart @@ -52,6 +52,7 @@ class _SVG { "assets/svg/${Theme.of(context).extension()!.themeType.name}/tx-exchange-icon-failed.svg"; String get drd => "assets/svg/drd-icon.svg"; + String get boxAuto => "assets/svg/box-auto.svg"; String get plus => "assets/svg/plus.svg"; String get gear => "assets/svg/gear.svg"; String get bell => "assets/svg/bell.svg"; diff --git a/lib/utilities/text_styles.dart b/lib/utilities/text_styles.dart index 7c6aa2aaf..21a1ee488 100644 --- a/lib/utilities/text_styles.dart +++ b/lib/utilities/text_styles.dart @@ -698,6 +698,25 @@ class STextStyles { } } + static TextStyle desktopTextExtraExtraSmall(BuildContext context) { + switch (_theme(context).themeType) { + case ThemeType.light: + return GoogleFonts.inter( + color: _theme(context).textSubtitle1, + fontWeight: FontWeight.w500, + fontSize: 14, + height: 21 / 14, + ); + case ThemeType.dark: + return GoogleFonts.inter( + color: _theme(context).textSubtitle1, + fontWeight: FontWeight.w500, + fontSize: 14, + height: 21 / 14, + ); + } + } + static TextStyle desktopButtonSmallSecondaryEnabled(BuildContext context) { switch (_theme(context).themeType) { case ThemeType.light: diff --git a/pubspec.yaml b/pubspec.yaml index 22021e7cb..57486e005 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -307,6 +307,7 @@ flutter: - assets/svg/exchange-3.svg - assets/svg/message-question-1.svg - assets/svg/drd-icon.svg + - assets/svg/box-auto.svg # An image asset can refer to one or more resolution-specific "variants", see # https://flutter.dev/assets-and-images/#resolution-aware.