Bläddra i källkod

Adjust premium plans typography to standard app sizing.

Reduce oversized bold text across the header and plan cards to improve visual balance and match typical app font proportions.

Co-authored-by: Cursor <cursoragent@cursor.com>
AhtashamShahzad1 2 månader sedan
förälder
incheckning
95b46c3cd4
1 ändrade filer med 8 tillägg och 8 borttagningar
  1. 8 8
      App for Indeed/Controllers/PremiumPlansWindowController.swift

+ 8 - 8
App for Indeed/Controllers/PremiumPlansWindowController.swift

@@ -161,12 +161,12 @@ private final class PremiumPlansViewController: NSViewController {
         crownIcon.contentTintColor = NSColor(srgbRed: 254 / 255, green: 214 / 255, blue: 92 / 255, alpha: 1)
 
         let title = NSTextField(labelWithString: "Upgrade to Pro")
-        title.font = .systemFont(ofSize: 52, weight: .bold)
+        title.font = .systemFont(ofSize: 40, weight: .semibold)
         title.textColor = Theme.primaryText
         title.alignment = .center
 
         let subtitle = NSTextField(labelWithString: "Unlock unlimited access to premium tools and boost your productivity.")
-        subtitle.font = .systemFont(ofSize: 15, weight: .medium)
+        subtitle.font = .systemFont(ofSize: 14, weight: .regular)
         subtitle.textColor = Theme.secondaryText
         subtitle.alignment = .center
 
@@ -234,12 +234,12 @@ private final class PremiumPlansViewController: NSViewController {
         ])
 
         let titleLabel = NSTextField(labelWithString: plan.title)
-        titleLabel.font = .systemFont(ofSize: 44, weight: .bold)
+        titleLabel.font = .systemFont(ofSize: 20, weight: .semibold)
         titleLabel.textColor = Theme.primaryText
         titleLabel.alignment = .center
 
         let subtitleLabel = NSTextField(labelWithString: plan.subtitle)
-        subtitleLabel.font = .systemFont(ofSize: 13, weight: .medium)
+        subtitleLabel.font = .systemFont(ofSize: 12, weight: .regular)
         subtitleLabel.textColor = Theme.secondaryText
         subtitleLabel.alignment = .center
 
@@ -247,11 +247,11 @@ private final class PremiumPlansViewController: NSViewController {
         billingPill.isHidden = plan.billedPill.isEmpty
 
         let priceLabel = NSTextField(labelWithString: plan.price)
-        priceLabel.font = .systemFont(ofSize: 40, weight: .bold)
+        priceLabel.font = .systemFont(ofSize: 18, weight: .semibold)
         priceLabel.textColor = Theme.primaryText
 
         let periodLabel = NSTextField(labelWithString: plan.period)
-        periodLabel.font = .systemFont(ofSize: 30, weight: .semibold)
+        periodLabel.font = .systemFont(ofSize: 13, weight: .medium)
         periodLabel.textColor = Theme.secondaryText
 
         let priceRow = NSStackView(views: [priceLabel, periodLabel])
@@ -281,7 +281,7 @@ private final class PremiumPlansViewController: NSViewController {
         selectButton.identifier = NSUserInterfaceItemIdentifier(plan.id)
         selectButton.isBordered = false
         selectButton.bezelStyle = .rounded
-        selectButton.font = .systemFont(ofSize: 15, weight: .bold)
+        selectButton.font = .systemFont(ofSize: 14, weight: .semibold)
         selectButton.contentTintColor = plan.highlight ? .white : Theme.primaryText
         selectButton.wantsLayer = true
         selectButton.layer?.cornerRadius = 12
@@ -324,7 +324,7 @@ private final class PremiumPlansViewController: NSViewController {
         icon.widthAnchor.constraint(equalToConstant: 14).isActive = true
 
         let label = NSTextField(labelWithString: text)
-        label.font = .systemFont(ofSize: 16, weight: .semibold)
+        label.font = .systemFont(ofSize: 14, weight: .medium)
         label.textColor = Theme.primaryText
 
         let row = NSStackView(views: [icon, label])