Bladeren bron

Darken borders on the grammar checker card, text editor, and toolbar so they read clearly against the background.

Co-authored-by: Cursor <cursoragent@cursor.com>
AhtashamShahzad1 1 maand geleden
bovenliggende
commit
efa564a586
2 gewijzigde bestanden met toevoegingen van 6 en 2 verwijderingen
  1. 2 2
      gramora/Utilities/AppTheme.swift
  2. 4 0
      gramora/Views/GrammarCheckerView.swift

+ 2 - 2
gramora/Utilities/AppTheme.swift

@@ -19,8 +19,8 @@ enum AppTheme {
     static let textPrimary = Color(red: 0.10, green: 0.14, blue: 0.22)
     static let textSecondary = Color(red: 0.45, green: 0.50, blue: 0.56)
     static let textMuted = Color(red: 0.62, green: 0.66, blue: 0.70)
-    static let border = Color(red: 0.90, green: 0.92, blue: 0.94)
-    static let inputBorder = Color(red: 0.88, green: 0.90, blue: 0.93)
+    static let border = Color(red: 0.78, green: 0.82, blue: 0.87)
+    static let inputBorder = border
 
     static let teal = Color(red: 0.0, green: 0.651, blue: 0.494)
     static let tealLight = Color(red: 0.90, green: 0.97, blue: 0.94)

+ 4 - 0
gramora/Views/GrammarCheckerView.swift

@@ -129,6 +129,10 @@ struct GrammarCheckerView: View {
         .padding(22)
         .background(AppTheme.cardBackground)
         .clipShape(RoundedRectangle(cornerRadius: AppTheme.cardCornerRadius))
+        .overlay(
+            RoundedRectangle(cornerRadius: AppTheme.cardCornerRadius)
+                .stroke(AppTheme.border, lineWidth: 1)
+        )
         .shadow(color: AppTheme.cardShadow, radius: 16, y: 6)
     }
 }