import 'package:didvan/config/design_config.dart';
import 'package:flutter/cupertino.dart';

class Assets {
  static const String _basePath = 'lib/assets';
  static const String _baseImagesPath = '$_basePath/images';
  static const String _baseCategoriesPath = '$_baseImagesPath/categories';
  static const String _baseThemesPath = '$_baseImagesPath/themes';
  static const String _baseEmptyStatesPath = '$_baseImagesPath/empty_states';
  static const String _baseAnimationsPath = '$_basePath/animations';
  static const String _baseRecordsPath = '$_baseImagesPath/records';
  static const String _baseLogosPath = '$_baseImagesPath/logos';
  static const String _baseIconsPath = '$_basePath/icons';
  static const String _baseFeaturesPath = '$_baseImagesPath/features';

  static const String progressRadarIcon = '$_baseIconsPath/progress-radar.svg';
  static const String startupRadarIcon = '$_baseIconsPath/startup-radar.svg';
  static const String strategicRadarIcon =
      '$_baseIconsPath/strategic-radar.svg';
  static const String techRadarIcon = '$_baseIconsPath/tech-radar.svg';
  static const String riskRadarIcon = '$_baseIconsPath/risk-radar.svg';

  static String get cryptoStatCat =>
      '$_baseFeaturesPath/crypto-$_themeSuffix.svg';
  static String get commodityStatCat =>
      '$_baseFeaturesPath/commodity-$_themeSuffix.svg';
  static String get currencyGoldStatCat =>
      '$_baseFeaturesPath/currencyGold-$_themeSuffix.svg';
  static String get metalStatCat =>
      '$_baseFeaturesPath/metal-$_themeSuffix.svg';
  static String get steelStatCat =>
      '$_baseFeaturesPath/steel-$_themeSuffix.svg';
  static String get stockStatCat =>
      '$_baseFeaturesPath/stock-$_themeSuffix.svg';

  static String get note => '$_baseFeaturesPath/note.svg';

  static String get verticalLogoWithText =>
      '$_baseLogosPath/logo-vertical-$_themeSuffix.svg';
  static String get horizontalLogoWithText =>
      '$_baseLogosPath/logo-horizontal-$_themeSuffix.svg';
  static String get studioLogo => '$_baseLogosPath/studio-$_themeSuffix.svg';

  static String loadingAnimation = '$_baseAnimationsPath/loading.gif';
  static String bookmarkAnimation = '$_baseAnimationsPath/bookmark.gif';
  static String boxAnimationLight =
      '$_baseAnimationsPath/onlinegiftools-light.gif';
  static String boxAnimationDark =
      '$_baseAnimationsPath/onlinegiftools-dark.gif';

  static String get businessCategoryIcon =>
      '$_baseCategoriesPath/business-$_themeSuffix.svg';
  static String get economicCategoryIcon =>
      '$_baseCategoriesPath/economic-$_themeSuffix.svg';
  static String get enviromentalCategoryIcon =>
      '$_baseCategoriesPath/enviromental-$_themeSuffix.svg';
  static String get politicalCategoryIcon =>
      '$_baseCategoriesPath/political-$_themeSuffix.svg';
  static String get socialCategoryIcon =>
      '$_baseCategoriesPath/social-$_themeSuffix.svg';
  static String get techCategoryIcon =>
      '$_baseCategoriesPath/tech-$_themeSuffix.svg';
  static String get steelCategoryIcon =>
      '$_baseCategoriesPath/steel-$_themeSuffix.svg';
  static String get stockCategoryIcon =>
      '$_baseCategoriesPath/stock-$_themeSuffix.svg';
  static String get globCategoryIcon =>
      '$_baseCategoriesPath/glob-$_themeSuffix.svg';

  static String get emptyBookmark =>
      '$_baseEmptyStatesPath/bookmark-$_themeSuffix.svg';
  static String get emptyChart =>
      '$_baseEmptyStatesPath/chart-$_themeSuffix.svg';
  static String get emptyChat => '$_baseEmptyStatesPath/chat-$_themeSuffix.svg';
  static String get emptyConnection =>
      '$_baseEmptyStatesPath/connection-$_themeSuffix.svg';
  static String get emptyResult =>
      '$_baseEmptyStatesPath/result-$_themeSuffix.svg';

  static String get fooladWorld =>
      '$_baseFeaturesPath/foolad-world-$_themeSuffix.svg';
  static String get ofogh => '$_baseFeaturesPath/ofogh-$_themeSuffix.svg';
  static String get podcast => '$_baseFeaturesPath/podcast-$_themeSuffix.svg';
  static String get risk => '$_baseFeaturesPath/risk-$_themeSuffix.svg';
  static String get saha => '$_baseFeaturesPath/saha-$_themeSuffix.svg';
  static String get ai => '$_baseFeaturesPath/ai-$_themeSuffix.svg';
  static String get hugeideas => '$_baseFeaturesPath/hugeicons_idea-$_themeSuffix.svg';
  static String get startup => '$_baseFeaturesPath/startup-$_themeSuffix.svg';
  static String get stats => '$_baseFeaturesPath/stats-$_themeSuffix.svg';
  static String get tech => '$_baseFeaturesPath/tech-$_themeSuffix.svg';
  static String get trend => '$_baseFeaturesPath/trend-$_themeSuffix.svg';
  static String get videocast =>
      '$_baseFeaturesPath/videocast-$_themeSuffix.svg';
  static String get infography =>
      '$_baseFeaturesPath/infography-$_themeSuffix.svg';

  static const String lightTheme = '$_baseThemesPath/theme-light.svg';
  static const String darkTheme = '$_baseThemesPath/theme-dark.svg';

  static String get record => '$_baseRecordsPath/record-$_themeSuffix.svg';

  static String get _themeSuffix =>
      DesignConfig.brightness == Brightness.dark ? 'dark' : 'light';
}
