govuk_publishing_components 67.0.1 → 68.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (352) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/config/govuk_publishing_components_manifest.js +1 -1
  3. data/app/assets/stylesheets/component_guide/application.scss +12 -18
  4. data/app/assets/stylesheets/govuk_publishing_components/all-components.scss +2 -0
  5. data/app/assets/stylesheets/govuk_publishing_components/components/_action-link.scss +6 -2
  6. data/app/assets/stylesheets/govuk_publishing_components/components/_app-promo-banner.scss +3 -3
  7. data/app/assets/stylesheets/govuk_publishing_components/components/_attachment-link.scss +1 -1
  8. data/app/assets/stylesheets/govuk_publishing_components/components/_attachment.scss +5 -5
  9. data/app/assets/stylesheets/govuk_publishing_components/components/_breadcrumbs.scss +1 -1
  10. data/app/assets/stylesheets/govuk_publishing_components/components/_button.scss +2 -2
  11. data/app/assets/stylesheets/govuk_publishing_components/components/_cards.scss +6 -6
  12. data/app/assets/stylesheets/govuk_publishing_components/components/_checkboxes.scss +1 -1
  13. data/app/assets/stylesheets/govuk_publishing_components/components/_contents-list-with-body.scss +1 -1
  14. data/app/assets/stylesheets/govuk_publishing_components/components/_contextual-guidance.scss +2 -2
  15. data/app/assets/stylesheets/govuk_publishing_components/components/_contextual-sidebar.scss +4 -4
  16. data/app/assets/stylesheets/govuk_publishing_components/components/_cross-service-header.scss +14 -14
  17. data/app/assets/stylesheets/govuk_publishing_components/components/_devolved-nations.scss +3 -3
  18. data/app/assets/stylesheets/govuk_publishing_components/components/_document-list.scss +6 -6
  19. data/app/assets/stylesheets/govuk_publishing_components/components/_emergency-banner.scss +3 -6
  20. data/app/assets/stylesheets/govuk_publishing_components/components/_error-alert.scss +3 -3
  21. data/app/assets/stylesheets/govuk_publishing_components/components/_error-summary.scss +1 -1
  22. data/app/assets/stylesheets/govuk_publishing_components/components/_feedback.scss +7 -7
  23. data/app/assets/stylesheets/govuk_publishing_components/components/_figure.scss +1 -1
  24. data/app/assets/stylesheets/govuk_publishing_components/components/_glance-metric.scss +3 -3
  25. data/app/assets/stylesheets/govuk_publishing_components/components/_govspeak-html-publication.scss +3 -3
  26. data/app/assets/stylesheets/govuk_publishing_components/components/_heading.scss +3 -3
  27. data/app/assets/stylesheets/govuk_publishing_components/components/_image-card.scss +3 -3
  28. data/app/assets/stylesheets/govuk_publishing_components/components/_intervention.scss +3 -3
  29. data/app/assets/stylesheets/govuk_publishing_components/components/_inverse-header.scss +2 -2
  30. data/app/assets/stylesheets/govuk_publishing_components/components/_layout-footer.scss +1 -1
  31. data/app/assets/stylesheets/govuk_publishing_components/components/_layout-for-public.scss +1 -1
  32. data/app/assets/stylesheets/govuk_publishing_components/components/_layout-header.scss +30 -51
  33. data/app/assets/stylesheets/govuk_publishing_components/components/_layout-super-navigation-header.scss +23 -23
  34. data/app/assets/stylesheets/govuk_publishing_components/components/_lead-paragraph.scss +1 -1
  35. data/app/assets/stylesheets/govuk_publishing_components/components/_metadata.scss +2 -2
  36. data/app/assets/stylesheets/govuk_publishing_components/components/_modal-dialogue.scss +3 -3
  37. data/app/assets/stylesheets/govuk_publishing_components/components/_option-select.scss +3 -3
  38. data/app/assets/stylesheets/govuk_publishing_components/components/_organisation-logo.scss +2 -2
  39. data/app/assets/stylesheets/govuk_publishing_components/components/_pagination.scss +1 -1
  40. data/app/assets/stylesheets/govuk_publishing_components/components/_phase-banner.scss +3 -3
  41. data/app/assets/stylesheets/govuk_publishing_components/components/_print-link.scss +6 -6
  42. data/app/assets/stylesheets/govuk_publishing_components/components/_published-dates.scss +1 -1
  43. data/app/assets/stylesheets/govuk_publishing_components/components/_related-navigation.scss +1 -1
  44. data/app/assets/stylesheets/govuk_publishing_components/components/_reorderable-list.scss +3 -3
  45. data/app/assets/stylesheets/govuk_publishing_components/components/_search-with-autocomplete.scss +7 -7
  46. data/app/assets/stylesheets/govuk_publishing_components/components/_search.scss +8 -8
  47. data/app/assets/stylesheets/govuk_publishing_components/components/_secondary-navigation.scss +6 -6
  48. data/app/assets/stylesheets/govuk_publishing_components/components/_select-with-search.scss +15 -15
  49. data/app/assets/stylesheets/govuk_publishing_components/components/_share-links.scss +2 -2
  50. data/app/assets/stylesheets/govuk_publishing_components/components/_signup-link.scss +2 -2
  51. data/app/assets/stylesheets/govuk_publishing_components/components/_single-page-notification-button.scss +6 -6
  52. data/app/assets/stylesheets/govuk_publishing_components/components/_step-by-step-nav-header.scss +2 -2
  53. data/app/assets/stylesheets/govuk_publishing_components/components/_step-by-step-nav-related.scss +1 -1
  54. data/app/assets/stylesheets/govuk_publishing_components/components/_step-by-step-nav.scss +11 -11
  55. data/app/assets/stylesheets/govuk_publishing_components/components/_sub-navigation-menu.scss +9 -9
  56. data/app/assets/stylesheets/govuk_publishing_components/components/_subscription-links.scss +5 -5
  57. data/app/assets/stylesheets/govuk_publishing_components/components/_success-alert.scss +3 -3
  58. data/app/assets/stylesheets/govuk_publishing_components/components/_summary-banner.scss +1 -1
  59. data/app/assets/stylesheets/govuk_publishing_components/components/_table.scss +15 -10
  60. data/app/assets/stylesheets/govuk_publishing_components/components/_tag.scss +1 -1
  61. data/app/assets/stylesheets/govuk_publishing_components/components/_translation-nav.scss +3 -3
  62. data/app/assets/stylesheets/govuk_publishing_components/components/_warning-text.scss +3 -3
  63. data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_attachment.scss +4 -4
  64. data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_call-to-action.scss +2 -2
  65. data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_contact.scss +1 -1
  66. data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_example.scss +1 -1
  67. data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_footnotes.scss +4 -4
  68. data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_highlight-answer.scss +1 -1
  69. data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_images.scss +1 -1
  70. data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_information-callout.scss +1 -1
  71. data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_media-player.scss +2 -2
  72. data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_place.scss +1 -1
  73. data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_tables.scss +2 -2
  74. data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_typography.scss +2 -2
  75. data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_warning-callout.scss +1 -1
  76. data/app/assets/stylesheets/govuk_publishing_components/components/helpers/_colours.scss +9 -11
  77. data/app/assets/stylesheets/govuk_publishing_components/components/helpers/_markdown-typography.scss +3 -3
  78. data/app/assets/stylesheets/govuk_publishing_components/lib/_link.scss +3 -3
  79. data/app/assets/stylesheets/govuk_publishing_components/lib/_print_support.scss +2 -2
  80. data/app/assets/stylesheets/govuk_publishing_components/settings/_custom-properties.scss +9 -0
  81. data/app/assets/stylesheets/govuk_publishing_components/settings/_index.scss +1 -2
  82. data/app/assets/stylesheets/govuk_publishing_components/specific-components.scss +2 -0
  83. data/app/views/govuk_publishing_components/components/_cross_service_header.html.erb +2 -2
  84. data/app/views/govuk_publishing_components/components/_glance_metric.html.erb +1 -1
  85. data/app/views/govuk_publishing_components/components/_layout_for_admin.html.erb +1 -1
  86. data/app/views/govuk_publishing_components/components/_layout_for_public.html.erb +20 -18
  87. data/app/views/govuk_publishing_components/components/_layout_header.html.erb +14 -36
  88. data/app/views/govuk_publishing_components/components/_layout_super_navigation_header.html.erb +2 -2
  89. data/app/views/govuk_publishing_components/components/_tag.html.erb +1 -1
  90. data/app/views/govuk_publishing_components/components/attachment/_thumbnail_external.html.erb +1 -1
  91. data/app/views/govuk_publishing_components/components/attachment/_thumbnail_pdf.html.erb +1 -1
  92. data/app/views/govuk_publishing_components/components/docs/cross_service_header.yml +0 -1
  93. data/app/views/govuk_publishing_components/components/docs/layout_for_public.yml +24 -3
  94. data/app/views/govuk_publishing_components/components/docs/layout_header.yml +0 -15
  95. data/app/views/govuk_publishing_components/components/docs/layout_super_navigation_header.yml +1 -3
  96. data/app/views/govuk_publishing_components/components/docs/tag.yml +4 -8
  97. data/app/views/govuk_publishing_components/components/layout_header/_header_logo.html.erb +4 -13
  98. data/app/views/layouts/govuk_publishing_components/application.html.erb +1 -1
  99. data/config/initializers/assets.rb +1 -1
  100. data/config/locales/cy.yml +4 -4
  101. data/config/locales/en.yml +4 -4
  102. data/lib/govuk_publishing_components/presenters/devolved_nations_helper.rb +5 -4
  103. data/lib/govuk_publishing_components/version.rb +1 -1
  104. data/node_modules/govuk-frontend/README.md +1 -1
  105. data/node_modules/govuk-frontend/dist/govuk/_base.scss +1 -0
  106. data/node_modules/govuk-frontend/dist/govuk/_base.scss.map +1 -1
  107. data/node_modules/govuk-frontend/dist/govuk/all.bundle.js +21 -95
  108. data/node_modules/govuk-frontend/dist/govuk/all.bundle.js.map +1 -1
  109. data/node_modules/govuk-frontend/dist/govuk/all.bundle.mjs +22 -95
  110. data/node_modules/govuk-frontend/dist/govuk/all.bundle.mjs.map +1 -1
  111. data/node_modules/govuk-frontend/dist/govuk/all.mjs +0 -1
  112. data/node_modules/govuk-frontend/dist/govuk/all.mjs.map +1 -1
  113. data/node_modules/govuk-frontend/dist/govuk/assets/images/favicon.ico +0 -0
  114. data/node_modules/govuk-frontend/dist/govuk/assets/images/favicon.svg +1 -1
  115. data/node_modules/govuk-frontend/dist/govuk/assets/images/govuk-icon-180.png +0 -0
  116. data/node_modules/govuk-frontend/dist/govuk/assets/images/govuk-icon-192.png +0 -0
  117. data/node_modules/govuk-frontend/dist/govuk/assets/images/govuk-icon-512.png +0 -0
  118. data/node_modules/govuk-frontend/dist/govuk/assets/images/govuk-opengraph-image.png +0 -0
  119. data/node_modules/govuk-frontend/dist/govuk/common/govuk-frontend-version.mjs +1 -1
  120. data/node_modules/govuk-frontend/dist/govuk/components/accordion/_index.scss +14 -11
  121. data/node_modules/govuk-frontend/dist/govuk/components/accordion/_index.scss.map +1 -1
  122. data/node_modules/govuk-frontend/dist/govuk/components/accordion/accordion.bundle.js.map +1 -1
  123. data/node_modules/govuk-frontend/dist/govuk/components/accordion/accordion.bundle.mjs.map +1 -1
  124. data/node_modules/govuk-frontend/dist/govuk/components/back-link/_index.scss +2 -2
  125. data/node_modules/govuk-frontend/dist/govuk/components/back-link/_index.scss.map +1 -1
  126. data/node_modules/govuk-frontend/dist/govuk/components/breadcrumbs/_index.scss +1 -1
  127. data/node_modules/govuk-frontend/dist/govuk/components/breadcrumbs/_index.scss.map +1 -1
  128. data/node_modules/govuk-frontend/dist/govuk/components/button/_index.scss +16 -19
  129. data/node_modules/govuk-frontend/dist/govuk/components/button/_index.scss.map +1 -1
  130. data/node_modules/govuk-frontend/dist/govuk/components/button/fixtures.json +7 -95
  131. data/node_modules/govuk-frontend/dist/govuk/components/button/macro-options.json +12 -19
  132. data/node_modules/govuk-frontend/dist/govuk/components/button/template.njk +8 -20
  133. data/node_modules/govuk-frontend/dist/govuk/components/character-count/_index.scss +2 -2
  134. data/node_modules/govuk-frontend/dist/govuk/components/character-count/_index.scss.map +1 -1
  135. data/node_modules/govuk-frontend/dist/govuk/components/character-count/character-count.bundle.js +19 -9
  136. data/node_modules/govuk-frontend/dist/govuk/components/character-count/character-count.bundle.js.map +1 -1
  137. data/node_modules/govuk-frontend/dist/govuk/components/character-count/character-count.bundle.mjs +19 -9
  138. data/node_modules/govuk-frontend/dist/govuk/components/character-count/character-count.bundle.mjs.map +1 -1
  139. data/node_modules/govuk-frontend/dist/govuk/components/character-count/character-count.mjs +19 -9
  140. data/node_modules/govuk-frontend/dist/govuk/components/character-count/character-count.mjs.map +1 -1
  141. data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/_index.scss +7 -6
  142. data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/_index.scss.map +1 -1
  143. data/node_modules/govuk-frontend/dist/govuk/components/cookie-banner/_index.scss +2 -5
  144. data/node_modules/govuk-frontend/dist/govuk/components/cookie-banner/_index.scss.map +1 -1
  145. data/node_modules/govuk-frontend/dist/govuk/components/cookie-banner/fixtures.json +4 -40
  146. data/node_modules/govuk-frontend/dist/govuk/components/cookie-banner/template-default.html +2 -2
  147. data/node_modules/govuk-frontend/dist/govuk/components/cookie-banner/template-with-html.html +2 -2
  148. data/node_modules/govuk-frontend/dist/govuk/components/details/_index.scss +6 -4
  149. data/node_modules/govuk-frontend/dist/govuk/components/details/_index.scss.map +1 -1
  150. data/node_modules/govuk-frontend/dist/govuk/components/error-message/_index.scss +1 -1
  151. data/node_modules/govuk-frontend/dist/govuk/components/error-message/_index.scss.map +1 -1
  152. data/node_modules/govuk-frontend/dist/govuk/components/error-summary/_index.scss +4 -2
  153. data/node_modules/govuk-frontend/dist/govuk/components/error-summary/_index.scss.map +1 -1
  154. data/node_modules/govuk-frontend/dist/govuk/components/exit-this-page/exit-this-page.bundle.js.map +1 -1
  155. data/node_modules/govuk-frontend/dist/govuk/components/exit-this-page/exit-this-page.bundle.mjs.map +1 -1
  156. data/node_modules/govuk-frontend/dist/govuk/components/file-upload/_index.scss +28 -37
  157. data/node_modules/govuk-frontend/dist/govuk/components/file-upload/_index.scss.map +1 -1
  158. data/node_modules/govuk-frontend/dist/govuk/components/file-upload/file-upload.bundle.js.map +1 -1
  159. data/node_modules/govuk-frontend/dist/govuk/components/file-upload/file-upload.bundle.mjs.map +1 -1
  160. data/node_modules/govuk-frontend/dist/govuk/components/file-upload/fixtures.json +1 -1
  161. data/node_modules/govuk-frontend/dist/govuk/components/file-upload/macro-options.json +0 -7
  162. data/node_modules/govuk-frontend/dist/govuk/components/file-upload/template.njk +0 -1
  163. data/node_modules/govuk-frontend/dist/govuk/components/footer/_index.scss +18 -23
  164. data/node_modules/govuk-frontend/dist/govuk/components/footer/_index.scss.map +1 -1
  165. data/node_modules/govuk-frontend/dist/govuk/components/footer/fixtures.json +25 -38
  166. data/node_modules/govuk-frontend/dist/govuk/components/footer/macro-options.json +0 -6
  167. data/node_modules/govuk-frontend/dist/govuk/components/footer/template-default.html +23 -2
  168. data/node_modules/govuk-frontend/dist/govuk/components/footer/template-full-gds-example.html +23 -2
  169. data/node_modules/govuk-frontend/dist/govuk/components/footer/template-three-equal-columns.html +23 -2
  170. data/node_modules/govuk-frontend/dist/govuk/components/footer/template-with-custom-html-content-licence-and-copyright-notice.html +23 -2
  171. data/node_modules/govuk-frontend/dist/govuk/components/footer/template-with-custom-meta.html +23 -2
  172. data/node_modules/govuk-frontend/dist/govuk/components/footer/template-with-custom-text-content-licence-and-copyright-notice.html +23 -2
  173. data/node_modules/govuk-frontend/dist/govuk/components/footer/template-with-default-width-navigation-one-column.html +23 -2
  174. data/node_modules/govuk-frontend/dist/govuk/components/footer/template-with-default-width-navigation-two-columns.html +23 -2
  175. data/node_modules/govuk-frontend/dist/govuk/components/footer/template-with-meta-links-and-meta-content.html +23 -2
  176. data/node_modules/govuk-frontend/dist/govuk/components/footer/template-with-navigation.html +23 -2
  177. data/node_modules/govuk-frontend/dist/govuk/components/footer/template-with-no-content-licence.html +23 -2
  178. data/node_modules/govuk-frontend/dist/govuk/components/footer/template-with-only-custom-meta.html +23 -2
  179. data/node_modules/govuk-frontend/dist/govuk/components/footer/template-with-only-meta-links.html +23 -2
  180. data/node_modules/govuk-frontend/dist/govuk/components/footer/template.njk +6 -11
  181. data/node_modules/govuk-frontend/dist/govuk/components/header/_index.scss +85 -457
  182. data/node_modules/govuk-frontend/dist/govuk/components/header/_index.scss.map +1 -1
  183. data/node_modules/govuk-frontend/dist/govuk/components/header/fixtures.json +7 -536
  184. data/node_modules/govuk-frontend/dist/govuk/components/header/macro-options.json +2 -101
  185. data/node_modules/govuk-frontend/dist/govuk/components/header/template-default.html +7 -6
  186. data/node_modules/govuk-frontend/dist/govuk/components/header/template-full-width.html +7 -6
  187. data/node_modules/govuk-frontend/dist/govuk/components/header/template-with-product-name.html +7 -6
  188. data/node_modules/govuk-frontend/dist/govuk/components/header/template.njk +4 -50
  189. data/node_modules/govuk-frontend/dist/govuk/components/hint/_index.scss +1 -1
  190. data/node_modules/govuk-frontend/dist/govuk/components/hint/_index.scss.map +1 -1
  191. data/node_modules/govuk-frontend/dist/govuk/components/input/_index.scss +7 -5
  192. data/node_modules/govuk-frontend/dist/govuk/components/input/_index.scss.map +1 -1
  193. data/node_modules/govuk-frontend/dist/govuk/components/inset-text/_index.scss +2 -1
  194. data/node_modules/govuk-frontend/dist/govuk/components/inset-text/_index.scss.map +1 -1
  195. data/node_modules/govuk-frontend/dist/govuk/components/label/fixtures.json +2 -2
  196. data/node_modules/govuk-frontend/dist/govuk/components/notification-banner/_index.scss +8 -6
  197. data/node_modules/govuk-frontend/dist/govuk/components/notification-banner/_index.scss.map +1 -1
  198. data/node_modules/govuk-frontend/dist/govuk/components/pagination/_index.scss +9 -10
  199. data/node_modules/govuk-frontend/dist/govuk/components/pagination/_index.scss.map +1 -1
  200. data/node_modules/govuk-frontend/dist/govuk/components/panel/_index.scss +2 -2
  201. data/node_modules/govuk-frontend/dist/govuk/components/panel/_index.scss.map +1 -1
  202. data/node_modules/govuk-frontend/dist/govuk/components/password-input/password-input.bundle.js.map +1 -1
  203. data/node_modules/govuk-frontend/dist/govuk/components/password-input/password-input.bundle.mjs.map +1 -1
  204. data/node_modules/govuk-frontend/dist/govuk/components/phase-banner/_index.scss +12 -6
  205. data/node_modules/govuk-frontend/dist/govuk/components/phase-banner/_index.scss.map +1 -1
  206. data/node_modules/govuk-frontend/dist/govuk/components/phase-banner/fixtures.json +7 -7
  207. data/node_modules/govuk-frontend/dist/govuk/components/phase-banner/template-default.html +1 -1
  208. data/node_modules/govuk-frontend/dist/govuk/components/phase-banner/template.njk +1 -1
  209. data/node_modules/govuk-frontend/dist/govuk/components/radios/_index.scss +7 -6
  210. data/node_modules/govuk-frontend/dist/govuk/components/radios/_index.scss.map +1 -1
  211. data/node_modules/govuk-frontend/dist/govuk/components/select/_index.scss +5 -4
  212. data/node_modules/govuk-frontend/dist/govuk/components/select/_index.scss.map +1 -1
  213. data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/_index.scss +50 -71
  214. data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/_index.scss.map +1 -1
  215. data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/fixtures.json +7 -32
  216. data/node_modules/govuk-frontend/dist/govuk/components/skip-link/_index.scss +3 -2
  217. data/node_modules/govuk-frontend/dist/govuk/components/skip-link/_index.scss.map +1 -1
  218. data/node_modules/govuk-frontend/dist/govuk/components/summary-list/_index.scss +9 -5
  219. data/node_modules/govuk-frontend/dist/govuk/components/summary-list/_index.scss.map +1 -1
  220. data/node_modules/govuk-frontend/dist/govuk/components/table/_index.scss +7 -8
  221. data/node_modules/govuk-frontend/dist/govuk/components/table/_index.scss.map +1 -1
  222. data/node_modules/govuk-frontend/dist/govuk/components/tabs/_index.scss +8 -5
  223. data/node_modules/govuk-frontend/dist/govuk/components/tabs/_index.scss.map +1 -1
  224. data/node_modules/govuk-frontend/dist/govuk/components/tag/_index.scss +66 -31
  225. data/node_modules/govuk-frontend/dist/govuk/components/tag/_index.scss.map +1 -1
  226. data/node_modules/govuk-frontend/dist/govuk/components/tag/fixtures.json +6 -18
  227. data/node_modules/govuk-frontend/dist/govuk/components/tag/template-pink.html +2 -2
  228. data/node_modules/govuk-frontend/dist/govuk/components/tag/template-turquoise.html +2 -2
  229. data/node_modules/govuk-frontend/dist/govuk/components/task-list/_index.scss +7 -5
  230. data/node_modules/govuk-frontend/dist/govuk/components/task-list/_index.scss.map +1 -1
  231. data/node_modules/govuk-frontend/dist/govuk/components/task-list/fixtures.json +13 -25
  232. data/node_modules/govuk-frontend/dist/govuk/components/task-list/template-with-all-possible-colours.html +12 -24
  233. data/node_modules/govuk-frontend/dist/govuk/components/task-list/template-with-hint-text-and-additional-states.html +2 -2
  234. data/node_modules/govuk-frontend/dist/govuk/components/textarea/_index.scss +4 -3
  235. data/node_modules/govuk-frontend/dist/govuk/components/textarea/_index.scss.map +1 -1
  236. data/node_modules/govuk-frontend/dist/govuk/components/warning-text/_index.scss +4 -3
  237. data/node_modules/govuk-frontend/dist/govuk/components/warning-text/_index.scss.map +1 -1
  238. data/node_modules/govuk-frontend/dist/govuk/core/_index.scss +0 -1
  239. data/node_modules/govuk-frontend/dist/govuk/core/_index.scss.map +1 -1
  240. data/node_modules/govuk-frontend/dist/govuk/core/_section-break.scss +2 -1
  241. data/node_modules/govuk-frontend/dist/govuk/core/_section-break.scss.map +1 -1
  242. data/node_modules/govuk-frontend/dist/govuk/core/_typography.scss +3 -17
  243. data/node_modules/govuk-frontend/dist/govuk/core/_typography.scss.map +1 -1
  244. data/node_modules/govuk-frontend/dist/govuk/custom-properties/_breakpoints.scss +17 -0
  245. data/node_modules/govuk-frontend/dist/govuk/custom-properties/_breakpoints.scss.map +1 -0
  246. data/node_modules/govuk-frontend/dist/govuk/custom-properties/_frontend-version.scss +15 -0
  247. data/node_modules/govuk-frontend/dist/govuk/custom-properties/_frontend-version.scss.map +1 -0
  248. data/node_modules/govuk-frontend/dist/govuk/custom-properties/_functional-colours.scss +17 -0
  249. data/node_modules/govuk-frontend/dist/govuk/custom-properties/_functional-colours.scss.map +1 -0
  250. data/node_modules/govuk-frontend/dist/govuk/custom-properties/_index.scss +5 -0
  251. data/node_modules/govuk-frontend/dist/govuk/custom-properties/_index.scss.map +1 -0
  252. data/node_modules/govuk-frontend/dist/govuk/govuk-frontend.min.css +2 -2
  253. data/node_modules/govuk-frontend/dist/govuk/govuk-frontend.min.css.map +1 -1
  254. data/node_modules/govuk-frontend/dist/govuk/govuk-frontend.min.js +1 -1
  255. data/node_modules/govuk-frontend/dist/govuk/govuk-frontend.min.js.map +1 -1
  256. data/node_modules/govuk-frontend/dist/govuk/helpers/_colour.scss +168 -82
  257. data/node_modules/govuk-frontend/dist/govuk/helpers/_colour.scss.map +1 -1
  258. data/node_modules/govuk-frontend/dist/govuk/helpers/_focused.scss +8 -7
  259. data/node_modules/govuk-frontend/dist/govuk/helpers/_focused.scss.map +1 -1
  260. data/node_modules/govuk-frontend/dist/govuk/helpers/_links.scss +23 -39
  261. data/node_modules/govuk-frontend/dist/govuk/helpers/_links.scss.map +1 -1
  262. data/node_modules/govuk-frontend/dist/govuk/helpers/_typography.scss +2 -26
  263. data/node_modules/govuk-frontend/dist/govuk/helpers/_typography.scss.map +1 -1
  264. data/node_modules/govuk-frontend/dist/govuk/i18n.mjs.map +1 -1
  265. data/node_modules/govuk-frontend/dist/govuk/init.mjs +1 -2
  266. data/node_modules/govuk-frontend/dist/govuk/init.mjs.map +1 -1
  267. data/node_modules/govuk-frontend/dist/govuk/macros/logo.njk +4 -26
  268. data/node_modules/govuk-frontend/dist/govuk/objects/_form-group.scss +2 -1
  269. data/node_modules/govuk-frontend/dist/govuk/objects/_form-group.scss.map +1 -1
  270. data/node_modules/govuk-frontend/dist/govuk/objects/_template.scss +2 -6
  271. data/node_modules/govuk-frontend/dist/govuk/objects/_template.scss.map +1 -1
  272. data/node_modules/govuk-frontend/dist/govuk/overrides/_typography.scss +0 -2
  273. data/node_modules/govuk-frontend/dist/govuk/overrides/_typography.scss.map +1 -1
  274. data/node_modules/govuk-frontend/dist/govuk/settings/_colours-applied.scss +3 -188
  275. data/node_modules/govuk-frontend/dist/govuk/settings/_colours-applied.scss.map +1 -1
  276. data/node_modules/govuk-frontend/dist/govuk/settings/_colours-functional.scss +366 -0
  277. data/node_modules/govuk-frontend/dist/govuk/settings/_colours-functional.scss.map +1 -0
  278. data/node_modules/govuk-frontend/dist/govuk/settings/_colours-organisations.scss +8 -254
  279. data/node_modules/govuk-frontend/dist/govuk/settings/_colours-organisations.scss.map +1 -1
  280. data/node_modules/govuk-frontend/dist/govuk/settings/_colours-palette.scss +117 -25
  281. data/node_modules/govuk-frontend/dist/govuk/settings/_colours-palette.scss.map +1 -1
  282. data/node_modules/govuk-frontend/dist/govuk/settings/_custom-properties.scss +18 -0
  283. data/node_modules/govuk-frontend/dist/govuk/settings/_custom-properties.scss.map +1 -0
  284. data/node_modules/govuk-frontend/dist/govuk/settings/_index.scss +3 -14
  285. data/node_modules/govuk-frontend/dist/govuk/settings/_index.scss.map +1 -1
  286. data/node_modules/govuk-frontend/dist/govuk/settings/_media-queries.scss +0 -16
  287. data/node_modules/govuk-frontend/dist/govuk/settings/_media-queries.scss.map +1 -1
  288. data/node_modules/govuk-frontend/dist/govuk/settings/_typography-responsive.scss +12 -189
  289. data/node_modules/govuk-frontend/dist/govuk/settings/_typography-responsive.scss.map +1 -1
  290. data/node_modules/govuk-frontend/dist/govuk/template.njk +61 -23
  291. data/node_modules/govuk-frontend/dist/govuk/tools/_index.scss +0 -1
  292. data/node_modules/govuk-frontend/dist/govuk/tools/_index.scss.map +1 -1
  293. data/node_modules/govuk-frontend/dist/govuk/tools/_px-to-rem.scss +2 -0
  294. data/node_modules/govuk-frontend/dist/govuk/tools/_px-to-rem.scss.map +1 -1
  295. data/node_modules/govuk-frontend/govuk-prototype-kit.config.json +1 -4
  296. data/node_modules/govuk-frontend/package.json +13 -12
  297. metadata +14 -56
  298. data/app/assets/javascripts/govuk_publishing_components/components/layout-header.js +0 -3
  299. data/app/assets/stylesheets/govuk_publishing_components/settings/_colours.scss +0 -5
  300. data/app/assets/stylesheets/govuk_publishing_components/settings/_typography.scss +0 -1
  301. data/app/views/govuk_publishing_components/components/layout_header/_navigation_items.html.erb +0 -34
  302. data/node_modules/govuk-frontend/dist/govuk/all.scss +0 -9
  303. data/node_modules/govuk-frontend/dist/govuk/all.scss.map +0 -1
  304. data/node_modules/govuk-frontend/dist/govuk/assets/rebrand/images/favicon.ico +0 -0
  305. data/node_modules/govuk-frontend/dist/govuk/assets/rebrand/images/favicon.svg +0 -1
  306. data/node_modules/govuk-frontend/dist/govuk/assets/rebrand/images/govuk-crest.svg +0 -1
  307. data/node_modules/govuk-frontend/dist/govuk/assets/rebrand/images/govuk-icon-180.png +0 -0
  308. data/node_modules/govuk-frontend/dist/govuk/assets/rebrand/images/govuk-icon-192.png +0 -0
  309. data/node_modules/govuk-frontend/dist/govuk/assets/rebrand/images/govuk-icon-512.png +0 -0
  310. data/node_modules/govuk-frontend/dist/govuk/assets/rebrand/images/govuk-icon-mask.svg +0 -1
  311. data/node_modules/govuk-frontend/dist/govuk/assets/rebrand/images/govuk-opengraph-image.png +0 -0
  312. data/node_modules/govuk-frontend/dist/govuk/assets/rebrand/manifest.json +0 -39
  313. data/node_modules/govuk-frontend/dist/govuk/components/_all.scss +0 -10
  314. data/node_modules/govuk-frontend/dist/govuk/components/_all.scss.map +0 -1
  315. data/node_modules/govuk-frontend/dist/govuk/components/button/template-input.html +0 -1
  316. data/node_modules/govuk-frontend/dist/govuk/components/header/header.bundle.js +0 -238
  317. data/node_modules/govuk-frontend/dist/govuk/components/header/header.bundle.js.map +0 -1
  318. data/node_modules/govuk-frontend/dist/govuk/components/header/header.bundle.mjs +0 -230
  319. data/node_modules/govuk-frontend/dist/govuk/components/header/header.bundle.mjs.map +0 -1
  320. data/node_modules/govuk-frontend/dist/govuk/components/header/header.mjs +0 -89
  321. data/node_modules/govuk-frontend/dist/govuk/components/header/header.mjs.map +0 -1
  322. data/node_modules/govuk-frontend/dist/govuk/components/header/template-full-width-with-navigation.html +0 -54
  323. data/node_modules/govuk-frontend/dist/govuk/components/header/template-navigation-item-with-html.html +0 -54
  324. data/node_modules/govuk-frontend/dist/govuk/components/header/template-navigation-item-with-text-without-link.html +0 -48
  325. data/node_modules/govuk-frontend/dist/govuk/components/header/template-with-custom-menu-button-text.html +0 -59
  326. data/node_modules/govuk-frontend/dist/govuk/components/header/template-with-full-width-border.html +0 -29
  327. data/node_modules/govuk-frontend/dist/govuk/components/header/template-with-large-navigation.html +0 -119
  328. data/node_modules/govuk-frontend/dist/govuk/components/header/template-with-navigation.html +0 -59
  329. data/node_modules/govuk-frontend/dist/govuk/components/header/template-with-service-name-and-navigation.html +0 -62
  330. data/node_modules/govuk-frontend/dist/govuk/components/header/template-with-service-name-but-no-service-url.html +0 -34
  331. data/node_modules/govuk-frontend/dist/govuk/components/header/template-with-service-name.html +0 -34
  332. data/node_modules/govuk-frontend/dist/govuk/components/header/template-with-st-edwards-crown.html +0 -19
  333. data/node_modules/govuk-frontend/dist/govuk/components/tag/template-light-blue.html +0 -3
  334. data/node_modules/govuk-frontend/dist/govuk/core/_all.scss +0 -10
  335. data/node_modules/govuk-frontend/dist/govuk/core/_all.scss.map +0 -1
  336. data/node_modules/govuk-frontend/dist/govuk/core/_govuk-frontend-properties.scss +0 -15
  337. data/node_modules/govuk-frontend/dist/govuk/core/_govuk-frontend-properties.scss.map +0 -1
  338. data/node_modules/govuk-frontend/dist/govuk/helpers/_all.scss +0 -10
  339. data/node_modules/govuk-frontend/dist/govuk/helpers/_all.scss.map +0 -1
  340. data/node_modules/govuk-frontend/dist/govuk/objects/_all.scss +0 -10
  341. data/node_modules/govuk-frontend/dist/govuk/objects/_all.scss.map +0 -1
  342. data/node_modules/govuk-frontend/dist/govuk/overrides/_all.scss +0 -9
  343. data/node_modules/govuk-frontend/dist/govuk/overrides/_all.scss.map +0 -1
  344. data/node_modules/govuk-frontend/dist/govuk/settings/_all.scss +0 -10
  345. data/node_modules/govuk-frontend/dist/govuk/settings/_all.scss.map +0 -1
  346. data/node_modules/govuk-frontend/dist/govuk/tools/_all.scss +0 -10
  347. data/node_modules/govuk-frontend/dist/govuk/tools/_all.scss.map +0 -1
  348. data/node_modules/govuk-frontend/dist/govuk/tools/_rebrand.scss +0 -65
  349. data/node_modules/govuk-frontend/dist/govuk/tools/_rebrand.scss.map +0 -1
  350. data/node_modules/govuk-frontend/dist/govuk/utilities/_all.scss +0 -10
  351. data/node_modules/govuk-frontend/dist/govuk/utilities/_all.scss.map +0 -1
  352. data/node_modules/govuk-frontend/dist/govuk-prototype-kit/functions.js +0 -25
@@ -26,7 +26,7 @@ $large-input-size: 50px;
26
26
  padding: 0;
27
27
  overflow-x: hidden;
28
28
  background-color: govuk-colour("white");
29
- border: 1px solid $govuk-border-colour;
29
+ border: 1px solid govuk-functional-colour(border);
30
30
  border-top: 0;
31
31
 
32
32
  @include enhance-autocomplete-menu-width($input-size);
@@ -75,21 +75,21 @@ $large-input-size: 50px;
75
75
  .gem-c-search-with-autocomplete__option--focused,
76
76
  .gem-c-search-with-autocomplete__option:hover,
77
77
  .gem-c-search-with-autocomplete__option:focus-visible {
78
- background-color: govuk-colour("light-grey");
78
+ background-color: govuk-colour("black", $variant: "tint-95");
79
79
  outline: none;
80
80
 
81
81
  @include govuk-link-decoration;
82
82
  @include govuk-link-hover-decoration;
83
83
 
84
84
  .gem-c-search-with-autocomplete__suggestion-icon {
85
- background-color: $govuk-text-colour;
85
+ background-color: govuk-functional-colour(text);
86
86
  }
87
87
  }
88
88
 
89
89
  // Styling specifically _only_ for keyboard focus
90
90
  .gem-c-search-with-autocomplete__option:focus-visible {
91
91
  .gem-c-search-with-autocomplete__suggestion-text {
92
- background-color: $govuk-focus-colour;
92
+ background-color: govuk-functional-colour(focus);
93
93
  }
94
94
  }
