diff --git a/docs/front-end/fonts.md b/docs/front-end/fonts.md index fe69b6c5d..ff9548655 100644 --- a/docs/front-end/fonts.md +++ b/docs/front-end/fonts.md @@ -2,7 +2,7 @@ The site uses 'Outfit' as the main font and 'sans-serif' as the fallback font. -Outfit is avaible from [Google Fonts](https://fonts.google.com/specimen/Outfit) and is a variable font. This means that the font can be loaded as a single file and the weight and style can be adjusted using CSS. Any weight between 300 and 600 can be used. +Outfit is avaible from [Google Fonts](https://fonts.google.com/specimen/Outfit) and is a variable font. This means that the font can be loaded as a single file and the weight and style can be adjusted using CSS. Any weight between 200 and 600 can be used. We originally limited the number of font variants for reasons of sustainability, although the fact that this is a variable font means that extra weights could be added if required without impacting carbon emissions. @@ -12,7 +12,7 @@ The font is loaded using the following CSS in `sass/base/_fonts.scss`: @font-face { font-family: 'Outfit'; font-style: normal; - font-weight: 300 600; + font-weight: 200 600; font-display: swap; src: url(../fonts/outfit-variable-font.woff2) format('woff2-variations'); } diff --git a/tbx/project_styleguide/templates/patterns/atoms/icons/quote-icon.html b/tbx/project_styleguide/templates/patterns/atoms/icons/quote-icon.html index 023d9b847..1fa45b6de 100644 --- a/tbx/project_styleguide/templates/patterns/atoms/icons/quote-icon.html +++ b/tbx/project_styleguide/templates/patterns/atoms/icons/quote-icon.html @@ -5,8 +5,8 @@ - - + + {% endwith %} diff --git a/tbx/project_styleguide/templates/patterns/atoms/icons/results-ring.html b/tbx/project_styleguide/templates/patterns/atoms/icons/results-ring.html index edecef0d0..0c6f9d263 100644 --- a/tbx/project_styleguide/templates/patterns/atoms/icons/results-ring.html +++ b/tbx/project_styleguide/templates/patterns/atoms/icons/results-ring.html @@ -1,3 +1,3 @@ diff --git a/tbx/project_styleguide/templates/patterns/atoms/sprites/sprites.html b/tbx/project_styleguide/templates/patterns/atoms/sprites/sprites.html index bd0f0620a..1d83ea528 100644 --- a/tbx/project_styleguide/templates/patterns/atoms/sprites/sprites.html +++ b/tbx/project_styleguide/templates/patterns/atoms/sprites/sprites.html @@ -15,6 +15,10 @@ + + + + @@ -48,9 +52,9 @@ - + - + @@ -83,80 +87,80 @@ {# id matches showcase homepage block icon value #} - + {# id matches showcase homepage block icon value #} - + {# id matches showcase homepage block icon value #} - + {# id matches showcase homepage block icon value #} - + {# for animated megaphone icon - megaphone #} - + {# for animated megaphone icon - noise icons #} - + {# for animated wagtail icon - head outline #} - + {# for animated wagtail icon - coloured circle #} - + {# for animated wagtail icon - top beak #} - + {# for animated wagtail icon - bottom beak #} - + {# for animated target icon - target center #} - + {# for animated target icon - target inner #} - + {# for animated target icon - target outer #} - + {# for animated lightbulb icon - lightbulb inner #} - - + + {# for animated lightbulb icon - lightbulb inner #} - + diff --git a/tbx/project_styleguide/templates/patterns/base_page.html b/tbx/project_styleguide/templates/patterns/base_page.html index e6fc3399b..d0a60264a 100644 --- a/tbx/project_styleguide/templates/patterns/base_page.html +++ b/tbx/project_styleguide/templates/patterns/base_page.html @@ -126,4 +126,3 @@ {% block footer %} {% include "patterns/organisms/footer/footer.html" %} {% endblock footer %} - diff --git a/tbx/project_styleguide/templates/patterns/molecules/streamfield/blocks/featured_services_block.html b/tbx/project_styleguide/templates/patterns/molecules/streamfield/blocks/featured_services_block.html index 5fa6ddb70..d843ae11e 100644 --- a/tbx/project_styleguide/templates/patterns/molecules/streamfield/blocks/featured_services_block.html +++ b/tbx/project_styleguide/templates/patterns/molecules/streamfield/blocks/featured_services_block.html @@ -1,22 +1,25 @@ {% load wagtailcore_tags wagtailimages_tags %} -
- {# Section heading #} -

{{ value.title }}

- - {# Section intro #} -
{{ value.intro|richtext }}
- - {# Signposting cards #} -