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

use DEFAULT theme key #8

Open
huphtur opened this issue Nov 19, 2020 · 2 comments
Open

use DEFAULT theme key #8

huphtur opened this issue Nov 19, 2020 · 2 comments

Comments

@huphtur
Copy link

huphtur commented Nov 19, 2020

TW 2.0 now uses a DEFAULT theme key. Be great to have that inserted into the color string.

For example: #bb5a27 would produce:

darkorange: {
  50: '#faf6ee',
  100: '#fbefd7',
  200: '#f8e0aa',
  300: '#f5c76a',
  400: '#f2a12e',
  500: '#f07a14',
  600: '#e3550d',
  DEFAULT: '#bb5a27',
  700: '#c13f11',
  800: '#9a3217',
  900: '#7c2917',
},
@huphtur
Copy link
Author

huphtur commented Nov 19, 2020

(And yes, that's really a brand color I'm working with for a client 🤦‍♂️)

@marcorieser
Copy link

I'm not sure if DEFAULT should be the same color as shade 500 or its own color.

Repository owner deleted a comment from DKudleichuk Feb 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants