dmarman.github.io icon indicating copy to clipboard operation
dmarman.github.io copied to clipboard

use DEFAULT theme key

Open huphtur opened this issue 5 years ago • 2 comments
trafficstars

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 avatar Nov 19 '20 18:11 huphtur

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

huphtur avatar Nov 19 '20 18:11 huphtur

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

marcorieser avatar Sep 22 '21 05:09 marcorieser