layer5
layer5 copied to clipboard
[hugo] port Gatsby collection styles for 106 unstyled classes
Parent: #8297
Context
PR #8506 converts className="..." on lowercase HTML tags to standard HTML class="...". Across src/collections/ (excluding sistent), 106 unique styling classes (562 total occurrences, after excluding language-*/codeblock*/highlight/chroma) are now active in HTML output without matching selectors in hugo/assets/css/main.css. 97 / 106 have an equivalent selector rule in Gatsby's *.style.js files.
Breakdown by Collection (Occurrences = 562) & Gatsby Source Files
- blog (201 occurrences):
src/collections/blog/Blog.style.js,src/collections/blog/MeetTheMaintainer.style.js,src/sections/Blog/Blog-single/blogSingle.style.js - handbook (122 occurrences):
src/sections/Community/Handbook/Handbook.style.js,src/collections/handbook/faq/faq-wrapper.style.js,src/sections/Community/Newcomers-guide/NewcomersPageWrapper.style.js - programs (75 occurrences):
src/collections/programs/Programs.style.js - careers (63 occurrences):
src/collections/careers/Career.style.js - resources (60 occurrences):
src/collections/resources/Resources.style.js,src/sections/Resources/Resource-single/resourceSingle.style.js - events (16 occurrences):
src/collections/events/Event.style.js - news (13 occurrences):
src/collections/news/News.style.js - service-mesh-books (8 occurrences):
src/collections/service-mesh-books/Book.style.js - projects (4 occurrences):
src/collections/projects/Project.style.js
Hi, I'd like to work on this. Could you assign it to me? I'll open a PR soon.
Closing as completed !