Closed BryanSchuetz closed 4 years ago
This is super cool, great work.
The use of the random()
function in Sass is slightly weird as it just means that whenever this theme happens to get compiled, the colors for things will be slightly different. There is a lot of randomization in Gemstone, so maybe that's kinda part of the fun, but I'd think that compilation will only happen during any random update that happens to change this particular theme, so might feel akwardly sporadic. Just a thought. The color changes are so subtle it's probably nothing to worry about changing.
Yeah, I realized that. I'm also not getting the full sepctrum of colors out of adjust_hue
because I'm only using positive values, because I don't think you can set a minimum value for random()
. I guess I could of just adjusted hue a set amount for each item in the list...that way they would always be the same. My main goal was to just be able to look in a container and have magic items, boxes, and gems stand out from all the other crap.
I agree though, it would be cool if I got used to seeing diamonds highlighted as a certain color. I still have a lot of refactoring to do with the theme on the whole, so maybe I'll improve on it.
Actually, the more I think about it....this would maybe be a cool way to do it.
Get the list length > figure out how much of the spectrum each "noun-type" can occupy > set the amount to increment for each item in the list to allow for the maximum distinction between colors (assuming that's actually how hue works, I'm not sure) > let each type have it's own band.
Will play with it some more.
A humble, hardscrabble theme—with an arctic, north-bluish color palette lifted from Nord.