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
In React we could use components props and context to create dynamic styles
const Text = styled.div` color: ${props => props.color} `
In Forest we can do something with stores. Simple use case - theming
const Text = styled.div` color: ${theme.map(theme => theme.colors.primary)} `
Now it sets color to [object Object]
[object Object]
The text was updated successfully, but these errors were encountered:
Can be implemented with css-vars:
const Text = styled.div` color: var(--text-var-theme-juas98h); `
Sorry, something went wrong.
No branches or pull requests
In React we could use components props and context to create dynamic styles
In Forest we can do something with stores. Simple use case - theming
Now it sets color to
[object Object]
The text was updated successfully, but these errors were encountered: