Skip to content

v0.1.51

Pre-release
Pre-release
Compare
Choose a tag to compare
@ahosgood ahosgood released this 04 Apr 15:07
· 291 commits to main since this release
3b73536

Added

  • "Thick" and button border widths are both customisable
  • The colour of a card label can be changed
  • Accent colours can be set on blocks with tna-accent-pink, tna-accent-orange, tna-accent-yellow, tna-accent-blue and tna-accent-green
  • Hero components can now have a "shifted" style option and can have contrasting, tinted and accent backgrounds

Changed

  • Improved markup of warning component
  • --page-background is now --background

Deprecated

  • Deprecated support for the tna-template--high-contrast-theme class - high contrast themes can be used by setting a preference for higher contrast in the operating system
  • colour-font() no longer has the ability to define the default palette

Removed

  • Fallbacks for custom CSS properties are defined in the var() function rather than in a separate property - this removes any colouring support for browsers without custom CSS properties
  • Hero components no longer have heading, body or text properties - these have been replaced with a content property

Fixed

  • Fixed column margin removal classes
  • Added missing IDs to some form elements so they can be linked top from the error summary
  • Active states of checkboxes and radios fixed