alphagov / govuk-frontend-docs

Technical documentation for GOV.UK Frontend
https://frontend.design-system.service.gov.uk/
33 stars 11 forks source link

Expand documentation on importing specific bits of the Sass #445

Closed 36degrees closed 1 month ago

36degrees commented 1 month ago

Provide a more exhaustive example of how to import specific bits of our Sass, allowing users to understand what's possible without having to go digging through the code.

Specifically, document the full list of components and overrides as they comprise the greatest percentage of the generated CSS (70% and 15% respectively) and are least likely to be fully used.

I've also opted to include some approximate percentages to give users an indication of the weight of each layer. These percentages will be less accurate over time as the composition of our Sass changes, but I think they're likely to remain accurate enough to be useful.

👉🏻 Have a look 👀

netlify[bot] commented 1 month ago

Deploy Preview for govuk-frontend-docs-preview ready!

Name Link
Latest commit 18aee385cc95f87ad3115ccea488458c9b99e60f
Latest deploy log https://app.netlify.com/sites/govuk-frontend-docs-preview/deploys/664738434d08780008782a54
Deploy Preview https://deploy-preview-445--govuk-frontend-docs-preview.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.