Fix small widget layout and settings light mode contrast

- Remove prompt text from small widget before voting
- Show date instead of "Logged!" after voting on small widget
- Fix light mode settings: section=gray, inner rows=white for contrast
- Remove redundant backgrounds from Browse Themes and subscription banner

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Trey t
2025-12-31 13:39:25 -06:00
parent e78e848951
commit 37fdb4db29
3 changed files with 13 additions and 28 deletions

View File

@@ -54,8 +54,6 @@ struct CustomizeContentView: View {
.foregroundColor(.secondary)
}
.padding(12)
.background(colorScheme == .dark ? Color(.systemGray6) : .white)
.clipShape(RoundedRectangle(cornerRadius: 16))
}
.buttonStyle(.plain)
}
@@ -231,7 +229,7 @@ struct SettingsSection<Content: View>: View {
.padding(16)
.background(
RoundedRectangle(cornerRadius: 16)
.fill(colorScheme == .dark ? Color(.systemGray6) : .white)
.fill(Color(.systemGray6))
)
}
}
@@ -339,7 +337,7 @@ struct ImagePackPickerCompact: View {
RoundedRectangle(cornerRadius: 12)
.fill(imagePack == images
? Color.accentColor.opacity(0.08)
: (colorScheme == .dark ? Color(.systemGray5) : Color(.systemGray6)))
: (colorScheme == .dark ? Color(.systemGray5) : .white))
)
}
.buttonStyle(.plain)
@@ -387,7 +385,7 @@ struct VotingLayoutPickerCompact: View {
RoundedRectangle(cornerRadius: 12)
.fill(currentLayout == layout
? Color.accentColor.opacity(0.1)
: (colorScheme == .dark ? Color(.systemGray5) : Color(.systemGray6)))
: (colorScheme == .dark ? Color(.systemGray5) : .white))
)
}
.buttonStyle(.plain)
@@ -607,7 +605,7 @@ struct PersonalityPackPickerCompact: View {
RoundedRectangle(cornerRadius: 12)
.fill(personalityPack == aPack
? Color.accentColor.opacity(0.08)
: (colorScheme == .dark ? Color(.systemGray5) : Color(.systemGray6)))
: (colorScheme == .dark ? Color(.systemGray5) : .white))
)
}
.buttonStyle(.plain)
@@ -667,7 +665,7 @@ struct DayFilterPickerCompact: View {
.frame(height: 40)
.background(
RoundedRectangle(cornerRadius: 10)
.fill(isActive ? Color.accentColor : (colorScheme == .dark ? Color(.systemGray5) : Color(.systemGray6)))
.fill(isActive ? Color.accentColor : (colorScheme == .dark ? Color(.systemGray5) : .white))
)
}
.buttonStyle(.plain)
@@ -725,10 +723,6 @@ struct SubscriptionBannerView: View {
.background(Capsule().fill(Color.green.opacity(0.15)))
}
.padding(16)
.background(
RoundedRectangle(cornerRadius: 16)
.fill(colorScheme == .dark ? Color(.systemGray6) : .white)
)
}
private var notSubscribedView: some View {
@@ -821,7 +815,7 @@ struct DayViewStylePickerCompact: View {
RoundedRectangle(cornerRadius: 12)
.fill(dayViewStyle == style
? Color.accentColor.opacity(0.1)
: (colorScheme == .dark ? Color(.systemGray5) : Color(.systemGray6)))
: (colorScheme == .dark ? Color(.systemGray5) : .white))
)
}
.buttonStyle(.plain)