diff --git a/lib/assets/images/records/record-dark.svg b/lib/assets/images/records/record-dark.svg new file mode 100644 index 0000000..a95f8e3 --- /dev/null +++ b/lib/assets/images/records/record-dark.svg @@ -0,0 +1,38 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/lib/assets/images/records/record-light.svg b/lib/assets/images/records/record-light.svg new file mode 100644 index 0000000..375ee5b --- /dev/null +++ b/lib/assets/images/records/record-light.svg @@ -0,0 +1,38 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/lib/assets/images/themes/dark-theme.svg b/lib/assets/images/themes/theme-dark.svg similarity index 100% rename from lib/assets/images/themes/dark-theme.svg rename to lib/assets/images/themes/theme-dark.svg diff --git a/lib/assets/images/themes/light-theme.svg b/lib/assets/images/themes/theme-light.svg similarity index 100% rename from lib/assets/images/themes/light-theme.svg rename to lib/assets/images/themes/theme-light.svg diff --git a/lib/constants/assets.dart b/lib/constants/assets.dart index e22b26f..cf1b73a 100644 --- a/lib/constants/assets.dart +++ b/lib/constants/assets.dart @@ -6,6 +6,7 @@ class Assets { static const String _baseImagesPath = _basePath + '/images'; static const String _baseThemesPath = _basePath + '/images/themes'; static const String _baseAnimationsPath = _basePath + '/animations'; + static const String _baseRecordsPath = _basePath + '/records'; static String get verticalLogoWithText => _baseImagesPath + '/logos/logo-vertical-$_themeSuffix.svg'; @@ -31,6 +32,8 @@ class Assets { static const String lightTheme = _baseThemesPath + '/light-theme.svg'; static const String darkTheme = _baseThemesPath + '/dark-theme.svg'; + static String get recordDark => _baseRecordsPath + '/$_themeSuffix-theme.svg'; + static String get _themeSuffix => DesignConfig.brightness == Brightness.dark ? 'dark' : 'light'; } diff --git a/pubspec.yaml b/pubspec.yaml index 395295a..748390f 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -97,8 +97,10 @@ flutter: - lib/assets/images/categories/political-dark.svg - lib/assets/images/categories/social-dark.svg - lib/assets/images/categories/tech-dark.svg - - lib/assets/images/themes/light-theme.svg - - lib/assets/images/themes/dark-theme.svg + - lib/assets/images/themes/theme-light.svg + - lib/assets/images/themes/theme-dark.svg + - lib/assets/images/records/record-dark.svg + - lib/assets/images/records/record-light.svg - lib/assets/animations/indicator.riv