iOS client for Grain grain.social
ios photography atproto
7
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix: improve accent color contrast and unify icon styling

Darken light mode accent color and add brighter dark mode variant for
better outdoor readability. Revert per-button .tint(.primary) overrides
in create sheets — let buttons use accent as iOS intends. Match recent
search avatar dismiss button to story create plus button styling.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

+31 -9
+28 -4
Grain/Assets.xcassets/AccentColor.colorset/Contents.json
··· 4 4 "color" : { 5 5 "color-space" : "srgb", 6 6 "components" : { 7 - "red" : "0.290", 8 - "green" : "0.365", 9 - "blue" : "0.976", 7 + "red" : "0.180", 8 + "green" : "0.230", 9 + "blue" : "0.780", 10 10 "alpha" : "1.000" 11 11 } 12 12 }, 13 - "idiom" : "universal" 13 + "idiom" : "universal", 14 + "appearances" : [ 15 + { 16 + "appearance" : "luminosity", 17 + "value" : "light" 18 + } 19 + ] 20 + }, 21 + { 22 + "color" : { 23 + "color-space" : "srgb", 24 + "components" : { 25 + "red" : "0.420", 26 + "green" : "0.480", 27 + "blue" : "1.000", 28 + "alpha" : "1.000" 29 + } 30 + }, 31 + "idiom" : "universal", 32 + "appearances" : [ 33 + { 34 + "appearance" : "luminosity", 35 + "value" : "dark" 36 + } 37 + ] 14 38 } 15 39 ], 16 40 "info" : {
+3 -5
Grain/Views/Search/SearchView.swift
··· 146 146 Button { 147 147 recentSearches.removeProfile(profile.did) 148 148 } label: { 149 - Image(systemName: "xmark") 150 - .font(.system(size: 8, weight: .bold)) 151 - .foregroundStyle(.primary) 152 - .frame(width: 18, height: 18) 153 - .background(.thickMaterial, in: .circle) 149 + Image(systemName: "xmark.circle.fill") 150 + .font(.system(size: 18)) 151 + .foregroundStyle(.white, Color("AccentColor")) 154 152 } 155 153 } 156 154