Skip to content

v0.1.24-prerelease

Pre-release
Pre-release
Compare
Choose a tag to compare
@ahosgood ahosgood released this 06 Nov 17:30
· 394 commits to main since this release
0505413

Added

  • Elements can be hidden on certain devices with tna-!--hide-on-[large|medium|small|tiny]
  • Allow links to have no visited state with tna-link--no-visited-state
  • Card supertitles can be made "plain" with no contrasting colour
  • Roboto Mono Bold added
  • Ability to either use bundled fonts or fonts hosted by Google (default is Google fonts)
  • Featured records component

Changed

  • Tweaked dark theme colours
  • tna-visually-hidden could instead use the class tna-!--visually-hidden (will deprecate one of these in the future)
  • Changed Node version from lts/hydrogen to lts/iron
  • Update the spacing and spacing-mobile functions in spacing to space and space-mobile
  • Mixin colour.invert changed to colour.contrast
  • Background colour classes changed to BEM (tna-background--accent -> tna-background-accent)
  • Open Sans body weight changed from 500 to 400
  • Text balance on headings removed but left on headings with links
  • background-tint colour changed for better accessibility/contrast
  • Change pagination aria-label in line with GOV.UK Frontend 5.0.0

Removed

  • The @import for Supria Sans Condensed (supria-sans-condensed) from TypeKit has been removed - each service needs to import their own copy of the fonts

Fixed

  • Cookie banner URL is now correctly used
  • Spacing above picture elements fixed
  • Image widths fixed (not stretched)