alphagov / govuk-prototype-kit-docs

Site for the GOV.UK Prototype Kit
https://prototype-kit.service.gov.uk/docs
MIT License
3 stars 2 forks source link

Not documented how to configure GOV.UK Frontend sass variables #186

Open NickColley opened 1 year ago

NickColley commented 1 year ago

If you want to say change the font family because GOV.UK Frontend is now automagically imported the variable in your custom CSS.

I think instead the kit needs to consume GOV.UK Frontend as a development dependency for the dashboard and the version the kit uses in the prototype itself has the imports in the custom CSS as it used to.

This blocks using the prototype kit on non-GOV.UK branded projects.

joelanman commented 1 year ago

@NickColley there's an undocumented feature which should do what you need - add a file app/assets/sass/settings.scss and set your variables there. Does that work for you?

NickColley commented 1 year ago

Closing for now will re open if any more barriers