Nick Colley
Nick Colley
I think this is a great idea, I agree that the current site is really complicated and with a lot of content. It'd be good to see this done from...
Could consider rendering only headings with the custom font.
It'd be interesting to approach the project as standard CSS ```html :root { --theme-color: red; } .background { background-color: blue; /* default */ background-color: var(--theme-color); } ```
@verpixelt you wouldnt need to iterate at all since you could define theming variables at runtime I guess
@espy yeah unfortunately green is very hard to contrast with white, for what it's worth it'll work on a dark background but imagine you were trying to get away from...
Would this work now?
Hello @lhokktyn, Do you have time to finish this work in progress up, or should we close this for now (and consider raising a bug report instead)?
I think this is still relevant even in the migration to the Design System.
Here's a workaround in SCSS: ```scss .govuk-error-summary__body p:last-of-type { margin-bottom: govuk-spacing(1); } .govuk-error-summary__list:not(:has(li)) { display: none; } .govuk-error-summary__list:has(li) { margin-top: govuk-spacing(3); } ```
This is how I'm using it, for better or worse: 