We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
For example: DetailText(equity, style: Config.current.detailTextStyle.with(color: .platinum))
DetailText(equity, style: Config.current.detailTextStyle.with(color: .platinum))
It would be nice to find a way to write something like: DetailText(equity, style: .color(.platinum))
DetailText(equity, style: .color(.platinum))
Where the default behaviour is to use Config.current plus the corresponding style, and we only specify what's different; in this case just the color.
Config.current
The text was updated successfully, but these errors were encountered:
There's a convenience initializer in NiceText to do this so you just have to specify: DetailText(equity, color: .platinum)
DetailText(equity, color: .platinum)
https://github.com/steamclock/nice_components/blob/96b0862a43ee54bc5327a6d87323f177690583b3/Sources/NiceComponents/Text/NiceText.swift#L41
Sorry, something went wrong.
sakuraehikaru
No branches or pull requests
For example:
DetailText(equity, style: Config.current.detailTextStyle.with(color: .platinum))
It would be nice to find a way to write something like:
DetailText(equity, style: .color(.platinum))
Where the default behaviour is to use
Config.current
plus the corresponding style, and we only specify what's different; in this case just the color.The text was updated successfully, but these errors were encountered: