cal-itp / mobility-marketplace

A one-stop resource for modern, equitable and accessible public transit products and services.
https://www.camobilitymarketplace.org/
GNU Affero General Public License v3.0
5 stars 1 forks source link

Slush: Refactor - Plan out how to convert SCSS into CSS #569

Closed machikoyasuda closed 2 months ago

machikoyasuda commented 2 months ago

Research shaping ticket

machikoyasuda commented 2 months ago

The easiest way to start:

machikoyasuda commented 2 months ago

Component-specific changes:

machikoyasuda commented 2 months ago

Combine some files, to reduce overload:

machikoyasuda commented 2 months ago

Prioritize: Being able to have the same base Bootstrap CSS Variable overrides for links, buttons and share styles for Header, Footer.

Prioritize using and creating utilities, so that we have fewer CSS files/styles

machikoyasuda commented 2 months ago

Moving forward, only write CSS and try to only write utilities.

machikoyasuda commented 2 months ago

Proof of concept PR: https://github.com/cal-itp/mobility-marketplace/pull/574

I think it would take 2 days, including testing, to do a meaningful chunk of the conversion, scoped to all the non-page file SCSS. If we use the above PR as a starting point, probably just 1 extra day - including testing.

machikoyasuda commented 2 months ago

Marking this as closed b/c the research, scoping and plan has been created in the above comments.