This is CDIG's cross-project CSS framework.
It should eventually include a few things:
- Reset / Normalization styles — filtered down to just the stuff we care about based on the browsers we support and the HTML elements we actually use.
- Colors — brand colors, semantic colors, and other common colors
- Components — buttons, inputs, layout, typography, and other stock UI pieces
The stuff is House Style is the stuff that should be presented consistently across all our projects.
There are a few things that make this project a little difficult to work on.
- Existing projects can't have their core styles extracted without breakage, due to dependency on source order or specificity.
- It'd be nice to do things quite differently — but if we go that route, that will require new stuff and old stuff coexisting, which is finicky.
- It'd be nice to use some of the futuristic features of CSS (like
color-mod()
andlch()
), but those won't be ready for a few years yet.