Merge pull request #462 from cypherstack/ui-fixes

color fixes
This commit is contained in:
julian-CStack 2023-04-05 16:47:43 -06:00 committed by GitHub
commit 32c7aa1d91
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 12 additions and 7 deletions

View file

@ -0,0 +1,5 @@
<svg width="70" height="70" viewBox="0 0 70 70" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M41.3715 9.57675C37.2965 7.22564 32.2041 10.1695 32.2041 14.8717C32.2041 19.5739 34.4762 23.6489 38.2004 26.163L53.9717 35.3057L54.0112 35.2908L69.9948 26.0543L41.3715 9.57675Z" fill="#B3B3B3"/>
<path d="M38.2014 26.163C34.4771 23.6489 32.205 19.4159 32.205 14.8717C32.205 12.6342 33.3757 10.7671 35.0402 9.7101C34.9612 9.75455 35.1192 9.66564 35.0402 9.7101L10.0917 23.7279L6.08593 26.1481L3.35449 27.7188C5.07337 26.8446 7.22692 26.7754 9.14831 27.8917L16.0189 31.8037L22.0399 35.2859L38.0236 44.5076L53.9677 35.2958L38.1964 26.1531L38.2014 26.163Z" fill="#666666"/>
<path d="M70 44.5187L38.0278 62.9917L31.992 59.5095L31.9673 59.4848L6.06054 44.5187C4.28733 43.3629 2.84505 41.7872 1.82755 40.014C0.642111 37.9691 0 35.618 0 33.1829C0 30.9899 1.10147 29.1771 2.70181 28.1004C2.91914 27.967 3.13153 27.8435 3.35874 27.725C5.07762 26.8507 7.23116 26.7816 9.15256 27.8979L15.9836 31.8394L22.0047 35.3068L22.0442 35.292L38.0278 44.5137L53.9719 35.3019L70 44.5137V44.5187Z" fill="#232323"/>
</svg>

After

Width:  |  Height:  |  Size: 1.1 KiB

View file

@ -39,7 +39,7 @@ extension ThemeTypeExt on ThemeType {
case "oledBlack": case "oledBlack":
return ThemeType.oledBlack; return ThemeType.oledBlack;
case "orange": case "orange":
return ThemeType.oledBlack; return ThemeType.orange;
case "fruitSorbet": case "fruitSorbet":
return ThemeType.fruitSorbet; return ThemeType.fruitSorbet;
case "forest": case "forest":

View file

@ -177,7 +177,7 @@ class ForestColors extends StackColorTheme {
@override @override
Color get bottomNavIconBack => const Color(0xFFA7C7CF); Color get bottomNavIconBack => const Color(0xFFA7C7CF);
@override @override
Color get bottomNavIconIcon => const Color(0xFF227386); Color get bottomNavIconIcon => const Color(0xFF22867A);
@override @override
Color get topNavIconPrimary => const Color(0xFF227386); Color get topNavIconPrimary => const Color(0xFF227386);

View file

@ -83,7 +83,7 @@ class OrangeColors extends StackColorTheme {
@override @override
Color get numpadBackDefault => const Color(0xFFF36B43); Color get numpadBackDefault => const Color(0xFFF36B43);
@override @override
Color get bottomNavBack => const Color(0xFFFFFFFF); Color get bottomNavBack => const Color(0xFFF36B43);
// button text/element // button text/element
@override @override

View file

@ -12,7 +12,7 @@ class ReceiveNavIcon extends StatelessWidget {
decoration: BoxDecoration( decoration: BoxDecoration(
color: Theme.of(context) color: Theme.of(context)
.extension<StackColors>()! .extension<StackColors>()!
.accentColorDark .bottomNavIconIcon
.withOpacity(0.4), .withOpacity(0.4),
borderRadius: BorderRadius.circular( borderRadius: BorderRadius.circular(
24, 24,
@ -24,7 +24,7 @@ class ReceiveNavIcon extends StatelessWidget {
Assets.svg.arrowDownLeft, Assets.svg.arrowDownLeft,
width: 12, width: 12,
height: 12, height: 12,
color: Theme.of(context).extension<StackColors>()!.accentColorDark, color: Theme.of(context).extension<StackColors>()!.bottomNavIconIcon,
), ),
), ),
); );

View file

@ -12,7 +12,7 @@ class SendNavIcon extends StatelessWidget {
decoration: BoxDecoration( decoration: BoxDecoration(
color: Theme.of(context) color: Theme.of(context)
.extension<StackColors>()! .extension<StackColors>()!
.accentColorDark .bottomNavIconIcon
.withOpacity(0.4), .withOpacity(0.4),
borderRadius: BorderRadius.circular( borderRadius: BorderRadius.circular(
24, 24,
@ -24,7 +24,7 @@ class SendNavIcon extends StatelessWidget {
Assets.svg.arrowUpRight, Assets.svg.arrowUpRight,
width: 12, width: 12,
height: 12, height: 12,
color: Theme.of(context).extension<StackColors>()!.accentColorDark, color: Theme.of(context).extension<StackColors>()!.bottomNavIconIcon,
), ),
), ),
); );