creativecommons / vocabulary

A cohesive system of design for Creative Commons
https://vocabulary-docs.netlify.app
Creative Commons Zero v1.0 Universal
2 stars 0 forks source link

[Functionality] Revise CSS rule scoping to be more compartmentalized and enable less hyper localization to the Index Project (creativecommons.org) #31

Open possumbilities opened 1 month ago

possumbilities commented 1 month ago

Problem

The rule scoping for the various CSS rules as it related to the various components was hyper localized to the Index Project and has several messy overlaps that need to be rectified.

Description

Once resolved, the CSS should provide better routes for expanding, and dissecting out new components in a stable fashion.

For example, there are several contexts which overlap in function, and should be combined into one series of rulesets. In other cases the naming of various components is inconsistent and needs to be corrected.

The header and footer rulesets were originally written in a more stable and isolated fashion, but the remainder of the areas mostly fall into these categories:

All three of these are intertwined in how they are specified, organized, written, and scoped in ways that don't make additions or subtractions to functionality or featureset stable enough to be considered a "design system".

Implementation