RockefellerArchiveCenter / styles

Style Library for the Rockefeller Archive Center
https://styles.rockarch.org
MIT License
0 stars 1 forks source link

Adds color variables #11

Closed HaSistrunk closed 3 years ago

HaSistrunk commented 3 years ago

Fixes #1 Adds initial set of color variables and html swatches.

Useful tools for future work with color (adding to internal resources doc):

  1. Hex/hsl converter: https://colordesigner.io/convert/hextohsl
  2. Sass color function calculator: http://razorltd.github.io/sasscolourfunctioncalculator/
  3. Visualize Sass hsl color functions: https://sassme.jim-nielsen.com/
  4. Color palette accessibility checker: https://oomphinc.github.io/colorcube/
HaSistrunk commented 3 years ago

Ok great, I've updated the color names to use the hue and closest named color (roughly), and updated the TODO to more specifically note that we'll want to it narrow things to a single a hue and calculate variations from those. I'll merge if the color names look ok.

helrond commented 3 years ago

Yup, this looks good! I think we'll want to eventually add more generalized variables like brand-primary and brand-secondary for colors, but I'm guessing that should live in themes?

HaSistrunk commented 3 years ago

Yup, this looks good! I think we'll want to eventually add more generalized variables like brand-primary and brand-secondary for colors, but I'm guessing that should live in themes?

Yeah I think so. From the documentation for this 7-1 architecture, I think we can put those in /themes if we anticipate or want to make space for multiple themes, but we can also not use that at all and keep everything in variables (or add a separate file for color variables if that gets unwieldy).