Skip to content
This repository has been archived by the owner on Mar 14, 2021. It is now read-only.

Support color aliases from theme #23

Closed
okonet opened this issue Feb 18, 2021 · 2 comments
Closed

Support color aliases from theme #23

okonet opened this issue Feb 18, 2021 · 2 comments

Comments

@okonet
Copy link
Member

okonet commented Feb 18, 2021

Currently if a theme has an alias to other part of theme (text: "gray.9") it will fail in runtime. We need to resolve colors from the theme.

@okonet
Copy link
Member Author

okonet commented Feb 18, 2021

Hmm, after looking at the source code of both styled-system and theme-ui I'm not sure it's actually supported to have aliases in the colors like this.

@okonet
Copy link
Member Author

okonet commented Feb 19, 2021

Closing since theme values referencing isn't supported currently.

@okonet okonet closed this as completed Feb 19, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant