-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Set $govuk-font-family to a different font stack before importing govuk-frontend to override the font stack #90
Comments
I've moved the font stack declaration from the body tag to the govuk-frontend variable, but this has shown up a couple of places where the govuk classes haven't been used on the text. To make it more obvious, I changed the govuk font to an unreadable one, -$govuk-font-family: "GDS Transport", Arial, sans-serif;
+$govuk-font-family: "Webdings"; So now, I'm going to fix any element that's still 'readable', to make sure the correct govuk classes have been applied. It looks like the |
This element ended-up being unstyled by moving the font stack from body element to the govuk-frontend variable. Issue: UKHSA-Internal#90
This element also ended-up being unstyled by moving the font stack from body element to the govuk-frontend variable. Issue: UKHSA-Internal#90
These tooltips ended up being un-styled by moving the font stack from body element to the govuk-frontend variable. This adds the govuk classes to the tooltips and adds some element specific css overrides to restore the colours and sizes. Issue: UKHSA-Internal#90
These tooltips ended up being un-styled by moving the font stack from body element to the govuk-frontend variable. This adds the govuk classes to the tooltips and adds some element specific css overrides to restore the colours and sizes. Issue: UKHSA-Internal#90
These tooltips ended up being un-styled by moving the font stack from body element to the govuk-frontend variable. This adds the govuk classes to the tooltips and adds some element specific css overrides to restore the colours and sizes. Issue: UKHSA-Internal#90
These tooltips ended up being un-styled by moving the font stack from body element to the govuk-frontend variable. This adds the govuk classes to the tooltips and adds some element specific css overrides to restore the colours and sizes. Issue: UKHSA-Internal#90
This element ended-up being unstyled by moving the font stack from body element to the govuk-frontend variable. Issue: UKHSA-Internal#90
This element also ended-up being unstyled by moving the font stack from body element to the govuk-frontend variable. Issue: UKHSA-Internal#90
These tooltips ended up being un-styled by moving the font stack from body element to the govuk-frontend variable. This adds the govuk classes to the tooltips and adds some element specific css overrides to restore the colours and sizes. Issue: UKHSA-Internal#90
These tooltips ended up being un-styled by moving the font stack from body element to the govuk-frontend variable. This adds the govuk classes to the tooltips and adds some element specific css overrides to restore the colours and sizes. Issue: UKHSA-Internal#90
These tooltips ended up being un-styled by moving the font stack from body element to the govuk-frontend variable. This adds the govuk classes to the tooltips and adds some element specific css overrides to restore the colours and sizes. Issue: UKHSA-Internal#90
These tooltips ended up being un-styled by moving the font stack from body element to the govuk-frontend variable. This adds the govuk classes to the tooltips and adds some element specific css overrides to restore the colours and sizes. Issue: UKHSA-Internal#90
Use `$govuk-font-family` across the service (issue #90) - with thanks to @MikeCoats for the contribution. No conflict detected.
Set $govuk-font-family to a different font stack before importing govuk-frontend to override the font stack
The text was updated successfully, but these errors were encountered: