Files
hash-wallet/pubspec_base.yaml
T
c746b85a4b UI updates (#2368)
* Add Black theme

* Fix black theme

* Add WixMadefor Font

* feat: Enhance theme setup

This change:
- Adds support for custom themes
- Updates theme retrieval logic to ensure the right theme is used based on user preferences(especially for custom themes).

* Add black custom colors

* Add custom accent colors

* feat: Restructure custom colors handling for themes

* feat: Integrate new custom colors structure across various components - WIP

* feat: Integrate new custom colors structure across various components, black theme now ready for tests

* feat: Add new accent color themes and update theme selection UI

- Enhanced theme selection UI in display settings to support accent color choices.
- Updated theme handling logic to accommodate new accent color variants.

* Minor updates to display_settings_page.dart

* Update settings_theme_choice.dart

* Revert accidental change in display_settings_page.dart

* Revert WixMadeFor font, fix SVG colors for CakeImageWidget, and test some color changes

* Update Monero Orange

* fix: Remove unused custom colors

* Test outline

* Test spacing and colors

* Add padding

* Remove outline

* Add other accent colors

* Update display_settings_view_model.dart

* Update names and fix switch case

* Add outline and update dark_theme.dart colors

* Add gradient to option_tile.dart

* Update icons

* Update some colors

* Switch option_tile.dart to TextButton

* Add updated icons

* Fix icon resolution

* Cleanup old icons + Update pubspec_base.yaml

* Remove unused fonts

* Update more icons

* Update image paths

* Remove more icons + update some component colors

* Add back DAI icon

* Fix errors

* feat: Implement OLED mode for BlackTheme

* feat: Add OLED mode for BlackTheme and localizations

* feat: Implement OLED mode for Black Theme

* refactor: Remove unused theme parameters and set up easy access to toggleKnob custom colors

* fix: Cleanup UI and overflows

* feat: Persist black theme selection if OS theme mode while app is in system mode

* fix: OS theme change when app is in background restrict pin screen from proceed

* Fix theme picker sizing

* Update lib/src/screens/dashboard/desktop_widgets/desktop_wallet_selection_dropdown.dart

Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>

* refactor: Enhance theme access by introducing ThemeX extension for easier retrieval of current theme and custom colors

* refactor: Remove currentTheme parameter from GradientBackground widget and adjust across affected widgets

* refactor: Remove currentTheme parameter from StandardSwitch and SettingsSwitcherCell, using ThemeX extension for theme access

* refactor: Remove currentTheme parameter from various widgets dependent on SettingsSwitcherCell and StandardxSwitcher, using ThemeX extension for theme access

* refactor: Remove currentTheme in bottomsheets and related widgets, switching to theme extension

* refactor: Remove constructor theme access in OptionTile and related widgets, switching to theme extension

* refactor: Switch bottomsheet related widgets to use theme extension instead of constructor access

* refactor: Migrate currentTheme access from constructor based to extension base

* refactor: Switch theme access from constructor base to extension base [skip ci]

* refactor: Migrate more widgets to use extension based theme access and clean up code

* refactor: Update theme access across multiple widgets to use the new theme extension

* refactor: Clean up theme access in various widgets, moving to extension-based theme usage

* refactor: Make theme picker preview responsive

* fix: Persist saved black theme accent when app is put in background and brought back

* remove unused variables [skip ci]

---------

Co-authored-by: Blazebrain <davidadegoke16@gmail.com>
Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
2025-10-10 16:00:39 +03:00

254 lines
6.8 KiB
YAML

dependencies:
flutter:
sdk: flutter
flutter_localizations:
sdk: flutter
intl: any
url_launcher: 6.3.1
qr_flutter:
git:
url: https://github.com/cake-tech/qr.flutter.git
ref: cake-4.0.2
version: 4.0.2
shared_preferences: 2.5.3
# provider: ^6.0.3
rxdart: ^0.28.0
yaml: ^3.1.1
fast_scanner:
git:
url: https://github.com/MrCyjaneK/fast_scanner
ref: 69b3276b090fa6ac01b4483ca3adca93a8e615be
http: ^1.1.0
path_provider: ^2.0.11
mobx: ^2.1.4
flutter_mobx: 2.0.6+5
flutter_slidable: ^3.0.1
share_plus: ^10.0.0
# date_range_picker: ^1.0.6
#https://api.flutter.dev/flutter/material/showDateRangePicker.html
dio: ^5.7.0
hive: ^2.2.3
hive_flutter: ^1.1.0
local_auth_android: ^1.0.46
flutter_local_authentication:
git:
url: https://github.com/cake-tech/flutter_local_authentication
package_info_plus: ^8.0.1
devicelocale: 0.8.1
auto_size_text: ^3.0.0
dotted_border: ^2.0.0+2
smooth_page_indicator: ^1.0.0+2
flutter_inappwebview: ^6.1.5
flutter_spinkit: ^5.1.0
uni_links:
git:
url: https://github.com/cake-tech/uni_links
ref: 1989db3f5d625e2fffbad7b85a3b1b8c78c6dfa1
path: uni_links
lottie: ^3.3.1
animate_do: ^2.1.0
cupertino_icons: ^1.0.5
encrypt: 5.0.2
crypto: ^3.0.2
# password: ^1.0.0
basic_utils: ^5.6.1
get_it: ^7.2.0
# connectivity: ^3.0.3
connectivity_plus: ^6.1.3
keyboard_actions: ^4.0.1
another_flushbar: ^1.12.29
archive: ^4.0.3
cryptography: ^2.0.5
file_picker:
git:
url: https://github.com/cake-tech/flutter_file_picker.git
ref: c414574bc5ac349450f601e7f72c7b9f31b4d087
permission_handler: 11.4.0
device_display_brightness:
git:
url: https://github.com/MrCyjaneK/device_display_brightness.git
ref: 4cac18c446ce686f3d75b1565badbd7da439bbd9
wakelock_plus: ^1.2.5
flutter_mailer:
git:
url: https://github.com/taljacobson/flutter_mailer
ref: 9c4ed111a9151a2bbfb9afe2c18a37599c6f84f3
device_info_plus: ^9.1.0
base32: 2.1.3
in_app_review: ^2.0.6
image_picker: ^1.1.2
cake_backup:
git:
url: https://github.com/cake-tech/cake_backup.git
ref: main
version: 1.0.0
flutter_plugin_android_lifecycle: 2.0.23
path_provider_android: ^2.2.1
shared_preferences_android: ^2.4.8
url_launcher_android: 6.3.14
url_launcher_linux: 3.1.1 # https://github.com/flutter/flutter/issues/153083
sensitive_clipboard:
git:
url: https://github.com/cake-tech/sensitive_clipboard
ref: 288c7ee2d63b459bc735f7dc89321b29a1f12fae
eth_sig_util: ^0.0.9
ens_dart:
git:
url: https://github.com/cake-tech/ens_dart.git
ref: 9fa09b9db69b8645d5d50a844652aa570451d101
fluttertoast: 8.2.12
# tor:
# git:
# url: https://github.com/cake-tech/tor.git
# ref: main
socks5_proxy:
git:
url: https://github.com/LacticWhale/socks_dart
ref: 27ad7c2efae8d7460325c74b90f660085cbd0685
flutter_svg: ^2.2.0
polyseed: ^0.0.7
nostr_tools:
git:
url: https://github.com/cake-tech/nostr_tools.git
ref: 089d5a2dd751429a040ba10fb24fcbae564053e5
solana: ^0.31.0+1
ledger_flutter_plus:
git:
url: https://github.com/vespr-wallet/ledger-flutter-plus
ref: 60817d4b20144f9da9029f5034790272795b9d38
bitbox_flutter:
path: ./scripts/bitbox_flutter
hashlib: 1.19.2
on_chain:
git:
url: https://github.com/cake-tech/on_chain.git
ref: cake-update-v2
reown_walletkit: 1.1.5+1
blockchain_utils:
git:
url: https://github.com/cake-tech/blockchain_utils
ref: cake-update-v2
flutter_daemon:
git:
url: https://github.com/MrCyjaneK/flutter_daemon
ref: c24ee99f2f3070ea02d8108bbdd7727d73f7e5f1
flutter_local_notifications: ^19.0.0
ur:
git:
url: https://github.com/bukata-sa/bc-ur-dart
ref: 5738f70d0ec3d50977ac3dd01fed62939600238b
bbqrdart:
git:
url: https://github.com/mrcyjanek/bbqrdart
ref: e867e3d0156d0b29858100f30adc2625b9dae586
dnssec_proof:
git:
url: https://github.com/MrCyjaneK/dnssec_proof.git
ref: b48a9defddce036048bae02e2069ebcbd6824afc
torch_dart:
path: ./scripts/torch_dart
dev_dependencies:
flutter_test:
sdk: flutter
integration_test:
sdk: flutter
mocktail: ^1.0.4
build_runner: ^2.4.15
logging: ^1.2.0
mobx_codegen: ^2.1.1
build_resolvers: ^2.4.4
hive_generator: ^2.0.1
# flutter_launcher_icons: ^0.11.0
# check flutter_launcher_icons for usage
pedantic: ^1.8.0
# replace https://github.com/dart-lang/lints#migrating-from-packagepedantic
translator:
git:
url: https://github.com/cake-tech/google-translator.git
version: 1.0.0
msix: ^3.16.9
dependency_overrides:
bech32:
git:
url: https://github.com/cake-tech/bech32.git
web3dart:
git:
url: https://github.com/cake-tech/web3dart.git
ref: cake
flutter_secure_storage_platform_interface: 1.0.2
protobuf: ^3.1.0
bitcoin_base:
git:
url: https://github.com/cake-tech/bitcoin_base
ref: cake-update-v11
ffi: 2.1.0
ledger_flutter_plus:
git:
url: https://github.com/vespr-wallet/ledger-flutter-plus
ref: 60817d4b20144f9da9029f5034790272795b9d38
ledger_usb_plus:
git:
url: https://github.com/konstantinullrich/ledger-usb-plus
ref: dad482c847c0d0eedceabbb40d3478e64b65e630
socks5_proxy:
git:
url: https://github.com/LacticWhale/socks_dart.git
ref: 27ad7c2efae8d7460325c74b90f660085cbd0685
web_socket_channel: ^3.0.2
freezed_annotation: 2.4.4
intl: 0.20.2
flutter_icons:
image_path: "assets/images/app_logo.png"
android: true
ios: true
macos:
generate: true
image_path: "assets/images/app_logo.png"
flutter:
uses-material-design: true
assets:
- assets/images/
- assets/images/flags/
- assets/images/hardware_wallet/
- assets/images/crypto/
- assets/node_list.yml
- assets/haven_node_list.yml
- assets/bitcoin_electrum_server_list.yml
- assets/litecoin_electrum_server_list.yml
- assets/ethereum_server_list.yml
- assets/bitcoin_cash_electrum_server_list.yml
- assets/nano_node_list.yml
- assets/nano_pow_node_list.yml
- assets/polygon_node_list.yml
- assets/solana_node_list.yml
- assets/tron_node_list.yml
- assets/wownero_node_list.yml
- assets/zano_node_list.yml
- assets/decred_node_list.yml
- assets/dogecoin_electrum_server_list.yml
- assets/text/
- assets/faq/
- assets/animation/
fonts:
- family: Lato
fonts:
- asset: assets/fonts/Lato-Regular.ttf
- asset: assets/fonts/Lato-Medium.ttf
- asset: assets/fonts/Lato-Semibold.ttf
- asset: assets/fonts/Lato-Bold.ttf
msix_config:
display_name: Cake Wallet
publisher_display_name: Cake Labs
identity_name: com.cakewallet.wallet
msix_version: 1.0.0.1
logo_path: assets/images/app_logo.png
trim_logo: false
capabilities: internetClient