95
95
 
@@ -98,7 +98,7 @@ $large-input-size: 50px;
98
98
  align-items: center;
99
99
  margin: 0 govuk-spacing(3);
100
100
  padding: govuk-spacing(1) 0;
101
- border-bottom: 1px solid govuk-colour("mid-grey");
101
+ border-bottom: 1px solid govuk-functional-colour("border");
102
102
  }
103
103
 
104
104
  .gem-c-search-with-autocomplete__option:last-child .gem-c-search-with-autocomplete__option-wrapper {
@@ -112,7 +112,7 @@ $large-input-size: 50px;
112
112
  flex: none;
113
113
  mask-image: url("govuk_publishing_components/icon-autocomplete-search-suggestion.svg");
114
114
  -webkit-mask-image: url("govuk_publishing_components/icon-autocomplete-search-suggestion.svg");
115
- background-color: $govuk-secondary-text-colour;
115
+ background-color: govuk-functional-colour(secondary-text);
116
116
  }
117
117
 
118
118
  .gem-c-search-with-autocomplete__suggestion-text {
@@ -138,7 +138,7 @@ $large-input-size: 50px;
138
138
  // Fix top border styling on "borderless" search input when rendered on a GOV.UK blue background
139
139
  .gem-c-search-with-autocomplete.gem-c-search-with-autocomplete--on-govuk-blue {
140
140
  .gem-c-search-with-autocomplete__menu {
141
- border-top: 1px solid $govuk-border-colour;
141
+ border-top: 1px solid govuk-functional-colour(border);
142
142
  }
143
143
  }
144
144
 
@@ -31,7 +31,7 @@ $search-submit-button-hover-colour: $govuk-blue-tint-95;
31
31
 
32
32
  .gem-c-search__label {
33
33
  display: block;
34
- color: $govuk-text-colour;
34
+ color: govuk-functional-colour(text);
35
35
  cursor: text;
36
36
  text-overflow: ellipsis;
37
37
  height: 90%;
@@ -52,19 +52,19 @@ $search-submit-button-hover-colour: $govuk-blue-tint-95;
52
52
  max-width: 68%;
53
53
  padding-left: govuk-spacing(3);
54
54
  z-index: 1;
55
- color: $govuk-secondary-text-colour;
55
+ color: govuk-functional-colour(secondary-text);
56
56
  background: govuk-colour("white");
57
57
  }
58
58
 
59
59
  // match label colour with the label component colour
60
60
  // when javascript is enabled and inline_label option is set to false
61
61
  .govuk-frontend-supported .gem-c-search--separate-label & {
62
- color: $govuk-text-colour;
62
+ color: govuk-functional-colour(text);
63
63
  }
64
64
  }
