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

CSS Custom Property Attributes. #15

Open
Lattyware opened this issue May 24, 2022 · 0 comments
Open

CSS Custom Property Attributes. #15

Lattyware opened this issue May 24, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@Lattyware
Copy link
Owner

FontAwesome is configurable through CSS Custom Properties.

Unfortunately, Elm currently doesn't have good support for setting them right now, see this upstream issue.

You can, for now, work around by using something like:
HtmlA.attribute "style" "--fa-primary-opacity: 0.5"

As this isn't composable (one value will overwrite the next), there are no convenience functions to do this, you'll need to do it manually.

Once this is fixed upstream, we can implement nice helper functions as with other stuff.

@Lattyware Lattyware added the enhancement New feature or request label May 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant