Open in3rsha opened 3 years ago
http://tachyons.io/docs/themes/skins/ These are combinations that are regarded as accessible. There is nothing preventing you from modifying the color palet or adding your own. https://github.com/tachyons-css/tachyons-colors/blob/master/src/tachyons-colors.css
Do you know where they originated from or how they were chosen?
https://tachyons.io/docs/themes/skins/
There's a note
Tachyons comes with a collection of classes for setting the color of text and the color of the background. Listed below are the a11y friendly combinations that are available.
I must admit, that the colors listed as 'Accessible Combinations' are not all represented by Tachyons, such as the yellow #FFFF00
, which is misleading.
related:
tachyons-css/tachyons-css.github.io#193
See also http://clrs.cc/ by murmurs
not necessary related to tachyons,
@in3rsha have a look over material design theme.
as a golden rule: the less colors you have, the better :D
@orionrush @cmnstmntmn Thank you.
@in3rsha I have made my version of tachyons for some reason, here is some colors built, what do think about these? The class format are: (.x.sk) tx/bg/bd/txc[h/f]-colorname[i] (.x.sk) tx/bg/bd/txc[h/f]b/w[i]
.x.sk#{$namespace} {
&.tx-#{$class}#{$index},
&.txh-#{$class}#{$index}:hover,
&.txf-#{$class}#{$index}:focus {
color: $pick;
}
&.bg-#{$class}#{$index},
&.bgh-#{$class}#{$index}:hover,
&.bgf-#{$class}#{$index}:focus {
background-color: $pick;
}
&.bd-#{$class}#{$index},
&.bdh-#{$class}#{$index}:hover,
&.bdf-#{$class}#{$index}:focus {
border-color: $pick;
}
@if(config.$skinEnableContrast) {
&.txc-#{$class}#{$index},
&.txch-#{$class}#{$index}:hover,
&.txcf-#{$class}#{$index}:focus {
color: text-color($pick);
}
}
}
Successfully built(main): https://coolors.co/2f0292-4404cf-7233fa-a485e7-c3b4e4 Successfully built(minor): https://coolors.co/926102-cf8a04-fab633-e7c585-e4d3b4 Successfully built(slate): https://coolors.co/6e798e-9199aa-b0b6c2-c8ccd4-d5d7dd-d9dbe0-e0e2e7-e9ebee-f2f3f5-f8f9fa Successfully built(gunmetal): https://coolors.co/263238-37474f-455a64-546e7a-607d8b-78909c-90a4ae-b0bec5-cfd8dc-eceff1 Successfully built(raisin): https://coolors.co/181c24-1f232c-252932-2a2e37-2e3138-41454e-5b606b-797f8c-989eab-b5bbc6 Successfully built(antiqueRuby): https://coolors.co/70103e-8b182c-b42e13 Successfully built(nature): https://coolors.co/137752-19A974-9eebcf Successfully built(earth): https://coolors.co/16479c-2d69d2-3f72af Successfully built(frenchLime): https://coolors.co/366700-4e9300-6fd300-9cff2e-b9e983-cde5b3-dce7cf Successfully built(cloud): https://coolors.co/8f8f8f-ababab-c2c2c2-d4d4d4-dedede-e0e0e0-e8e8e8-ededed-f5f2f2-faf7f7
First of all, thank you for Tachyons. It's a pleasure to use, and really removes a mental burden that comes with switching between HTML and CSS when building pages for the web.
But anyway... what's the reason for the colors used in Tachyons?
I'm assuming care was taken in choosing colors that are both good for design and work well together. However, sometimes I'd like to use a slightly different colors in addition to the ones that come with Tachyons, but I'm not sure how to go about extending the palette with colors that might work with the existing ones.
I'm probably over-thinking this, but if there's some sort of system or logic behind the colors selected in Tachyons, I would be very interested to hear about it. I've tried converting all the colors to HSL to look for patterns, but I can't see anything obvious:
Is there a reason behind these color choices? Is there a nice extended palette available?
Thanks in advance.