mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2025-01-22 02:24:30 +00:00
Merge branch 'desktop' into updatedesktop
This commit is contained in:
commit
2ed5559cde
6 changed files with 57 additions and 0 deletions
3
assets/svg/Polygon.svg
Normal file
3
assets/svg/Polygon.svg
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
<svg width="8" height="11" viewBox="0 0 8 11" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
<path d="M6.83473 4.89146C7.24557 5.21575 7.24557 5.78425 6.83473 6.10854L1.53567 10.2914C0.941523 10.7604 -3.48066e-08 10.3873 0 9.68284L4.13348e-07 1.31716C4.48155e-07 0.612725 0.941523 0.239629 1.53567 0.708624L6.83473 4.89146Z" fill="#0056D2"/>
|
||||||
|
</svg>
|
After Width: | Height: | Size: 350 B |
11
assets/svg/box-auto.svg
Normal file
11
assets/svg/box-auto.svg
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
<svg width="26" height="22" viewBox="0 0 26 22" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
<g clip-path="url(#clip0_5432_15256)">
|
||||||
|
<path fill-rule="evenodd" clip-rule="evenodd" d="M20.1875 1.8125H1.8125C1.08693 1.8125 0.5 2.39943 0.5 3.125V5.09375C0.5 5.45469 0.79482 5.75 1.15625 5.75H20.8438C21.2047 5.75 21.5 5.45469 21.5 5.09375V3.125C21.5 2.39943 20.9135 1.8125 20.1875 1.8125ZM1.8125 18.2188C1.8125 19.3057 2.69393 20.1875 3.78125 20.1875H14.145C13.1157 18.9035 12.5 17.2737 12.5 15.5C12.5 11.3579 15.8579 8 20 8C20.0627 8 20.1252 8.00077 20.1875 8.0023V7.0625H1.8125V18.2188ZM7.0625 10.1797C7.0625 9.90899 7.28398 9.6875 7.55469 9.6875H12.9C13.0933 9.6875 13.25 9.8442 13.25 10.0375V10.65C13.25 10.8433 13.0933 11 12.9 11H7.55469C7.28398 11 7.0625 10.7785 7.0625 10.5078V10.1797Z" fill="black"/>
|
||||||
|
<path d="M14 15.5C14 12.1859 16.6859 9.5 20 9.5C23.3141 9.5 26 12.1859 26 15.5C26 18.8141 23.3141 21.5 20 21.5C16.6859 21.5 14 18.8141 14 15.5ZM22.7141 14.4641C22.9695 14.2086 22.9695 13.7914 22.7141 13.5359C22.4586 13.2805 22.0414 13.2805 21.7859 13.5359L19.25 16.0719L18.2141 15.0359C17.9586 14.7805 17.5414 14.7805 17.2859 15.0359C17.0305 15.2914 17.0305 15.7086 17.2859 15.9641L18.7859 17.4641C19.0414 17.7195 19.4586 17.7195 19.7141 17.4641L22.7141 14.4641Z" fill="black"/>
|
||||||
|
</g>
|
||||||
|
<defs>
|
||||||
|
<clipPath id="clip0_5432_15256">
|
||||||
|
<rect width="25.5" height="21" fill="white" transform="translate(0.5 0.5)"/>
|
||||||
|
</clipPath>
|
||||||
|
</defs>
|
||||||
|
</svg>
|
After Width: | Height: | Size: 1.4 KiB |
|
@ -0,0 +1,20 @@
|
||||||
|
import 'package:flutter/cupertino.dart';
|
||||||
|
import 'package:flutter_riverpod/flutter_riverpod.dart';
|
||||||
|
|
||||||
|
class SettingsView extends ConsumerStatefulWidget {
|
||||||
|
const SettingsView({Key? key}) : super(key: key);
|
||||||
|
|
||||||
|
static const String routeName = "/settingsView";
|
||||||
|
|
||||||
|
@override
|
||||||
|
ConsumerState<SettingsView> createState() => _SettingsView();
|
||||||
|
}
|
||||||
|
|
||||||
|
class _SettingsView extends ConsumerState<SettingsView> {
|
||||||
|
@override
|
||||||
|
Widget build(BuildContext context) {
|
||||||
|
debugPrint("BUILD: $runtimeType");
|
||||||
|
// TODO: implement build
|
||||||
|
throw UnimplementedError();
|
||||||
|
}
|
||||||
|
}
|
|
@ -51,7 +51,9 @@ class _SVG {
|
||||||
String txExchangeFailed(BuildContext context) =>
|
String txExchangeFailed(BuildContext context) =>
|
||||||
"assets/svg/${Theme.of(context).extension<StackColors>()!.themeType.name}/tx-exchange-icon-failed.svg";
|
"assets/svg/${Theme.of(context).extension<StackColors>()!.themeType.name}/tx-exchange-icon-failed.svg";
|
||||||
|
|
||||||
|
String get polygon => "assets/svg/Polygon.svg";
|
||||||
String get drd => "assets/svg/drd-icon.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 plus => "assets/svg/plus.svg";
|
||||||
String get gear => "assets/svg/gear.svg";
|
String get gear => "assets/svg/gear.svg";
|
||||||
String get bell => "assets/svg/bell.svg";
|
String get bell => "assets/svg/bell.svg";
|
||||||
|
|
|
@ -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) {
|
static TextStyle desktopButtonSmallSecondaryEnabled(BuildContext context) {
|
||||||
switch (_theme(context).themeType) {
|
switch (_theme(context).themeType) {
|
||||||
case ThemeType.light:
|
case ThemeType.light:
|
||||||
|
|
|
@ -289,6 +289,7 @@ flutter:
|
||||||
- assets/svg/tx-icon-anonymize.svg
|
- assets/svg/tx-icon-anonymize.svg
|
||||||
- assets/svg/tx-icon-anonymize-pending.svg
|
- assets/svg/tx-icon-anonymize-pending.svg
|
||||||
- assets/svg/tx-icon-anonymize-failed.svg
|
- assets/svg/tx-icon-anonymize-failed.svg
|
||||||
|
- assets/svg/Polygon.svg
|
||||||
# coin icons
|
# coin icons
|
||||||
- assets/svg/coin_icons/Bitcoin.svg
|
- assets/svg/coin_icons/Bitcoin.svg
|
||||||
- assets/svg/coin_icons/Bitcoincash.svg
|
- assets/svg/coin_icons/Bitcoincash.svg
|
||||||
|
@ -312,6 +313,7 @@ flutter:
|
||||||
- assets/svg/exchange-3.svg
|
- assets/svg/exchange-3.svg
|
||||||
- assets/svg/message-question-1.svg
|
- assets/svg/message-question-1.svg
|
||||||
- assets/svg/drd-icon.svg
|
- assets/svg/drd-icon.svg
|
||||||
|
- assets/svg/box-auto.svg
|
||||||
|
|
||||||
# An image asset can refer to one or more resolution-specific "variants", see
|
# An image asset can refer to one or more resolution-specific "variants", see
|
||||||
# https://flutter.dev/assets-and-images/#resolution-aware.
|
# https://flutter.dev/assets-and-images/#resolution-aware.
|
||||||
|
|
Loading…
Reference in a new issue