-
Notifications
You must be signed in to change notification settings - Fork 11
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
Conversation
There was a problem hiding this 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 { |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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 👍
Checked it and I think it looks good :) |
[APP-XXX]
Checklist