[Feature Proposal] - Mono gray palette #1719
Replies: 5 comments 7 replies
-
I think the naming like Material design is more descriptive. So, the current gray color should be named |
Beta Was this translation helpful? Give feedback.
-
I also found this surprising. Out-of-the-box, the thing called gray is pretty far from pure gray. You can purchase an add-on which has something closer to pure gray in the box, but still not. My naive expectation of a utility CSS kit was to contain a broad variety of useful colors, including the most boring and obvious of all, shades of un-tinted gray. I'm sure it will turn out to be straightforward to add such a color set in the configuration, so this will be a minor speedbump. |
Beta Was this translation helpful? Give feedback.
-
I couldn't wait for this feature to be implemented by default, so I added it as an extend to my config file. The colors in my palette below are identical to my screenshot in my initial post above. I call it module.exports = {
theme: {
extend: {
colors: {
'mono-50': '#fbfbfb',
'mono-100': '#f7f7f7',
'mono-200': '#ebebeb',
'mono-300': '#dcdcdc',
'mono-400': '#b2b2b2',
'mono-500': '#808080',
'mono-600': '#636363',
'mono-700': '#515151',
'mono-800': '#3f3f3f',
'mono-900': '#2e2e2e',
}
},
},
}; |
Beta Was this translation helpful? Give feedback.
-
In TailwindCSS 2.0 there'll be a new color pallette with 5 different types of gray. There'll be
Have a look at the actual values here: https://github.com/tailwindlabs/tailwindcss/blob/master/colors.js |
Beta Was this translation helpful? Give feedback.
-
@simonswiss I want to use I have Tailwind Intellisense installed but it gives suggestions for only 1 gray so I think it only supports Tailwind 1.0 & not 2.0 Edit: Just added Although I do think it needs to be mentioned somewhere that you need to add it to the config 👍 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I've looked at the colors in https://tailwindui.com/documentation#how-tailwindcss-ui-extends-tailwind and they look great. I'm looking forward to see them in a future version of Tailwind.
There are two gray palettes but no "real" gray.
I added a mono palette into the mix
I've removed the blue from the new default palette as a new "Mono gray".
Because it's completely gray, it will fit well with every other color in the other palettes.
Suggested name
For example
bg-mono-500
andtext-mono-500
sounds good to me. The namemono
is short and descriptive.What do you think? Would it be a good native feature or is it better to let the user create it as a custom config?
Beta Was this translation helpful? Give feedback.
All reactions