[Tracker] Cleanup and segment CSS
Categories
(developer.mozilla.org Graveyard :: General, enhancement)
Tracking
(Not tracked)
People
(Reporter: espressive, Assigned: espressive)
References
Details
(Keywords: in-triage)
With the new infrastructure changes to MDN Web Docs we now have a read-only(currently in beta) version of the site as well as a wiki. domain that is aimed and our writers and content contributors.
As such, there are now styles that
- Relate specifically to UI components and features on the wiki
- Relate specifically to UI components and features on the read-only portion
- Are shared between the two
In order to enable us to create cleaner, leaner bundles that are specifically targetted towards the individual deploy targets we need to create smaller component(molecule sized[1]) chunks that can then be composed together for the appropriate target.
This will at the same time facilitate the creation of the styleguide/pattern library, as well as offer an opportunity to clean up or CSS codebase, which will lead to the following:
- A clean and more manageable CSS codebase
- Enhanced performance (not necessarily load times(although that is also possible), but faster TTI and TTFP as there is simply less CSS to download, parse and execute
[1] http://bradfrost.com/blog/post/atomic-web-design/#molecules
Comment 1•6 years ago
|
||
I'm changing the component because this work is actually genuinely relevant and not just a matter of some left-over stuff that was just waiting for someone to have time.
Also, how is this bug different from https://bugzilla.mozilla.org/show_bug.cgi?id=1566456 ?
We can morph that but to be just about diff.scss
and a blocker of this tracker bug. Good idea?
Assignee | ||
Comment 2•6 years ago
|
||
(In reply to Peter Bengtsson [:peterbe] from comment #1)
I'm changing the component because this work is actually genuinely relevant and not just a matter of some left-over stuff that was just waiting for someone to have time.
Also, how is this bug different from https://bugzilla.mozilla.org/show_bug.cgi?id=1566456 ?
We can morph that but to be just aboutdiff.scss
and a blocker of this tracker bug. Good idea?
Sounds good to me
Comment 3•5 years ago
|
||
Updated•5 years ago
|
Description
•