← All repositories

crossmate

A collaborative crossword app for iPhone and iPad

git clone https://code.inqk.net/crossmate.git


commit 8257d1666f32689c3273cf83c159a6ea4fa40b30
parent 6457dbc7d283b0630696eb8ba6457356518ad728
Author: Michael Camilleri <[email protected]>
Date:   Thu, 21 May 2026 12:24:19 +0900

Tweak colour tints

Diffstat

MCrossmate/Models/PlayerColor.swift | 5++---

1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/Crossmate/Models/PlayerColor.swift b/Crossmate/Models/PlayerColor.swift

@@ -16,10 +16,10 @@ struct PlayerColor: Sendable, Identifiable, Hashable {
     let hue: Double
 
     /// Opacity used when this player's cell is the active selection.
-    var selectedOpacity: Double { 0.55 }
+    var selectedOpacity: Double { 0.70 }
 
     /// Opacity used for the rest of this player's active word.
-    var highlightedOpacity: Double { 0.18 }
+    var highlightedOpacity: Double { 0.40 }
 
     /// Fill for UI tied to this player's active selection (the selected cell).
     var selectionFill: Color { tint.opacity(selectedOpacity) }
@@ -116,4 +116,3 @@ extension PlayerColor {
         return palette[base]
     }
 }
-