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

Implement auto color scale logic #256

Open
designmatty opened this issue Mar 20, 2020 · 0 comments
Open

Implement auto color scale logic #256

designmatty opened this issue Mar 20, 2020 · 0 comments
Labels
enhancement ✨ New feature or request

Comments

@designmatty
Copy link
Contributor

In the base theme create an object named something like colorScale.
Any key: value in here will automatically create a color system based on the passed value.

ie:

colorScale: {
    red: '#f00'
}

would output:

colors: {
   red100: ...
   red200: ...
   red300: ...
   red400: ...
   red500: #f00
   ....
}
@designmatty designmatty added the enhancement ✨ New feature or request label Mar 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement ✨ New feature or request
Development

No branches or pull requests

1 participant