💄 Update the stellar program colors
This commit is contained in:
@@ -432,7 +432,7 @@ class LevelingScreen extends HookConsumerWidget {
|
|||||||
'id': 'solian.stellar.nova',
|
'id': 'solian.stellar.nova',
|
||||||
'name': 'membershipTierNova'.tr(),
|
'name': 'membershipTierNova'.tr(),
|
||||||
'price': 'membershipPriceNova'.tr(),
|
'price': 'membershipPriceNova'.tr(),
|
||||||
'color': Colors.indigo,
|
'color': Color.fromRGBO(57, 197, 187, 1),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
'id': 'solian.stellar.supernova',
|
'id': 'solian.stellar.supernova',
|
||||||
|
@@ -94,7 +94,7 @@ class AccountSettingsScreen extends HookConsumerWidget {
|
|||||||
final userInfo = ref.read(userInfoProvider);
|
final userInfo = ref.read(userInfoProvider);
|
||||||
final client = ref.read(apiClientProvider);
|
final client = ref.read(apiClientProvider);
|
||||||
await client.post(
|
await client.post(
|
||||||
'/accounts/recovery/password',
|
'/id/accounts/recovery/password',
|
||||||
data: {'account': userInfo.value!.name, 'captcha_token': captchaTk},
|
data: {'account': userInfo.value!.name, 'captcha_token': captchaTk},
|
||||||
);
|
);
|
||||||
if (context.mounted) {
|
if (context.mounted) {
|
||||||
|
@@ -26,7 +26,7 @@ class AccountName extends StatelessWidget {
|
|||||||
nameStyle = nameStyle.copyWith(
|
nameStyle = nameStyle.copyWith(
|
||||||
color: (switch (account.perkSubscription!.identifier) {
|
color: (switch (account.perkSubscription!.identifier) {
|
||||||
'solian.stellar.primary' => Colors.blueAccent,
|
'solian.stellar.primary' => Colors.blueAccent,
|
||||||
'solian.stellar.nova' => Colors.indigoAccent,
|
'solian.stellar.nova' => Color.fromRGBO(57, 197, 187, 1),
|
||||||
'solian.stellar.supernova' => Colors.amberAccent,
|
'solian.stellar.supernova' => Colors.amberAccent,
|
||||||
_ => null,
|
_ => null,
|
||||||
}),
|
}),
|
||||||
@@ -101,7 +101,7 @@ class StellarMembershipMark extends StatelessWidget {
|
|||||||
case 'solian.stellar.primary':
|
case 'solian.stellar.primary':
|
||||||
return Colors.blue;
|
return Colors.blue;
|
||||||
case 'solian.stellar.nova':
|
case 'solian.stellar.nova':
|
||||||
return Colors.indigo;
|
return Color.fromRGBO(57, 197, 187, 1);
|
||||||
case 'solian.stellar.supernova':
|
case 'solian.stellar.supernova':
|
||||||
return Colors.amber;
|
return Colors.amber;
|
||||||
default:
|
default:
|
||||||
@@ -115,7 +115,7 @@ class StellarMembershipMark extends StatelessWidget {
|
|||||||
|
|
||||||
final tierName = _getMembershipTierName(membership.identifier);
|
final tierName = _getMembershipTierName(membership.identifier);
|
||||||
final tierColor = _getMembershipTierColor(membership.identifier);
|
final tierColor = _getMembershipTierColor(membership.identifier);
|
||||||
final tierIcon = Symbols.award_star;
|
final tierIcon = Symbols.kid_star;
|
||||||
|
|
||||||
return Tooltip(
|
return Tooltip(
|
||||||
richMessage: TextSpan(
|
richMessage: TextSpan(
|
||||||
|
Reference in New Issue
Block a user