CCALI / a2jauthor

CALI A2JAuthor document automation authoring and viewing platform
https://www.a2jauthor.org
Other
4 stars 1 forks source link

Refactor Author styles #156

Open mikemitchel opened 3 years ago

mikemitchel commented 3 years ago

A2J Author styles have complicated imports and seemingly circular dependencies that can often make it very difficult to figure out problems when a local style is being overwritten by a nested import. Need to break the styles down and move as much as possible local to the component that cares about that style, and make any top level or global styles easy to reason about and import as needed. For example, importing a single @variable requirement on even a simple .less file will often bring in extra styling as the first import starts grabbing it's dependencies that then grab their own dependencies and on and on.