65
65
 
66
66
  @mixin gem-c-search-input-focus {
67
- outline: $govuk-focus-width solid $govuk-focus-colour;
67
+ outline: $govuk-focus-width solid govuk-functional-colour(focus);
68
68
  // Ensure outline appears outside of the element
69
69
  outline-offset: 0;
70
70
  // Double the border by adding its width again. Use `box-shadow` for this // instead of changing `border-width`
@@ -77,7 +77,7 @@ $search-submit-button-hover-colour: $govuk-blue-tint-95;
77
77
  width: 100%;
78
78
  height: govuk-em(40, 19);
79
79
  padding: govuk-em(6, 19);
80
- border: $govuk-border-width-form-element solid $govuk-input-border-colour;
80
+ border: $govuk-border-width-form-element solid govuk-functional-colour(input-border);
81
81
  background: govuk-colour("white");
82
82
  border-radius: 0; // otherwise iphones apply an automatic border radius
83
83
  box-sizing: border-box;
@@ -137,7 +137,7 @@ $search-submit-button-hover-colour: $govuk-blue-tint-95;
137
137
 
138
138
  &:focus {
139
139
  z-index: 2;
140
- outline: $govuk-focus-width solid $govuk-focus-colour;
140
+ outline: $govuk-focus-width solid govuk-functional-colour(focus);
141
141
  // Double the border by adding its width again. Use `box-shadow` for this // instead of changing `border-width` - this is for consistency with
142
142
  // Also, `outline` cannot be utilised
143
143
  // here as it is already used for the yellow focus state.
@@ -195,7 +195,7 @@ $search-submit-button-hover-colour: $govuk-blue-tint-95;
195
195
 
196
196
  .govuk-frontend-supported & {
197
197
  .gem-c-search__label {
198
- color: $govuk-secondary-text-colour;
198
+ color: govuk-functional-colour(secondary-text);
199
199
  }
200
200
  }
201
201
  }
@@ -206,7 +206,7 @@ $search-submit-button-hover-colour: $govuk-blue-tint-95;
206
206
  color: govuk-colour("white");
207
207
 
208
208
  &:hover {
209
- background-color: color.adjust(govuk-colour("blue"), $lightness: 5%);
209
+ background-color: govuk-colour("blue", $variant: "shade-25");
210
210
  }
211
211
  }
212
212
 
@@ -3,7 +3,7 @@
3
3
  @include govuk-responsive-margin(6, "bottom");
4
4
 
5
5
  @include govuk-media-query($from: tablet) {
6
- box-shadow: inset 0 -1px 0 $govuk-border-colour;
6
+ box-shadow: inset 0 -1px 0 govuk-functional-colour(border);
7
7
  display: flex;
8
8
  }
9
9
  }
@@ -22,7 +22,7 @@
22
22
  }
23
23
 
24
24
  .gem-c-secondary-navigation__list-item {
25
- box-shadow: inset 0 -1px 0 $govuk-border-colour;
25
+ box-shadow: inset 0 -1px 0 govuk-functional-colour(border);
26
26
 
27
27
  @include govuk-media-query($from: tablet) {
28
28
  display: flex;
@@ -56,11 +56,11 @@
56
56
  }
57
57
 
58
58
  .gem-c-secondary-navigation__list-item-link:hover {
59
- color: $govuk-link-hover-colour;
59
+ color: govuk-functional-colour(link-hover);
60
60
  }
61
61
 
62
62
  .gem-c-secondary-navigation__list-item-link:focus {
63
- border-color: $govuk-focus-text-colour;
63
+ border-color: govuk-functional-colour(focus-text);
64
64
  border-left-color: transparent;
65
65
  position: relative;
66
66
  @include govuk-focused-text;
@@ -75,11 +75,11 @@
75
75
  .gem-c-secondary-navigation__list-item-link:link,
76
76
  .gem-c-secondary-navigation__list-item-link:visited {
77
77
  border-color: govuk-colour("blue");
78
- color: $govuk-text-colour;
78
+ color: govuk-functional-colour(text);
79
79
  }
80
80
 
81
81
  .gem-c-secondary-navigation__list-item-link:focus {
82
- border-color: $govuk-focus-text-colour;
82
+ border-color: govuk-functional-colour(focus-text);
83
83
  border-left-color: transparent;
84
84
  @include govuk-focused-text;
85
85
 
@@ -46,20 +46,20 @@ $choices-button-dimension: 12px !default;
46
46
 
47
47
  .choices[data-type*="select-multiple"] .choices__button,
48
48
  .choices[data-type*="text"] .choices__button {
49
- border-color: govuk-colour("mid-grey");
50
- border-right: 1px solid govuk-colour("mid-grey");
49
+ border-color: govuk-functional-colour("border");
50
+ border-right: 1px solid govuk-functional-colour("border");
51
51
  padding: govuk-spacing(2) govuk-spacing(4) govuk-spacing(2) govuk-spacing(2);
52
52
  margin-right: 0;
53
53
 
54
54
  &:hover {
55
- background-color: govuk-colour("mid-grey");
56
- border-color: govuk-colour("dark-grey");
57
- box-shadow: 0 $govuk-border-width-form-element 0 govuk-colour("dark-grey");
55
+ background-color: govuk-colour("black", $variant: "tint-80");
56
+ border-color: govuk-colour("black", $variant: "tint-25");
57
+ box-shadow: 0 $govuk-border-width-form-element 0 govuk-colour("black", $variant: "tint-25");
58
58
  }
59
59
 
60
60
  &:focus {
61
- background-color: $govuk-focus-colour;
62
- box-shadow: 0 $govuk-border-width-form-element 0 $govuk-focus-text-colour;
61
+ background-color: govuk-functional-colour(focus);
62
+ box-shadow: 0 $govuk-border-width-form-element 0 govuk-functional-colour(focus-text);
63
63
  }
64
64
  }
65
65
 
@@ -84,7 +84,7 @@ $choices-button-dimension: 12px !default;
84
84
  }
85
85
 
86
86
  &.govuk-form-group--error .choices:not(.is-active):not(.is-focused):not(.is-open) .choices__inner {
87
- border-color: $govuk-error-colour;
87
+ border-color: govuk-functional-colour(error);
88
88
  }
89
89
 
90
90
  .choices.is-focused,
@@ -99,7 +99,7 @@ $choices-button-dimension: 12px !default;
99
99
 
100
100
  .choices.is-focused .choices__inner,
101
101
  .choices.is-open .choices__inner {
102
- outline: $govuk-focus-width solid $govuk-focus-colour;
102
+ outline: $govuk-focus-width solid govuk-functional-colour(focus);
103
103
  // Ensure outline appears outside of the element
104
104
  outline-offset: 0;
105
105
  // Double the border by adding its width again. Use `box-shadow` to do
@@ -113,7 +113,7 @@ $choices-button-dimension: 12px !default;
113
113
 
114
114
  &:not(:empty) {
115
115
  margin-block-start: 6px;
116
- border-block-start: 1px solid $govuk-border-colour;
116
+ border-block-start: 1px solid govuk-functional-colour(border);
117
117
  padding-block-end: 5px;
118
118
  }
119
119
  }
@@ -124,10 +124,10 @@ $choices-button-dimension: 12px !default;
124
124
  border: 0;
125
125
  padding: 0 0 0 govuk-spacing(2);
126
126
  margin: govuk-spacing(2) govuk-spacing(2) 0 0;
127
- background-color: govuk-colour("light-grey");
128
- box-shadow: 0 $govuk-border-width-form-element 0 govuk-colour("mid-grey");
127
+ background-color: govuk-colour("black", $variant: "tint-95");
128
+ box-shadow: 0 $govuk-border-width-form-element 0 govuk-functional-colour("border");
129
129
  line-height: 1;
130
- color: $govuk-text-colour;
130
+ color: govuk-functional-colour(text);
131
131
 
132
132
  .is-disabled & {
133
133
  opacity: 0.5;
@@ -149,7 +149,7 @@ $choices-button-dimension: 12px !default;
149
149
  .choices__list--dropdown .choices__item,
150
150
  .choices__list[aria-expanded] .choices__item {
151
151
  position: relative;
152
- border-bottom: 1px solid govuk-colour("mid-grey");
152
+ border-bottom: 1px solid govuk-functional-colour("border");
153
153
 
154
154
  &:last-child {
155
155
  border-bottom: 0;
@@ -168,7 +168,7 @@ $choices-button-dimension: 12px !default;
168
168
  @include govuk-typography-weight-bold;
169
169
  color: govuk-colour("black"); // Choices.js doesn't use a variable for this color for some reason :(
170
170
  padding: govuk-spacing(6) govuk-spacing(2) govuk-spacing(2);
171
- border-bottom: 1px solid govuk-colour("mid-grey");
171
+ border-bottom: 1px solid govuk-functional-colour("border");
172
172
  cursor: default;
173
173
  }
174
174
  }
@@ -128,7 +128,7 @@ $column-width: 9.5em;
128
128
 
129
129
  .gem-c-share-links--square-icons {
130
130
  .gem-c-share-links__link-icon {
131
- background-color: govuk-colour("light-grey");
131
+ background-color: govuk-colour("black", $variant: "tint-95");
132
132
  color: govuk-colour("black");
133
133
  padding: govuk-spacing(2);
134
134
  }
@@ -138,7 +138,7 @@ $column-width: 9.5em;
138
138
  }
139
139
 
140
140
  .gem-c-share-links__link:focus {
141
- box-shadow: 0 0 $govuk-focus-colour, 0 4px govuk-colour("black");
141
+ box-shadow: 0 0 govuk-functional-colour(focus), 0 4px govuk-colour("black");
142
142
  }
143
143
  }
144
144
 
@@ -21,8 +21,8 @@
21
21
 
22
22
  .gem-c-signup-link--with-background-and-border {
23
23
  padding: govuk-spacing(6);
24
- background-color: govuk-colour("light-grey");
25
- border: 1px solid $govuk-border-colour;
24
+ background-color: govuk-colour("black", $variant: "tint-95");
25
+ border: 1px solid govuk-functional-colour(border);
26
26
  }
27
27
 
28
28
  .gem-c-signup-link--link-only .gem-c-signup-link__link {
@@ -1,8 +1,8 @@
1
1
  .gem-c-single-page-notification-button__submit {
2
2
  padding: govuk-spacing(2);
3
3
  margin: govuk-spacing(0);
4
- border: 1px solid govuk-colour("dark-grey");
5
- color: $govuk-link-colour;
4
+ border: 1px solid govuk-colour("black", $variant: "tint-25");
5
+ color: govuk-functional-colour(link);
6
6
  cursor: pointer;
7
7
  background: none;
8
8
  @include govuk-font(16);
@@ -13,12 +13,12 @@
13
13
  }
14
14
 
15
15
  &:hover {
16
- background-color: govuk-colour("light-grey");
17
- color: $govuk-link-hover-colour;
16
+ background-color: govuk-colour("black", $variant: "tint-95");
17
+ color: govuk-functional-colour(link-hover);
18
18
 
19
19
  &:focus {
20
- color: $govuk-text-colour;
21
- box-shadow: 0 $govuk-focus-width $govuk-text-colour;
20
+ color: govuk-functional-colour(text);
21
+ box-shadow: 0 $govuk-focus-width govuk-functional-colour(text);
22
22
  }
23
23
  }
24
24
  }
@@ -1,7 +1,7 @@
1
1
  .gem-c-step-nav-header {
2
2
  position: relative;
3
3
  padding: 10px;
4
- background: govuk-colour("light-grey");
4
+ background: govuk-colour("black", $variant: "tint-95");
5
5
  border-bottom: solid 1px govuk-colour("blue");
6
6
  margin-top: govuk-spacing(3);
7
7
  @include govuk-font(24, $weight: bold);
@@ -21,7 +21,7 @@
21
21
  .gem-c-step-nav-header {
22
22
  padding: 0 0 govuk-spacing(4) 0;
23
23
  background: none;
24
- border-color: $govuk-print-text-colour;
24
+ border-color: govuk-functional-colour(print-text);
25
25
  }
26
26
 
27
27
  .gem-c-step-nav-header__part-of {
@@ -46,6 +46,6 @@
46
46
  @include govuk-media-query($media-type: print) {
47
47
  .gem-c-step-nav-related {
48
48
  background: none;
49
- border-color: $govuk-print-text-colour;
49
+ border-color: govuk-functional-colour(print-text);
50
50
  }
51
51
  }
@@ -1,7 +1,7 @@
1
1
  $stroke-width: 1px;
2
2
  $number-circle-size: 30px;
3
3
  $number-circle-size-large: 35px;
4
- $top-border: solid 1px govuk-colour("mid-grey");
4
+ $top-border: solid 1px govuk-functional-colour("border");
5
5
 
6
6
  @mixin step-nav-vertical-line($line-style: solid) {
7
7
  content: "";
@@ -9,7 +9,7 @@ $top-border: solid 1px govuk-colour("mid-grey");
9
9
  z-index: 2;
10
10
  width: 0;
11
11
  height: 100%;
12
- border-left: $line-style $stroke-width govuk-colour("mid-grey");
12
+ border-left: $line-style $stroke-width govuk-functional-colour("border");
13
13
  background: govuk-colour("white");
14
14
  }
15
15
 
@@ -112,14 +112,14 @@ $top-border: solid 1px govuk-colour("mid-grey");
112
112
  }
113
113
 
114
114
  .gem-c-step-nav__button {
115
- color: $govuk-link-colour;
115
+ color: govuk-functional-colour(link);
116
116
  cursor: pointer;
117
117
  background: none;
118
118
  border: 0;
119
119
  margin: 0;
120
120
 
121
121
  &:hover {
122
- background: govuk-colour("light-grey");
122
+ background: govuk-colour("black", $variant: "tint-95");
123
123
  // Chevron icon interaction states
124
124
  .gem-c-step-nav__chevron {
125
125
  color: govuk-colour("black");
@@ -127,11 +127,11 @@ $top-border: solid 1px govuk-colour("mid-grey");
127
127
  }
128
128
 
129
129
  .gem-c-step-nav__chevron::after {
130
- color: govuk-colour("light-grey");
130
+ color: govuk-colour("black", $variant: "tint-95");
131
131
  }
132
132
 
133
133
  .gem-c-step-nav__button-text {
134
- color: $govuk-text-colour;
134
+ color: govuk-functional-colour(text);
135
135
  }
136
136
  }
137
137
 
@@ -144,7 +144,7 @@ $top-border: solid 1px govuk-colour("mid-grey");
144
144
  }
145
145
 
146
146
  .gem-c-step-nav__chevron::after {
147
- color: $govuk-focus-colour;
147
+ color: govuk-functional-colour(focus);
148
148
  }
149
149
 
150
150
  .gem-c-step-nav____title-text-focus,
@@ -261,7 +261,7 @@ $top-border: solid 1px govuk-colour("mid-grey");
261
261
  margin-left: calc($number-circle-size / 4);
262
262
  width: calc($number-circle-size / 2);
263
263
  height: 0;
264
- border-bottom: solid $stroke-width govuk-colour("mid-grey");
264
+ border-bottom: solid $stroke-width govuk-functional-colour("border");
265
265
  }
266
266
 
267
267
  &::after {
@@ -319,7 +319,7 @@ $top-border: solid 1px govuk-colour("mid-grey");
319
319
  }
320
320
 
321
321
  .gem-c-step-nav__circle--number {
322
- border: solid $stroke-width govuk-colour("mid-grey");
322
+ border: solid $stroke-width govuk-functional-colour("border");
323
323
  @include step-nav-font(16, $weight: bold, $line-height: 29px);
324
324
 
325
325
  .gem-c-step-nav--large & {
@@ -404,7 +404,7 @@ $top-border: solid 1px govuk-colour("mid-grey");
404
404
 
405
405
  .gem-c-step-nav__toggle-link {
406
406
  display: block;
407
- color: $govuk-link-colour;
407
+ color: govuk-functional-colour(link);
408
408
  text-transform: capitalize;
409
409
  padding-bottom: govuk-spacing(6);
410
410
  @include step-nav-font(15, $line-height: 1.2);
@@ -530,7 +530,7 @@ $top-border: solid 1px govuk-colour("mid-grey");
530
530
  .gem-c-step-nav__context {
531
531
  display: inline-block;
532
532
  font-weight: normal;
533
- color: govuk-colour("dark-grey");
533
+ color: govuk-functional-colour("secondary-text");
534
534
 
535
535
  &::before {
536
536
  content: " \2013\00a0"; // dash followed by  
@@ -1,11 +1,11 @@
1
1
  .gem-c-sub-navigation-menu {
2
- border-bottom: 1px solid $govuk-border-colour;
2
+ border-bottom: 1px solid govuk-functional-colour(border);
3
3
  @include govuk-font(19);
4
4
  }
5
5
 
6
6
  .gem-c-sub-navigation-menu__button-container {
7
- background-color: govuk-colour("light-grey");
8
- border-bottom: 1px solid govuk-colour("mid-grey");
7
+ background-color: govuk-colour("black", $variant: "tint-95");
8
+ border-bottom: 1px solid govuk-functional-colour("border");
9
9
  }
10
10
 
11
11
  .gem-c-sub-navigation-menu__button-container--collapsed {
@@ -21,7 +21,7 @@
21
21
  padding-right: govuk-spacing(3);
22
22
  // Invisible border so the width of the collapsed button is the same as the expanded one.
23
23
  border-left: 1px solid rgba(0, 0, 0, 0);
24
- border-right: 1px solid govuk-colour("light-grey");
24
+ border-right: 1px solid govuk-colour("black", $variant: "tint-95");
25
25
  cursor: pointer;
26
26
  position: relative;
27
27
  @include govuk-font(19);
@@ -59,11 +59,11 @@
59
59
  }
60
60
 
61
61
  .gem-c-sub-navigation-menu__button[aria-expanded="true"] {
62
- border-color: govuk-colour("mid-grey");
62
+ border-color: govuk-functional-colour("border");
63
63
  background-color: govuk-colour("white");
64
64
 
65
65
  @include govuk-media-query($until: tablet) {
66
- border-left: 1px solid govuk-colour("light-grey"); // Hide left border on mobile while preserving button width.
66
+ border-left: 1px solid govuk-colour("black", $variant: "tint-95"); // Hide left border on mobile while preserving button width.
67
67
  }
68
68
 
69
69
  // Expanded arrow icon
@@ -73,8 +73,8 @@
73
73
  }
74
74
 
75
75
  .gem-c-sub-navigation-menu__button[aria-expanded="true"]:focus {
76
- background-color: $govuk-focus-colour;
77
- border-color: $govuk-focus-colour;
76
+ background-color: govuk-functional-colour(focus);
77
+ border-color: govuk-functional-colour(focus);
78
78
  }
79
79
 
80
80
  // Adds a white border at the bottom of the button when the button is expanded.
@@ -98,7 +98,7 @@
98
98
  }
99
99
 
100
100
  .gem-c-sub-navigation-menu__button:hover::before {
101
- border-color: govuk-colour("dark-blue");
101
+ border-color: govuk-colour("blue", $variant: "shade-50");
102
102
  }
103
103
 
104
104
  .gem-c-sub-navigation-menu__nav-container {
@@ -66,11 +66,11 @@
66
66
  }
67
67
 
68
68
  &:not(.brand__color) {
69
- color: $govuk-link-colour;
69
+ color: govuk-functional-colour(link);
70
70
  }
71
71
 
72
72
  &:hover {
73
- color: $govuk-link-hover-colour;
73
+ color: govuk-functional-colour(link-hover);
74
74
  }
75
75
 
76
76
  &:visited,
@@ -80,8 +80,8 @@
80
80
  }
81
81
 
82
82
  &:focus {
83
- color: $govuk-focus-text-colour;
84
- border: 1px solid $govuk-focus-colour;
83
+ color: govuk-functional-colour(focus-text);
84
+ border: 1px solid govuk-functional-colour(focus);
85
85
  outline: 3px solid transparent;
86
86
  }
87
87
 
@@ -94,7 +94,7 @@
94
94
  .gem-c-subscription-links__feed-box {
95
95
  padding: govuk-spacing(3);
96
96
  margin-bottom: govuk-spacing(3);
97
- background: govuk-colour("light-grey");
97
+ background: govuk-colour("black", $variant: "tint-95");
98
98
 
99
99
  .govuk-frontend-supported &.js-hidden {
100
100
  display: none;
@@ -5,14 +5,14 @@
5
5
  .gem-c-success-alert {
6
6
  break-inside: avoid;
7
7
  background: none;
8
- border-color: $govuk-print-text-colour;
8
+ border-color: govuk-functional-colour(print-text);
9
9
 
10
10
  * {
11
- color: $govuk-print-text-colour !important;
11
+ color: govuk-functional-colour(print-text) !important;
12
12
  }
13
13
 
14
14
  .govuk-notification-banner__header {
15
- border-bottom: 1pt solid $govuk-print-text-colour;
15
+ border-bottom: 1pt solid govuk-functional-colour(print-text);
16
16
  }
17
17
 
18
18
  .govuk-notification-banner__title {
@@ -1,6 +1,6 @@
1
1
  .gem-c-summary-banner {
2
2
  direction: ltr;
3
- background: $govuk-brand-colour;
3
+ background: govuk-functional-colour(brand);
4
4
  color: govuk-colour("white");
5
5
  padding: govuk-spacing(6) govuk-spacing(3) govuk-spacing(3);
6
6
  clear: both;
@@ -1,19 +1,19 @@
1
1
  @import "govuk/components/table/table";
2
2
 
3
3
  $table-border-width: 1px;
4
- $table-border-colour: govuk-colour("mid-grey");
4
+ $table-border-colour: govuk-functional-colour("border");
5
5
  $table-header-border-width: 2px;
6
- $table-header-background-colour: govuk-colour("light-grey");
6
+ $table-header-background-colour: govuk-colour("black", $variant: "tint-95");
7
7
  $sort-link-active-colour: govuk-colour("white");
8
8
  $sort-link-arrow-size: 14px;
9
9
  $sort-link-arrow-size-small: 8px;
10
10
  $sort-link-arrow-spacing: calc($sort-link-arrow-size / 2);
11
- $table-row-hover-background-colour: rgba(43, 140, 196, .2);
12
- $table-row-even-background-colour: govuk-colour("light-grey");
11
+ $table-row-hover-background-colour: govuk-colour("blue", $variant: "tint-80");
12
+ $table-row-even-background-colour: govuk-colour("black", $variant: "tint-95");
13
13
 
14
14
  .govuk-table__cell:empty,
15
15
  .govuk-table__cell--empty {
16
- color: $govuk-secondary-text-colour;
16
+ color: govuk-functional-colour(secondary-text);
17
17
  }
18
18
 
19
19
  .govuk-table--sortable {
@@ -35,7 +35,7 @@ $table-row-even-background-colour: govuk-colour("light-grey");
35
35
  display: inline-block;
36
36
  position: relative;
37
37
  padding-right: $sort-link-arrow-size;
38
- color: $govuk-link-colour;
38
+ color: govuk-functional-colour(link);
39
39
  text-decoration: none;
40
40
  @include govuk-link-style-no-visited-state;
41
41
  }
@@ -63,7 +63,7 @@ $table-row-even-background-colour: govuk-colour("light-grey");
63
63
 
64
64
  .govuk-table__header--active {
65
65
  color: $sort-link-active-colour;
66
- background: $govuk-link-colour;
66
+ background: govuk-functional-colour(link);
67
67
 
68
68
  .app-table__sort-link {
69
69
  padding-right: govuk-spacing(4);
@@ -76,7 +76,7 @@ $table-row-even-background-colour: govuk-colour("light-grey");
76
76
  }
77
77
 
78
78
  &:focus {
79
- color: $govuk-focus-text-colour;
79
+ color: govuk-functional-colour(focus-text);
80
80
  }
81
81
  }
82
82
 
@@ -109,6 +109,11 @@ $table-row-even-background-colour: govuk-colour("light-grey");
109
109
  .govuk-table__row {
110
110
  &:hover {
111
111
  background-color: $table-row-hover-background-colour;
112
+
113
+ .govuk-table__cell:empty,
114
+ .govuk-table__cell--empty {
115
+ color: govuk-functional-colour(text);
116
+ }
112
117
  }
113
118
 
114
119
  &:nth-child(even) {
@@ -139,13 +144,13 @@ $table-row-even-background-colour: govuk-colour("light-grey");
139
144
  outline: none;
140
145
 
141
146
  * {
142
- color: $govuk-print-text-colour !important;
147
+ color: govuk-functional-colour(print-text) !important;
143
148
  background: none !important;
144
149
  }
145
150
 
146
151
  .govuk-table__header,
147
152
  .govuk-table__cell {
148
- border-bottom: 1px solid $govuk-print-text-colour !important;
153
+ border-bottom: 1px solid govuk-functional-colour(print-text) !important;
149
154
  }
150
155
 
151
156
  .govuk-table__header {
@@ -6,7 +6,7 @@
6
6
 
7
7
  @include govuk-media-query($media-type: print) {
8
8
  .gem-c-tag.govuk-tag {
9
- color: $govuk-print-text-colour;
9
+ color: govuk-functional-colour(print-text);
10
10
  background: none;
11
11
  border: 2px solid govuk-colour("black");
12
12
  }