mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2024-11-17 01:37:54 +00:00
added oled-black-theme selector + prep oledBlack theme file
This commit is contained in:
parent
d3c845b30d
commit
a661e3acbc
5 changed files with 369 additions and 0 deletions
28
assets/svg/oled-black-theme.svg
Normal file
28
assets/svg/oled-black-theme.svg
Normal file
|
@ -0,0 +1,28 @@
|
||||||
|
<svg width="200" height="162" viewBox="0 0 200 162" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
<g clip-path="url(#clip0_489_21263)">
|
||||||
|
<rect width="200" height="162" rx="8" fill="url(#paint0_linear_489_21263)"/>
|
||||||
|
<rect x="10" y="10" width="180" height="20" rx="2" fill="#77A7F9"/>
|
||||||
|
<rect x="16" y="16" width="106" height="8" rx="1" fill="black"/>
|
||||||
|
<rect x="10" y="40" width="180" height="20" rx="2" fill="#212F46"/>
|
||||||
|
<rect x="16" y="46" width="106" height="8" rx="1" fill="black"/>
|
||||||
|
<rect x="10" y="62" width="180" height="20" rx="2" fill="#212F46"/>
|
||||||
|
<rect x="16" y="68" width="106" height="8" rx="1" fill="black"/>
|
||||||
|
<rect x="10" y="84" width="180" height="20" rx="2" fill="#212F46"/>
|
||||||
|
<rect x="16" y="90" width="106" height="8" rx="1" fill="black"/>
|
||||||
|
<rect x="10" y="106" width="180" height="20" rx="2" fill="#212F46"/>
|
||||||
|
<rect x="16" y="112" width="106" height="8" rx="1" fill="black"/>
|
||||||
|
<rect x="10" y="128" width="180" height="20" rx="2" fill="#212F46"/>
|
||||||
|
<rect x="16" y="134" width="106" height="8" rx="1" fill="black"/>
|
||||||
|
<rect x="10" y="150" width="180" height="20" rx="2" fill="#212F46"/>
|
||||||
|
<rect x="16" y="156" width="106" height="8" rx="1" fill="black"/>
|
||||||
|
</g>
|
||||||
|
<defs>
|
||||||
|
<linearGradient id="paint0_linear_489_21263" x1="100" y1="0" x2="100" y2="162" gradientUnits="userSpaceOnUse">
|
||||||
|
<stop offset="0.9999"/>
|
||||||
|
<stop offset="1" stop-color="#E8F2F9"/>
|
||||||
|
</linearGradient>
|
||||||
|
<clipPath id="clip0_489_21263">
|
||||||
|
<rect width="200" height="162" rx="8" fill="white"/>
|
||||||
|
</clipPath>
|
||||||
|
</defs>
|
||||||
|
</svg>
|
After Width: | Height: | Size: 1.4 KiB |
28
assets/svg/oledBlack/oled-black-theme.svg
Normal file
28
assets/svg/oledBlack/oled-black-theme.svg
Normal file
|
@ -0,0 +1,28 @@
|
||||||
|
<svg width="200" height="162" viewBox="0 0 200 162" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
<g clip-path="url(#clip0_489_21263)">
|
||||||
|
<rect width="200" height="162" rx="8" fill="url(#paint0_linear_489_21263)"/>
|
||||||
|
<rect x="10" y="10" width="180" height="20" rx="2" fill="#77A7F9"/>
|
||||||
|
<rect x="16" y="16" width="106" height="8" rx="1" fill="black"/>
|
||||||
|
<rect x="10" y="40" width="180" height="20" rx="2" fill="#212F46"/>
|
||||||
|
<rect x="16" y="46" width="106" height="8" rx="1" fill="black"/>
|
||||||
|
<rect x="10" y="62" width="180" height="20" rx="2" fill="#212F46"/>
|
||||||
|
<rect x="16" y="68" width="106" height="8" rx="1" fill="black"/>
|
||||||
|
<rect x="10" y="84" width="180" height="20" rx="2" fill="#212F46"/>
|
||||||
|
<rect x="16" y="90" width="106" height="8" rx="1" fill="black"/>
|
||||||
|
<rect x="10" y="106" width="180" height="20" rx="2" fill="#212F46"/>
|
||||||
|
<rect x="16" y="112" width="106" height="8" rx="1" fill="black"/>
|
||||||
|
<rect x="10" y="128" width="180" height="20" rx="2" fill="#212F46"/>
|
||||||
|
<rect x="16" y="134" width="106" height="8" rx="1" fill="black"/>
|
||||||
|
<rect x="10" y="150" width="180" height="20" rx="2" fill="#212F46"/>
|
||||||
|
<rect x="16" y="156" width="106" height="8" rx="1" fill="black"/>
|
||||||
|
</g>
|
||||||
|
<defs>
|
||||||
|
<linearGradient id="paint0_linear_489_21263" x1="100" y1="0" x2="100" y2="162" gradientUnits="userSpaceOnUse">
|
||||||
|
<stop offset="0.9999"/>
|
||||||
|
<stop offset="1" stop-color="#E8F2F9"/>
|
||||||
|
</linearGradient>
|
||||||
|
<clipPath id="clip0_489_21263">
|
||||||
|
<rect width="200" height="162" rx="8" fill="white"/>
|
||||||
|
</clipPath>
|
||||||
|
</defs>
|
||||||
|
</svg>
|
After Width: | Height: | Size: 1.4 KiB |
|
@ -70,6 +70,7 @@ 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 themeOledBlack => "assets/svg/oled-black-theme.svg";
|
||||||
String get themeOcean => "assets/svg/ocean-breeze-theme.svg";
|
String get themeOcean => "assets/svg/ocean-breeze-theme.svg";
|
||||||
String get themeLight => "assets/svg/light-mode.svg";
|
String get themeLight => "assets/svg/light-mode.svg";
|
||||||
String get themeDark => "assets/svg/dark-theme.svg";
|
String get themeDark => "assets/svg/dark-theme.svg";
|
||||||
|
|
311
lib/utilities/theme/oled_black_colors.dart
Normal file
311
lib/utilities/theme/oled_black_colors.dart
Normal file
|
@ -0,0 +1,311 @@
|
||||||
|
import 'package:flutter/material.dart';
|
||||||
|
import 'package:stackwallet/utilities/theme/color_theme.dart';
|
||||||
|
|
||||||
|
class DarkColors extends StackColorTheme {
|
||||||
|
@override
|
||||||
|
ThemeType get themeType => ThemeType.dark;
|
||||||
|
|
||||||
|
@override
|
||||||
|
Color get background => const Color(0xFF2A2D34);
|
||||||
|
@override
|
||||||
|
Color get backgroundAppBar => background;
|
||||||
|
@override
|
||||||
|
Gradient? get gradientBackground => null;
|
||||||
|
|
||||||
|
@override
|
||||||
|
Color get overlay => const Color(0xFF111215);
|
||||||
|
|
||||||
|
@override
|
||||||
|
Color get accentColorBlue => const Color(0xFF4C86E9);
|
||||||
|
@override
|
||||||
|
Color get accentColorGreen => const Color(0xFF4CC0A0);
|
||||||
|
@override
|
||||||
|
Color get accentColorYellow => const Color(0xFFF7D65D);
|
||||||
|
@override
|
||||||
|
Color get accentColorRed => const Color(0xFFD34E50);
|
||||||
|
@override
|
||||||
|
Color get accentColorOrange => const Color(0xFFFEA68D);
|
||||||
|
@override
|
||||||
|
Color get accentColorDark => const Color(0xFFF3F3F3);
|
||||||
|
|
||||||
|
@override
|
||||||
|
Color get shadow => const Color(0x0F2D3132);
|
||||||
|
|
||||||
|
@override
|
||||||
|
Color get textDark => const Color(0xFFF3F3F3);
|
||||||
|
@override
|
||||||
|
Color get textDark2 => const Color(0xFFDBDBDB);
|
||||||
|
@override
|
||||||
|
Color get textDark3 => const Color(0xFFEEEFF1);
|
||||||
|
@override
|
||||||
|
Color get textSubtitle1 => const Color(0xFF9E9E9E);
|
||||||
|
@override
|
||||||
|
Color get textSubtitle2 => const Color(0xFF969696);
|
||||||
|
@override
|
||||||
|
Color get textSubtitle3 => const Color(0xFFA9ACAC);
|
||||||
|
@override
|
||||||
|
Color get textSubtitle4 => const Color(0xFF8E9192);
|
||||||
|
@override
|
||||||
|
Color get textSubtitle5 => const Color(0xFF747778);
|
||||||
|
@override
|
||||||
|
Color get textSubtitle6 => const Color(0xFF414141);
|
||||||
|
@override
|
||||||
|
Color get textWhite => const Color(0xFF232323);
|
||||||
|
@override
|
||||||
|
Color get textFavoriteCard => const Color(0xFF232323);
|
||||||
|
@override
|
||||||
|
Color get textError => const Color(0xFFF37475);
|
||||||
|
|
||||||
|
// button background
|
||||||
|
@override
|
||||||
|
Color get buttonBackPrimary => const Color(0xFF4C86E9);
|
||||||
|
@override
|
||||||
|
Color get buttonBackSecondary => const Color(0xFF444E5C);
|
||||||
|
@override
|
||||||
|
Color get buttonBackPrimaryDisabled => const Color(0xFF38517C);
|
||||||
|
@override
|
||||||
|
Color get buttonBackSecondaryDisabled => const Color(0xFF3B3F46);
|
||||||
|
@override
|
||||||
|
Color get buttonBackBorder => const Color(0xFF4C86E9);
|
||||||
|
@override
|
||||||
|
Color get buttonBackBorderDisabled => const Color(0xFF314265);
|
||||||
|
|
||||||
|
@override
|
||||||
|
Color get numberBackDefault => const Color(0xFF484B51);
|
||||||
|
@override
|
||||||
|
Color get numpadBackDefault => const Color(0xFF4C86E9);
|
||||||
|
@override
|
||||||
|
Color get bottomNavBack => const Color(0xFF3E4148);
|
||||||
|
|
||||||
|
// button text/element
|
||||||
|
@override
|
||||||
|
Color get buttonTextPrimary => const Color(0xFFFFFFFF);
|
||||||
|
@override
|
||||||
|
Color get buttonTextSecondary => const Color(0xFFFFFFFF);
|
||||||
|
@override
|
||||||
|
Color get buttonTextPrimaryDisabled => const Color(0xFFFFFFFF);
|
||||||
|
@override
|
||||||
|
Color get buttonTextSecondaryDisabled => const Color(0xFF6A6C71);
|
||||||
|
@override
|
||||||
|
Color get buttonTextBorder => const Color(0xFF4C86E9);
|
||||||
|
@override
|
||||||
|
Color get buttonTextDisabled => const Color(0xFF314265);
|
||||||
|
@override
|
||||||
|
Color get buttonTextBorderless => const Color(0xFF4C86E9);
|
||||||
|
@override
|
||||||
|
Color get buttonTextBorderlessDisabled => const Color(0xFFB6B6B6);
|
||||||
|
@override
|
||||||
|
Color get numberTextDefault => const Color(0xFFFFFFFF);
|
||||||
|
@override
|
||||||
|
Color get numpadTextDefault => const Color(0xFFFFFFFF);
|
||||||
|
@override
|
||||||
|
Color get bottomNavText => const Color(0xFFFFFFFF);
|
||||||
|
|
||||||
|
// switch
|
||||||
|
@override
|
||||||
|
Color get switchBGOn => const Color(0xFF4C86E9);
|
||||||
|
@override
|
||||||
|
Color get switchBGOff => const Color(0xFFC1D9FF);
|
||||||
|
@override
|
||||||
|
Color get switchBGDisabled => const Color(0xFFB5B7BA);
|
||||||
|
@override
|
||||||
|
Color get switchCircleOn => const Color(0xFFC9DDFF);
|
||||||
|
@override
|
||||||
|
Color get switchCircleOff => const Color(0xFFFFFFFF);
|
||||||
|
@override
|
||||||
|
Color get switchCircleDisabled => const Color(0xFFFFFFFF);
|
||||||
|
|
||||||
|
// step indicator background
|
||||||
|
@override
|
||||||
|
Color get stepIndicatorBGCheck => const Color(0xFF4C86E9);
|
||||||
|
@override
|
||||||
|
Color get stepIndicatorBGNumber => const Color(0xFF4C86E9);
|
||||||
|
@override
|
||||||
|
Color get stepIndicatorBGInactive => const Color(0xFF3B3F46);
|
||||||
|
@override
|
||||||
|
Color get stepIndicatorBGLines => const Color(0xFF4C86E9);
|
||||||
|
@override
|
||||||
|
Color get stepIndicatorBGLinesInactive => const Color(0xFF3B3F46);
|
||||||
|
@override
|
||||||
|
Color get stepIndicatorIconText => const Color(0xFFFFFFFF);
|
||||||
|
@override
|
||||||
|
Color get stepIndicatorIconNumber => const Color(0xFFFFFFFF);
|
||||||
|
@override
|
||||||
|
Color get stepIndicatorIconInactive => const Color(0xFF747474);
|
||||||
|
|
||||||
|
// checkbox
|
||||||
|
@override
|
||||||
|
Color get checkboxBGChecked => const Color(0xFF4C86E9);
|
||||||
|
@override
|
||||||
|
Color get checkboxBorderEmpty => const Color(0xFF8E9192);
|
||||||
|
@override
|
||||||
|
Color get checkboxBGDisabled => const Color(0xFFADC7EC);
|
||||||
|
@override
|
||||||
|
Color get checkboxIconChecked => const Color(0xFFFFFFFF);
|
||||||
|
@override
|
||||||
|
Color get checkboxIconDisabled => const Color(0xFFFFFFFF);
|
||||||
|
@override
|
||||||
|
Color get checkboxTextLabel => const Color(0xFFFFFFFF);
|
||||||
|
|
||||||
|
// snack bar
|
||||||
|
@override
|
||||||
|
Color get snackBarBackSuccess => const Color(0xFF8EF5C3);
|
||||||
|
@override
|
||||||
|
Color get snackBarBackError => const Color(0xFFFFB4A9);
|
||||||
|
@override
|
||||||
|
Color get snackBarBackInfo => const Color(0xFFB4C4FF);
|
||||||
|
@override
|
||||||
|
Color get snackBarTextSuccess => const Color(0xFF003921);
|
||||||
|
@override
|
||||||
|
Color get snackBarTextError => const Color(0xFF690001);
|
||||||
|
@override
|
||||||
|
Color get snackBarTextInfo => const Color(0xFF00297A);
|
||||||
|
|
||||||
|
// icons
|
||||||
|
@override
|
||||||
|
Color get bottomNavIconBack => const Color(0xFF7F8185);
|
||||||
|
@override
|
||||||
|
Color get bottomNavIconIcon => const Color(0xFFFFFFFF);
|
||||||
|
|
||||||
|
@override
|
||||||
|
Color get topNavIconPrimary => const Color(0xFFFFFFFF);
|
||||||
|
@override
|
||||||
|
Color get topNavIconGreen => const Color(0xFF4CC0A0);
|
||||||
|
@override
|
||||||
|
Color get topNavIconYellow => const Color(0xFFF7D65D);
|
||||||
|
@override
|
||||||
|
Color get topNavIconRed => const Color(0xFFD34E50);
|
||||||
|
|
||||||
|
@override
|
||||||
|
Color get settingsIconBack => const Color(0xFFE0E3E3);
|
||||||
|
@override
|
||||||
|
Color get settingsIconIcon => const Color(0xFF232323);
|
||||||
|
@override
|
||||||
|
Color get settingsIconBack2 => const Color(0xFF94D6C4);
|
||||||
|
@override
|
||||||
|
Color get settingsIconElement => const Color(0xFF00A578);
|
||||||
|
|
||||||
|
// text field
|
||||||
|
@override
|
||||||
|
Color get textFieldActiveBG => const Color(0xFF4C5360);
|
||||||
|
@override
|
||||||
|
Color get textFieldDefaultBG => const Color(0xFF444953);
|
||||||
|
@override
|
||||||
|
Color get textFieldErrorBG => const Color(0xFFFFB4A9);
|
||||||
|
@override
|
||||||
|
Color get textFieldSuccessBG => const Color(0xFF8EF5C3);
|
||||||
|
|
||||||
|
@override
|
||||||
|
Color get textFieldActiveSearchIconLeft => const Color(0xFFA9ACAC);
|
||||||
|
@override
|
||||||
|
Color get textFieldDefaultSearchIconLeft => const Color(0xFFA9ACAC);
|
||||||
|
@override
|
||||||
|
Color get textFieldErrorSearchIconLeft => const Color(0xFF690001);
|
||||||
|
@override
|
||||||
|
Color get textFieldSuccessSearchIconLeft => const Color(0xFF003921);
|
||||||
|
|
||||||
|
@override
|
||||||
|
Color get textFieldActiveText => const Color(0xFFFFFFFF);
|
||||||
|
@override
|
||||||
|
Color get textFieldDefaultText => const Color(0xFFA9ACAC);
|
||||||
|
@override
|
||||||
|
Color get textFieldErrorText => const Color(0xFF000000);
|
||||||
|
@override
|
||||||
|
Color get textFieldSuccessText => const Color(0xFF000000);
|
||||||
|
|
||||||
|
@override
|
||||||
|
Color get textFieldActiveLabel => const Color(0xFFA9ACAC);
|
||||||
|
@override
|
||||||
|
Color get textFieldErrorLabel => const Color(0xFF690001);
|
||||||
|
@override
|
||||||
|
Color get textFieldSuccessLabel => const Color(0xFF003921);
|
||||||
|
|
||||||
|
@override
|
||||||
|
Color get textFieldActiveSearchIconRight => const Color(0xFFC4C7C7);
|
||||||
|
@override
|
||||||
|
Color get textFieldDefaultSearchIconRight => const Color(0xFF747778);
|
||||||
|
@override
|
||||||
|
Color get textFieldErrorSearchIconRight => const Color(0xFF690001);
|
||||||
|
@override
|
||||||
|
Color get textFieldSuccessSearchIconRight => const Color(0xFF003921);
|
||||||
|
|
||||||
|
// settings item level2
|
||||||
|
@override
|
||||||
|
Color get settingsItem2ActiveBG => const Color(0xFF484B51);
|
||||||
|
@override
|
||||||
|
Color get settingsItem2ActiveText => const Color(0xFFFFFFFF);
|
||||||
|
@override
|
||||||
|
Color get settingsItem2ActiveSub => const Color(0xFF9E9E9E);
|
||||||
|
|
||||||
|
// radio buttons
|
||||||
|
@override
|
||||||
|
Color get radioButtonIconBorder => const Color(0xFF4C86E9);
|
||||||
|
@override
|
||||||
|
Color get radioButtonIconBorderDisabled => const Color(0xFF9E9E9E);
|
||||||
|
@override
|
||||||
|
Color get radioButtonBorderEnabled => const Color(0xFF4C86E9);
|
||||||
|
@override
|
||||||
|
Color get radioButtonBorderDisabled => const Color(0xFFCDCDCD);
|
||||||
|
@override
|
||||||
|
Color get radioButtonIconCircle => const Color(0xFF9E9E9E);
|
||||||
|
@override
|
||||||
|
Color get radioButtonIconEnabled => const Color(0xFF4C86E9);
|
||||||
|
@override
|
||||||
|
Color get radioButtonTextEnabled => const Color(0xFF44464E);
|
||||||
|
@override
|
||||||
|
Color get radioButtonTextDisabled => const Color(0xFF44464E);
|
||||||
|
@override
|
||||||
|
Color get radioButtonLabelEnabled => const Color(0xFF8E9192);
|
||||||
|
@override
|
||||||
|
Color get radioButtonLabelDisabled => const Color(0xFF8E9192);
|
||||||
|
|
||||||
|
// info text
|
||||||
|
@override
|
||||||
|
Color get infoItemBG => const Color(0xFF333942);
|
||||||
|
@override
|
||||||
|
Color get infoItemLabel => const Color(0xFF9E9E9E);
|
||||||
|
@override
|
||||||
|
Color get infoItemText => const Color(0xFFFFFFFF);
|
||||||
|
@override
|
||||||
|
Color get infoItemIcons => const Color(0xFF4C86E9);
|
||||||
|
|
||||||
|
// popup
|
||||||
|
@override
|
||||||
|
Color get popupBG => const Color(0xFF333942);
|
||||||
|
|
||||||
|
// currency list
|
||||||
|
@override
|
||||||
|
Color get currencyListItemBG => const Color(0xFF484B51);
|
||||||
|
|
||||||
|
// bottom nav
|
||||||
|
@override
|
||||||
|
Color get stackWalletBG => const Color(0xFF35383D);
|
||||||
|
@override
|
||||||
|
Color get stackWalletMid => const Color(0xFF292D34);
|
||||||
|
@override
|
||||||
|
Color get stackWalletBottom => const Color(0xFFFFFFFF);
|
||||||
|
@override
|
||||||
|
Color get bottomNavShadow => const Color(0xFF282E33);
|
||||||
|
|
||||||
|
@override
|
||||||
|
Color get favoriteStarActive => accentColorYellow;
|
||||||
|
@override
|
||||||
|
Color get favoriteStarInactive => textSubtitle2;
|
||||||
|
|
||||||
|
@override
|
||||||
|
Color get splash => const Color(0x358E9192);
|
||||||
|
@override
|
||||||
|
Color get highlight => const Color(0x44A9ACAC);
|
||||||
|
@override
|
||||||
|
Color get warningForeground => snackBarTextError;
|
||||||
|
@override
|
||||||
|
Color get warningBackground => const Color(0xFFFFB4A9);
|
||||||
|
@override
|
||||||
|
Color get loadingOverlayTextColor => const Color(0xFFF7F7F7);
|
||||||
|
@override
|
||||||
|
Color get myStackContactIconBG => const Color(0x88747778);
|
||||||
|
@override
|
||||||
|
Color get textConfirmTotalAmount => const Color(0xFF003921);
|
||||||
|
@override
|
||||||
|
Color get textSelectedWordTableItem => const Color(0xFF00297A);
|
||||||
|
}
|
|
@ -337,6 +337,7 @@ flutter:
|
||||||
- assets/svg/dark-theme.svg
|
- assets/svg/dark-theme.svg
|
||||||
- assets/svg/light-mode.svg
|
- assets/svg/light-mode.svg
|
||||||
- assets/svg/ocean-breeze-theme.svg
|
- assets/svg/ocean-breeze-theme.svg
|
||||||
|
- assets/svg/oled-black-theme.svg
|
||||||
|
|
||||||
# light theme specific
|
# light theme specific
|
||||||
- assets/svg/light/tx-exchange-icon.svg
|
- assets/svg/light/tx-exchange-icon.svg
|
||||||
|
|
Loading…
Reference in a new issue