Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fx background field color and refactor environment variables #1572

Merged
merged 5 commits into from
Oct 18, 2024

Conversation

juliaendre
Copy link
Contributor

[APP-XXX]

  • Change 1
  • Change 2

Checklist

  • Dark/light mode verification
  • Landscape verification
  • iPad verification
  • iPod/iPhone 12 mini/iPhone SE verification

@juliaendre juliaendre requested a review from a team as a code owner October 16, 2024 14:11
Copy link
Contributor

@sladan-hedvig sladan-hedvig left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just make sure it works both on dark/light theme 😅

@@ -311,37 +311,27 @@ struct hFloatingTextField_Previews: PreviewProvider {
}
}

private struct EnvironmentHWithoutDisabledColor: EnvironmentKey {
static let defaultValue = false
public enum BackgroundColorType {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Really good idea to handle them like this, but naming maybe needs to be updated like
BackgroundOption or something similar

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah that sounds good! Updated it 👍

@juliaendre
Copy link
Contributor Author

Just make sure it works both on dark/light theme 😅

Checked it and I think it looks good :)

@juliaendre juliaendre merged commit 85614b6 into main Oct 18, 2024
3 checks passed
@juliaendre juliaendre deleted the fix/tier/field-color branch October 18, 2024 09:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants