style(subscription): polish plan card styles

This commit is contained in:
2026-06-18 19:42:00 +08:00
parent 52aad5b7f3
commit cf435e8fbb
3 changed files with 10 additions and 9 deletions
@@ -7,8 +7,9 @@
padding: var(--spacing-sm) var(--spacing-xs) 0; padding: var(--spacing-sm) var(--spacing-xs) 0;
background: #ffffff; background: #ffffff;
border: 1px solid transparent; border: 1px solid transparent;
border-radius: 13px; border-radius: 20px;
border-style: solid; border-style: solid;
box-shadow: 0 5px 7px 0 rgba(247, 89, 168, 0.1);
cursor: pointer; cursor: pointer;
text-align: center; text-align: center;
overflow: hidden; overflow: hidden;
@@ -31,11 +32,7 @@
.selected { .selected {
border-color: #f657a0; border-color: #f657a0;
border-width: 3px; border-width: 3px;
box-shadow: 0 3px 5px rgba(247, 89, 168, 0.1); border-radius: 20px;
}
.firstSelected {
padding-top: 24px;
} }
.name { .name {
@@ -81,7 +78,7 @@
align-self: stretch; align-self: stretch;
margin: auto calc(-1 * var(--spacing-xs)) 0; margin: auto calc(-1 * var(--spacing-xs)) 0;
padding: 6px 0; padding: 6px 0;
border-radius: 0 0 13px 13px; border-radius: 0;
color: #ffffff; color: #ffffff;
font-size: var(--font-size-md); font-size: var(--font-size-md);
font-weight: 600; font-weight: 600;
@@ -64,6 +64,10 @@
padding: 0 var(--spacing-xs); padding: 0 var(--spacing-xs);
} }
.agreementLabel {
font-size: 17px;
}
.agreementLink { .agreementLink {
color: var(--color-auth-text-primary); color: var(--color-auth-text-primary);
font-weight: 700; font-weight: 700;
+2 -2
View File
@@ -192,7 +192,7 @@ export function SubscriptionScreen() {
}) })
} }
label={ label={
<> <span className={styles.agreementLabel}>
I agree to the{" "} I agree to the{" "}
<a <a
href={AppConstants.privacyPolicyUrl} href={AppConstants.privacyPolicyUrl}
@@ -211,7 +211,7 @@ export function SubscriptionScreen() {
> >
Automatic renewal Agreement Automatic renewal Agreement
</a> </a>
</> </span>
} }
/> />
</div> </div>