govuk_publishing_components 67.1.0 → 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 (343) 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/_glance_metric.html.erb +1 -1
  84. data/app/views/govuk_publishing_components/components/_layout_for_admin.html.erb +1 -1
  85. data/app/views/govuk_publishing_components/components/_layout_for_public.html.erb +1 -1
  86. data/app/views/govuk_publishing_components/components/_layout_header.html.erb +14 -36
  87. data/app/views/govuk_publishing_components/components/_layout_super_navigation_header.html.erb +1 -1
  88. data/app/views/govuk_publishing_components/components/_tag.html.erb +1 -1
  89. data/app/views/govuk_publishing_components/components/docs/layout_header.yml +0 -15
  90. data/app/views/govuk_publishing_components/components/docs/tag.yml +4 -8
  91. data/app/views/govuk_publishing_components/components/layout_header/_header_logo.html.erb +4 -13
  92. data/app/views/layouts/govuk_publishing_components/application.html.erb +1 -1
  93. data/config/initializers/assets.rb +1 -1
  94. data/lib/govuk_publishing_components/version.rb +1 -1
  95. data/node_modules/govuk-frontend/README.md +1 -1
  96. data/node_modules/govuk-frontend/dist/govuk/_base.scss +1 -0
  97. data/node_modules/govuk-frontend/dist/govuk/_base.scss.map +1 -1
  98. data/node_modules/govuk-frontend/dist/govuk/all.bundle.js +21 -95
  99. data/node_modules/govuk-frontend/dist/govuk/all.bundle.js.map +1 -1
  100. data/node_modules/govuk-frontend/dist/govuk/all.bundle.mjs +22 -95
  101. data/node_modules/govuk-frontend/dist/govuk/all.bundle.mjs.map +1 -1
  102. data/node_modules/govuk-frontend/dist/govuk/all.mjs +0 -1
  103. data/node_modules/govuk-frontend/dist/govuk/all.mjs.map +1 -1
  104. data/node_modules/govuk-frontend/dist/govuk/assets/images/favicon.ico +0 -0
  105. data/node_modules/govuk-frontend/dist/govuk/assets/images/favicon.svg +1 -1
  106. data/node_modules/govuk-frontend/dist/govuk/assets/images/govuk-icon-180.png +0 -0
  107. data/node_modules/govuk-frontend/dist/govuk/assets/images/govuk-icon-192.png +0 -0
  108. data/node_modules/govuk-frontend/dist/govuk/assets/images/govuk-icon-512.png +0 -0
  109. data/node_modules/govuk-frontend/dist/govuk/assets/images/govuk-opengraph-image.png +0 -0
  110. data/node_modules/govuk-frontend/dist/govuk/common/govuk-frontend-version.mjs +1 -1
  111. data/node_modules/govuk-frontend/dist/govuk/components/accordion/_index.scss +14 -11
  112. data/node_modules/govuk-frontend/dist/govuk/components/accordion/_index.scss.map +1 -1
  113. data/node_modules/govuk-frontend/dist/govuk/components/accordion/accordion.bundle.js.map +1 -1
  114. data/node_modules/govuk-frontend/dist/govuk/components/accordion/accordion.bundle.mjs.map +1 -1
  115. data/node_modules/govuk-frontend/dist/govuk/components/back-link/_index.scss +2 -2
  116. data/node_modules/govuk-frontend/dist/govuk/components/back-link/_index.scss.map +1 -1
  117. data/node_modules/govuk-frontend/dist/govuk/components/breadcrumbs/_index.scss +1 -1
  118. data/node_modules/govuk-frontend/dist/govuk/components/breadcrumbs/_index.scss.map +1 -1
  119. data/node_modules/govuk-frontend/dist/govuk/components/button/_index.scss +16 -19
  120. data/node_modules/govuk-frontend/dist/govuk/components/button/_index.scss.map +1 -1
  121. data/node_modules/govuk-frontend/dist/govuk/components/button/fixtures.json +7 -95
  122. data/node_modules/govuk-frontend/dist/govuk/components/button/macro-options.json +12 -19
  123. data/node_modules/govuk-frontend/dist/govuk/components/button/template.njk +8 -20
  124. data/node_modules/govuk-frontend/dist/govuk/components/character-count/_index.scss +2 -2
  125. data/node_modules/govuk-frontend/dist/govuk/components/character-count/_index.scss.map +1 -1
  126. data/node_modules/govuk-frontend/dist/govuk/components/character-count/character-count.bundle.js +19 -9
  127. data/node_modules/govuk-frontend/dist/govuk/components/character-count/character-count.bundle.js.map +1 -1
  128. data/node_modules/govuk-frontend/dist/govuk/components/character-count/character-count.bundle.mjs +19 -9
  129. data/node_modules/govuk-frontend/dist/govuk/components/character-count/character-count.bundle.mjs.map +1 -1
  130. data/node_modules/govuk-frontend/dist/govuk/components/character-count/character-count.mjs +19 -9
  131. data/node_modules/govuk-frontend/dist/govuk/components/character-count/character-count.mjs.map +1 -1
  132. data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/_index.scss +7 -6
  133. data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/_index.scss.map +1 -1
  134. data/node_modules/govuk-frontend/dist/govuk/components/cookie-banner/_index.scss +2 -5
  135. data/node_modules/govuk-frontend/dist/govuk/components/cookie-banner/_index.scss.map +1 -1
  136. data/node_modules/govuk-frontend/dist/govuk/components/cookie-banner/fixtures.json +4 -40
  137. data/node_modules/govuk-frontend/dist/govuk/components/cookie-banner/template-default.html +2 -2
  138. data/node_modules/govuk-frontend/dist/govuk/components/cookie-banner/template-with-html.html +2 -2
  139. data/node_modules/govuk-frontend/dist/govuk/components/details/_index.scss +6 -4
  140. data/node_modules/govuk-frontend/dist/govuk/components/details/_index.scss.map +1 -1
  141. data/node_modules/govuk-frontend/dist/govuk/components/error-message/_index.scss +1 -1
  142. data/node_modules/govuk-frontend/dist/govuk/components/error-message/_index.scss.map +1 -1
  143. data/node_modules/govuk-frontend/dist/govuk/components/error-summary/_index.scss +4 -2
  144. data/node_modules/govuk-frontend/dist/govuk/components/error-summary/_index.scss.map +1 -1
  145. data/node_modules/govuk-frontend/dist/govuk/components/exit-this-page/exit-this-page.bundle.js.map +1 -1
  146. data/node_modules/govuk-frontend/dist/govuk/components/exit-this-page/exit-this-page.bundle.mjs.map +1 -1
  147. data/node_modules/govuk-frontend/dist/govuk/components/file-upload/_index.scss +28 -37
  148. data/node_modules/govuk-frontend/dist/govuk/components/file-upload/_index.scss.map +1 -1
  149. data/node_modules/govuk-frontend/dist/govuk/components/file-upload/file-upload.bundle.js.map +1 -1
  150. data/node_modules/govuk-frontend/dist/govuk/components/file-upload/file-upload.bundle.mjs.map +1 -1
  151. data/node_modules/govuk-frontend/dist/govuk/components/file-upload/fixtures.json +1 -1
  152. data/node_modules/govuk-frontend/dist/govuk/components/file-upload/macro-options.json +0 -7
  153. data/node_modules/govuk-frontend/dist/govuk/components/file-upload/template.njk +0 -1
  154. data/node_modules/govuk-frontend/dist/govuk/components/footer/_index.scss +18 -23
  155. data/node_modules/govuk-frontend/dist/govuk/components/footer/_index.scss.map +1 -1
  156. data/node_modules/govuk-frontend/dist/govuk/components/footer/fixtures.json +25 -38
  157. data/node_modules/govuk-frontend/dist/govuk/components/footer/macro-options.json +0 -6
  158. data/node_modules/govuk-frontend/dist/govuk/components/footer/template-default.html +23 -2
  159. data/node_modules/govuk-frontend/dist/govuk/components/footer/template-full-gds-example.html +23 -2
  160. data/node_modules/govuk-frontend/dist/govuk/components/footer/template-three-equal-columns.html +23 -2
  161. data/node_modules/govuk-frontend/dist/govuk/components/footer/template-with-custom-html-content-licence-and-copyright-notice.html +23 -2
  162. data/node_modules/govuk-frontend/dist/govuk/components/footer/template-with-custom-meta.html +23 -2
  163. data/node_modules/govuk-frontend/dist/govuk/components/footer/template-with-custom-text-content-licence-and-copyright-notice.html +23 -2
  164. data/node_modules/govuk-frontend/dist/govuk/components/footer/template-with-default-width-navigation-one-column.html +23 -2
  165. data/node_modules/govuk-frontend/dist/govuk/components/footer/template-with-default-width-navigation-two-columns.html +23 -2
  166. data/node_modules/govuk-frontend/dist/govuk/components/footer/template-with-meta-links-and-meta-content.html +23 -2
  167. data/node_modules/govuk-frontend/dist/govuk/components/footer/template-with-navigation.html +23 -2
  168. data/node_modules/govuk-frontend/dist/govuk/components/footer/template-with-no-content-licence.html +23 -2
  169. data/node_modules/govuk-frontend/dist/govuk/components/footer/template-with-only-custom-meta.html +23 -2
  170. data/node_modules/govuk-frontend/dist/govuk/components/footer/template-with-only-meta-links.html +23 -2
  171. data/node_modules/govuk-frontend/dist/govuk/components/footer/template.njk +6 -11
  172. data/node_modules/govuk-frontend/dist/govuk/components/header/_index.scss +85 -457
  173. data/node_modules/govuk-frontend/dist/govuk/components/header/_index.scss.map +1 -1
  174. data/node_modules/govuk-frontend/dist/govuk/components/header/fixtures.json +7 -536
  175. data/node_modules/govuk-frontend/dist/govuk/components/header/macro-options.json +2 -101
  176. data/node_modules/govuk-frontend/dist/govuk/components/header/template-default.html +7 -6
  177. data/node_modules/govuk-frontend/dist/govuk/components/header/template-full-width.html +7 -6
  178. data/node_modules/govuk-frontend/dist/govuk/components/header/template-with-product-name.html +7 -6
  179. data/node_modules/govuk-frontend/dist/govuk/components/header/template.njk +4 -50
  180. data/node_modules/govuk-frontend/dist/govuk/components/hint/_index.scss +1 -1
  181. data/node_modules/govuk-frontend/dist/govuk/components/hint/_index.scss.map +1 -1
  182. data/node_modules/govuk-frontend/dist/govuk/components/input/_index.scss +7 -5
  183. data/node_modules/govuk-frontend/dist/govuk/components/input/_index.scss.map +1 -1
  184. data/node_modules/govuk-frontend/dist/govuk/components/inset-text/_index.scss +2 -1
  185. data/node_modules/govuk-frontend/dist/govuk/components/inset-text/_index.scss.map +1 -1
  186. data/node_modules/govuk-frontend/dist/govuk/components/label/fixtures.json +2 -2
  187. data/node_modules/govuk-frontend/dist/govuk/components/notification-banner/_index.scss +8 -6
  188. data/node_modules/govuk-frontend/dist/govuk/components/notification-banner/_index.scss.map +1 -1
  189. data/node_modules/govuk-frontend/dist/govuk/components/pagination/_index.scss +9 -10
  190. data/node_modules/govuk-frontend/dist/govuk/components/pagination/_index.scss.map +1 -1
  191. data/node_modules/govuk-frontend/dist/govuk/components/panel/_index.scss +2 -2
  192. data/node_modules/govuk-frontend/dist/govuk/components/panel/_index.scss.map +1 -1
  193. data/node_modules/govuk-frontend/dist/govuk/components/password-input/password-input.bundle.js.map +1 -1
  194. data/node_modules/govuk-frontend/dist/govuk/components/password-input/password-input.bundle.mjs.map +1 -1
  195. data/node_modules/govuk-frontend/dist/govuk/components/phase-banner/_index.scss +12 -6
  196. data/node_modules/govuk-frontend/dist/govuk/components/phase-banner/_index.scss.map +1 -1
  197. data/node_modules/govuk-frontend/dist/govuk/components/phase-banner/fixtures.json +7 -7
  198. data/node_modules/govuk-frontend/dist/govuk/components/phase-banner/template-default.html +1 -1
  199. data/node_modules/govuk-frontend/dist/govuk/components/phase-banner/template.njk +1 -1
  200. data/node_modules/govuk-frontend/dist/govuk/components/radios/_index.scss +7 -6
  201. data/node_modules/govuk-frontend/dist/govuk/components/radios/_index.scss.map +1 -1
  202. data/node_modules/govuk-frontend/dist/govuk/components/select/_index.scss +5 -4
  203. data/node_modules/govuk-frontend/dist/govuk/components/select/_index.scss.map +1 -1
  204. data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/_index.scss +50 -71
  205. data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/_index.scss.map +1 -1
  206. data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/fixtures.json +7 -32
  207. data/node_modules/govuk-frontend/dist/govuk/components/skip-link/_index.scss +3 -2
  208. data/node_modules/govuk-frontend/dist/govuk/components/skip-link/_index.scss.map +1 -1
  209. data/node_modules/govuk-frontend/dist/govuk/components/summary-list/_index.scss +9 -5
  210. data/node_modules/govuk-frontend/dist/govuk/components/summary-list/_index.scss.map +1 -1
  211. data/node_modules/govuk-frontend/dist/govuk/components/table/_index.scss +7 -8
  212. data/node_modules/govuk-frontend/dist/govuk/components/table/_index.scss.map +1 -1
  213. data/node_modules/govuk-frontend/dist/govuk/components/tabs/_index.scss +8 -5
  214. data/node_modules/govuk-frontend/dist/govuk/components/tabs/_index.scss.map +1 -1
  215. data/node_modules/govuk-frontend/dist/govuk/components/tag/_index.scss +66 -31
  216. data/node_modules/govuk-frontend/dist/govuk/components/tag/_index.scss.map +1 -1
  217. data/node_modules/govuk-frontend/dist/govuk/components/tag/fixtures.json +6 -18
  218. data/node_modules/govuk-frontend/dist/govuk/components/tag/template-pink.html +2 -2
  219. data/node_modules/govuk-frontend/dist/govuk/components/tag/template-turquoise.html +2 -2
  220. data/node_modules/govuk-frontend/dist/govuk/components/task-list/_index.scss +7 -5
  221. data/node_modules/govuk-frontend/dist/govuk/components/task-list/_index.scss.map +1 -1
  222. data/node_modules/govuk-frontend/dist/govuk/components/task-list/fixtures.json +13 -25
  223. data/node_modules/govuk-frontend/dist/govuk/components/task-list/template-with-all-possible-colours.html +12 -24
  224. data/node_modules/govuk-frontend/dist/govuk/components/task-list/template-with-hint-text-and-additional-states.html +2 -2
  225. data/node_modules/govuk-frontend/dist/govuk/components/textarea/_index.scss +4 -3
  226. data/node_modules/govuk-frontend/dist/govuk/components/textarea/_index.scss.map +1 -1
  227. data/node_modules/govuk-frontend/dist/govuk/components/warning-text/_index.scss +4 -3
  228. data/node_modules/govuk-frontend/dist/govuk/components/warning-text/_index.scss.map +1 -1
  229. data/node_modules/govuk-frontend/dist/govuk/core/_index.scss +0 -1
  230. data/node_modules/govuk-frontend/dist/govuk/core/_index.scss.map +1 -1
  231. data/node_modules/govuk-frontend/dist/govuk/core/_section-break.scss +2 -1
  232. data/node_modules/govuk-frontend/dist/govuk/core/_section-break.scss.map +1 -1
  233. data/node_modules/govuk-frontend/dist/govuk/core/_typography.scss +3 -17
  234. data/node_modules/govuk-frontend/dist/govuk/core/_typography.scss.map +1 -1
  235. data/node_modules/govuk-frontend/dist/govuk/custom-properties/_breakpoints.scss +17 -0
  236. data/node_modules/govuk-frontend/dist/govuk/custom-properties/_breakpoints.scss.map +1 -0
  237. data/node_modules/govuk-frontend/dist/govuk/custom-properties/_frontend-version.scss +15 -0
  238. data/node_modules/govuk-frontend/dist/govuk/custom-properties/_frontend-version.scss.map +1 -0
  239. data/node_modules/govuk-frontend/dist/govuk/custom-properties/_functional-colours.scss +17 -0
  240. data/node_modules/govuk-frontend/dist/govuk/custom-properties/_functional-colours.scss.map +1 -0
  241. data/node_modules/govuk-frontend/dist/govuk/custom-properties/_index.scss +5 -0
  242. data/node_modules/govuk-frontend/dist/govuk/custom-properties/_index.scss.map +1 -0
  243. data/node_modules/govuk-frontend/dist/govuk/govuk-frontend.min.css +2 -2
  244. data/node_modules/govuk-frontend/dist/govuk/govuk-frontend.min.css.map +1 -1
  245. data/node_modules/govuk-frontend/dist/govuk/govuk-frontend.min.js +1 -1
  246. data/node_modules/govuk-frontend/dist/govuk/govuk-frontend.min.js.map +1 -1
  247. data/node_modules/govuk-frontend/dist/govuk/helpers/_colour.scss +168 -82
  248. data/node_modules/govuk-frontend/dist/govuk/helpers/_colour.scss.map +1 -1
  249. data/node_modules/govuk-frontend/dist/govuk/helpers/_focused.scss +8 -7
  250. data/node_modules/govuk-frontend/dist/govuk/helpers/_focused.scss.map +1 -1
  251. data/node_modules/govuk-frontend/dist/govuk/helpers/_links.scss +23 -39
  252. data/node_modules/govuk-frontend/dist/govuk/helpers/_links.scss.map +1 -1
  253. data/node_modules/govuk-frontend/dist/govuk/helpers/_typography.scss +2 -26
  254. data/node_modules/govuk-frontend/dist/govuk/helpers/_typography.scss.map +1 -1
  255. data/node_modules/govuk-frontend/dist/govuk/i18n.mjs.map +1 -1
  256. data/node_modules/govuk-frontend/dist/govuk/init.mjs +1 -2
  257. data/node_modules/govuk-frontend/dist/govuk/init.mjs.map +1 -1
  258. data/node_modules/govuk-frontend/dist/govuk/macros/logo.njk +4 -26
  259. data/node_modules/govuk-frontend/dist/govuk/objects/_form-group.scss +2 -1
  260. data/node_modules/govuk-frontend/dist/govuk/objects/_form-group.scss.map +1 -1
  261. data/node_modules/govuk-frontend/dist/govuk/objects/_template.scss +2 -6
  262. data/node_modules/govuk-frontend/dist/govuk/objects/_template.scss.map +1 -1
  263. data/node_modules/govuk-frontend/dist/govuk/overrides/_typography.scss +0 -2
  264. data/node_modules/govuk-frontend/dist/govuk/overrides/_typography.scss.map +1 -1
  265. data/node_modules/govuk-frontend/dist/govuk/settings/_colours-applied.scss +3 -188
  266. data/node_modules/govuk-frontend/dist/govuk/settings/_colours-applied.scss.map +1 -1
  267. data/node_modules/govuk-frontend/dist/govuk/settings/_colours-functional.scss +366 -0
  268. data/node_modules/govuk-frontend/dist/govuk/settings/_colours-functional.scss.map +1 -0
  269. data/node_modules/govuk-frontend/dist/govuk/settings/_colours-organisations.scss +8 -254
  270. data/node_modules/govuk-frontend/dist/govuk/settings/_colours-organisations.scss.map +1 -1
  271. data/node_modules/govuk-frontend/dist/govuk/settings/_colours-palette.scss +117 -25
  272. data/node_modules/govuk-frontend/dist/govuk/settings/_colours-palette.scss.map +1 -1
  273. data/node_modules/govuk-frontend/dist/govuk/settings/_custom-properties.scss +18 -0
  274. data/node_modules/govuk-frontend/dist/govuk/settings/_custom-properties.scss.map +1 -0
  275. data/node_modules/govuk-frontend/dist/govuk/settings/_index.scss +3 -14
  276. data/node_modules/govuk-frontend/dist/govuk/settings/_index.scss.map +1 -1
  277. data/node_modules/govuk-frontend/dist/govuk/settings/_media-queries.scss +0 -16
  278. data/node_modules/govuk-frontend/dist/govuk/settings/_media-queries.scss.map +1 -1
  279. data/node_modules/govuk-frontend/dist/govuk/settings/_typography-responsive.scss +12 -189
  280. data/node_modules/govuk-frontend/dist/govuk/settings/_typography-responsive.scss.map +1 -1
  281. data/node_modules/govuk-frontend/dist/govuk/template.njk +61 -23
  282. data/node_modules/govuk-frontend/dist/govuk/tools/_index.scss +0 -1
  283. data/node_modules/govuk-frontend/dist/govuk/tools/_index.scss.map +1 -1
  284. data/node_modules/govuk-frontend/dist/govuk/tools/_px-to-rem.scss +2 -0
  285. data/node_modules/govuk-frontend/dist/govuk/tools/_px-to-rem.scss.map +1 -1
  286. data/node_modules/govuk-frontend/govuk-prototype-kit.config.json +1 -4
  287. data/node_modules/govuk-frontend/package.json +13 -12
  288. metadata +14 -56
  289. data/app/assets/javascripts/govuk_publishing_components/components/layout-header.js +0 -3
  290. data/app/assets/stylesheets/govuk_publishing_components/settings/_colours.scss +0 -5
  291. data/app/assets/stylesheets/govuk_publishing_components/settings/_typography.scss +0 -1
  292. data/app/views/govuk_publishing_components/components/layout_header/_navigation_items.html.erb +0 -34
  293. data/node_modules/govuk-frontend/dist/govuk/all.scss +0 -9
  294. data/node_modules/govuk-frontend/dist/govuk/all.scss.map +0 -1
  295. data/node_modules/govuk-frontend/dist/govuk/assets/rebrand/images/favicon.ico +0 -0
  296. data/node_modules/govuk-frontend/dist/govuk/assets/rebrand/images/favicon.svg +0 -1
  297. data/node_modules/govuk-frontend/dist/govuk/assets/rebrand/images/govuk-crest.svg +0 -1
  298. data/node_modules/govuk-frontend/dist/govuk/assets/rebrand/images/govuk-icon-180.png +0 -0
  299. data/node_modules/govuk-frontend/dist/govuk/assets/rebrand/images/govuk-icon-192.png +0 -0
  300. data/node_modules/govuk-frontend/dist/govuk/assets/rebrand/images/govuk-icon-512.png +0 -0
  301. data/node_modules/govuk-frontend/dist/govuk/assets/rebrand/images/govuk-icon-mask.svg +0 -1
  302. data/node_modules/govuk-frontend/dist/govuk/assets/rebrand/images/govuk-opengraph-image.png +0 -0
  303. data/node_modules/govuk-frontend/dist/govuk/assets/rebrand/manifest.json +0 -39
  304. data/node_modules/govuk-frontend/dist/govuk/components/_all.scss +0 -10
  305. data/node_modules/govuk-frontend/dist/govuk/components/_all.scss.map +0 -1
  306. data/node_modules/govuk-frontend/dist/govuk/components/button/template-input.html +0 -1
  307. data/node_modules/govuk-frontend/dist/govuk/components/header/header.bundle.js +0 -238
  308. data/node_modules/govuk-frontend/dist/govuk/components/header/header.bundle.js.map +0 -1
  309. data/node_modules/govuk-frontend/dist/govuk/components/header/header.bundle.mjs +0 -230
  310. data/node_modules/govuk-frontend/dist/govuk/components/header/header.bundle.mjs.map +0 -1
  311. data/node_modules/govuk-frontend/dist/govuk/components/header/header.mjs +0 -89
  312. data/node_modules/govuk-frontend/dist/govuk/components/header/header.mjs.map +0 -1
  313. data/node_modules/govuk-frontend/dist/govuk/components/header/template-full-width-with-navigation.html +0 -54
  314. data/node_modules/govuk-frontend/dist/govuk/components/header/template-navigation-item-with-html.html +0 -54
  315. data/node_modules/govuk-frontend/dist/govuk/components/header/template-navigation-item-with-text-without-link.html +0 -48
  316. data/node_modules/govuk-frontend/dist/govuk/components/header/template-with-custom-menu-button-text.html +0 -59
  317. data/node_modules/govuk-frontend/dist/govuk/components/header/template-with-full-width-border.html +0 -29
  318. data/node_modules/govuk-frontend/dist/govuk/components/header/template-with-large-navigation.html +0 -119
  319. data/node_modules/govuk-frontend/dist/govuk/components/header/template-with-navigation.html +0 -59
  320. data/node_modules/govuk-frontend/dist/govuk/components/header/template-with-service-name-and-navigation.html +0 -62
  321. data/node_modules/govuk-frontend/dist/govuk/components/header/template-with-service-name-but-no-service-url.html +0 -34
  322. data/node_modules/govuk-frontend/dist/govuk/components/header/template-with-service-name.html +0 -34
  323. data/node_modules/govuk-frontend/dist/govuk/components/header/template-with-st-edwards-crown.html +0 -19
  324. data/node_modules/govuk-frontend/dist/govuk/components/tag/template-light-blue.html +0 -3
  325. data/node_modules/govuk-frontend/dist/govuk/core/_all.scss +0 -10
  326. data/node_modules/govuk-frontend/dist/govuk/core/_all.scss.map +0 -1
  327. data/node_modules/govuk-frontend/dist/govuk/core/_govuk-frontend-properties.scss +0 -15
  328. data/node_modules/govuk-frontend/dist/govuk/core/_govuk-frontend-properties.scss.map +0 -1
  329. data/node_modules/govuk-frontend/dist/govuk/helpers/_all.scss +0 -10
  330. data/node_modules/govuk-frontend/dist/govuk/helpers/_all.scss.map +0 -1
  331. data/node_modules/govuk-frontend/dist/govuk/objects/_all.scss +0 -10
  332. data/node_modules/govuk-frontend/dist/govuk/objects/_all.scss.map +0 -1
  333. data/node_modules/govuk-frontend/dist/govuk/overrides/_all.scss +0 -9
  334. data/node_modules/govuk-frontend/dist/govuk/overrides/_all.scss.map +0 -1
  335. data/node_modules/govuk-frontend/dist/govuk/settings/_all.scss +0 -10
  336. data/node_modules/govuk-frontend/dist/govuk/settings/_all.scss.map +0 -1
  337. data/node_modules/govuk-frontend/dist/govuk/tools/_all.scss +0 -10
  338. data/node_modules/govuk-frontend/dist/govuk/tools/_all.scss.map +0 -1
  339. data/node_modules/govuk-frontend/dist/govuk/tools/_rebrand.scss +0 -65
  340. data/node_modules/govuk-frontend/dist/govuk/tools/_rebrand.scss.map +0 -1
  341. data/node_modules/govuk-frontend/dist/govuk/utilities/_all.scss +0 -10
  342. data/node_modules/govuk-frontend/dist/govuk/utilities/_all.scss.map +0 -1
  343. data/node_modules/govuk-frontend/dist/govuk-prototype-kit/functions.js +0 -25
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a12344674cf0cfd1049d50b15532e6d0f01031c754ac5d1331621917a2ccd695
4
- data.tar.gz: 16356b2c3df1aefc42d7eeb114c0fb6180c102e680c5f271b8cb955caf51f8da
3
+ metadata.gz: cf6fb7638042dd0bc9d2ac0bb19478a4f0cf10d724870e053ff1a024f937d864
4
+ data.tar.gz: 9b90cbac0482ebf1cb460e5d721b5525678ac16a47fea078d7ee0f6fa2167d5c
5
5
  SHA512:
6
- metadata.gz: c84332e25080f8ca2998712a619160a5045a8bc15104f2c5f4373f9b1cd51fea0b092a2a5587f06e538a6d32d7f6f7e551363293feb806fa86f32c7713e31811
7
- data.tar.gz: 5917c52f8b7ceb1ab7ba69a4fae8782624cac4e18027e661fe795dc7bd4662563a028a9dd1d82a0b940ccfb1e66c1124a952991e6cb5050d0386559cdf432ca9
6
+ metadata.gz: 0cc3516cafd8b43f78621db72c1204a457a47e567354fd54f6128e35a940741c1971150b85d8a725670044f9517601bb781ab7c3e0f08a86cb1002c0d9462bab
7
+ data.tar.gz: d9a409ec5a08234d1d81c9a39d13962e4241d804de42056685082f636deba3bbadf9a3fad8a4f9eb4f858a81074492a4c1eeaf826b01121e1fa4ad6dce0d0ae7
@@ -1,6 +1,6 @@
1
1
  // Pre-compile image and font assets from here and govuk-frontend
2
2
  //= link_tree ../images
3
- //= link_tree ../../../node_modules/govuk-frontend/dist/govuk/assets/rebrand/images
3
+ //= link_tree ../../../node_modules/govuk-frontend/dist/govuk/assets/images
4
4
  //= link_tree ../../../node_modules/govuk-frontend/dist/govuk/assets/fonts
5
5
 
6
6
  // Create asset files of each of the files in these directory
@@ -12,7 +12,7 @@ $gem-guide-border-width: 1px;
12
12
  }
13
13
 
14
14
  .component-violation {
15
- border: 3px solid $govuk-error-colour;
15
+ border: 3px solid govuk-functional-colour(error);
16
16
  margin: 0 0 govuk-spacing(6);
17
17
  padding: govuk-spacing(6);
18
18
  @include govuk-text-colour;
@@ -24,7 +24,7 @@ $gem-guide-border-width: 1px;
24
24
 
25
25
  .component-violation__link {
26
26
  display: block;
27
- color: $govuk-error-colour;
27
+ color: govuk-functional-colour(error);
28
28
  margin: govuk-spacing(3) 0;
29
29
  @include govuk-font($size: 19, $weight: bold);
30
30
  }
@@ -37,14 +37,14 @@ $gem-guide-border-width: 1px;
37
37
  font-family: Consolas, Monaco, "Andale Mono", monospace;
38
38
  font-size: 16px;
39
39
  line-height: 1.5;
40
- border: $gem-guide-border-width solid $govuk-border-colour;
40
+ border: $gem-guide-border-width solid govuk-functional-colour(border);
41
41
 
42
42
  &[contenteditable]:hover {
43
43
  cursor: text;
44
44
  }
45
45
 
46
46
  &[contenteditable]:focus {
47
- outline: 3px solid $govuk-focus-colour;
47
+ outline: 3px solid govuk-functional-colour(focus);
48
48
  }
49
49
 
50
50
  > pre {
@@ -69,7 +69,7 @@ $gem-guide-border-width: 1px;
69
69
 
70
70
  .component-guide-preview {
71
71
  padding: govuk-spacing(8) govuk-spacing(6) govuk-spacing(6) govuk-spacing(6);
72
- border: $gem-guide-border-width solid $govuk-border-colour;
72
+ border: $gem-guide-border-width solid govuk-functional-colour(border);
73
73
  position: relative;
74
74
  margin-bottom: govuk-spacing(8);
75
75
 
@@ -222,12 +222,12 @@ html {
222
222
  // Rouge syntax highlighting
223
223
  // Based on https://github.com/alphagov/tech-docs-template/blob/master/template/source/stylesheets/palette/_syntax-highlighting.scss
224
224
 
225
- $code-00: color.scale(govuk-colour("light-grey"), $lightness: 50%); // Default Background
225
+ $code-00: color.scale(govuk-colour("black", $variant: "tint-95"), $lightness: 50%); // Default Background
226
226
  $code-01: #f5f5f5; // Lighter Background (Unused)
227
227
  $code-02: #bfc1c3; // Selection Background
228
- $code-03: color.adjust($govuk-secondary-text-colour, $lightness: -2%); // Comments, Invisibles, Line Highlighting
228
+ $code-03: govuk-functional-colour(secondary-text); // Comments, Invisibles, Line Highlighting
229
229
  $code-04: #e8e8e8; // Dark Foreground (Unused)
230
- $code-05: $govuk-text-colour; // Default Foreground, Caret, Delimiters, Operators
230
+ $code-05: govuk-functional-colour(text); // Default Foreground, Caret, Delimiters, Operators
231
231
  $code-06: #ffffff; // Light Foreground (Unused)
232
232
  $code-07: #ffffff; // Light Background (Unused)
233
233
 
@@ -491,8 +491,8 @@ $code-delete-bg: #fadddd;
491
491
  border: 0;
492
492
  margin-left: -(govuk-spacing(3));
493
493
  margin-right: -(govuk-spacing(3));
494
- border-top: solid 1px $govuk-border-colour;
495
- border-bottom: solid 1px $govuk-border-colour;
494
+ border-top: solid 1px govuk-functional-colour(border);
495
+ border-bottom: solid 1px govuk-functional-colour(border);
496
496
 
497
497
  @include govuk-media-query($from: tablet) {
498
498
  margin-left: -(govuk-spacing(6));
@@ -543,8 +543,8 @@ $code-delete-bg: #fadddd;
543
543
  bottom: -1px;
544
544
  width: calc((100cqw - 960px) / 2);
545
545
  box-sizing: border-box;
546
- border-top: solid 1px $govuk-border-colour;
547
- border-bottom: solid 1px $govuk-border-colour;
546
+ border-top: solid 1px govuk-functional-colour(border);
547
+ border-bottom: solid 1px govuk-functional-colour(border);
548
548
  }
549
549
 
550
550
  &::before {
@@ -557,9 +557,3 @@ $code-delete-bg: #fadddd;
557
557
  }
558
558
  }
559
559
  }
560
-
561
- // Note: This is a temporary override to ensure the background color on component preview
562
- // pages remains white, this can be removed once the --rebrand flag is removed from govuk-frontend
563
- .govuk-template--rebranded {
564
- background: #ffffff;
565
- }
@@ -1,3 +1,5 @@
1
+ $govuk-output-custom-properties: true;
2
+
1
3
  @import "base";
2
4
 
3
5
  @import "govuk/core/index";
@@ -23,7 +23,11 @@
23
23
  width: 28px;
24
24
 
25
25
  .gem-c-action-link__icon__circle {
26
- fill: #eeefef;
26
+ fill: $govuk-blue-tint-80;
27
+
28
+ .gem-c-action-link--inverse & {
29
+ fill: govuk-colour("white");
30
+ }
27
31
 
28
32
  @media (forced-colors: active) {
29
33
  fill: LinkText;
@@ -83,7 +87,7 @@
83
87
  @include govuk-media-query($media-type: print) {
84
88
  .gem-c-action-link {
85
89
  * {
86
- color: $govuk-print-text-colour !important; // stylelint-disable-line declaration-no-important
90
+ color: govuk-functional-colour(print-text) !important; // stylelint-disable-line declaration-no-important
87
91
  }
88
92
 
89
93
  .gem-c-action-link__icon {
@@ -1,8 +1,8 @@
1
1
  .gem-c-app-promo-banner {
2
2
  display: none;
3
3
  padding: govuk-spacing(5) 0;
4
- border-top: 4px solid $govuk-brand-colour;
5
- background-color: $govuk-rebrand-template-background-colour;
4
+ border-top: 4px solid govuk-functional-colour(brand);
5
+ background-color: $govuk-blue-tint-95;
6
6
  @include govuk-text-colour;
7
7
  }
8
8
 
@@ -46,7 +46,7 @@
46
46
  .gem-c-app-promo-banner__close-button {
47
47
  border: 0;
48
48
  padding: 0;
49
- color: govuk-tint(govuk-colour("black"), 25%);
49
+ color: govuk-functional-colour("secondary-text");
50
50
  background: none;
51
51
  flex: 0 0 24px;
52
52
  height: 24px;
@@ -6,7 +6,7 @@
6
6
  // stylelint-disable declaration-no-important
7
7
  @include govuk-media-query($media-type: print) {
8
8
  .gem-c-attachment-link .govuk-link {
9
- color: $govuk-print-text-colour !important;
9
+ color: govuk-functional-colour(print-text) !important;
10
10
 
11
11
  &::after {
12
12
  font-size: inherit;
@@ -23,9 +23,9 @@ $thumbnail-border-width: 5px;
23
23
  max-width: calc($thumbnail-width / 1.5);
24
24
  height: calc($thumbnail-height / 1.5);
25
25
  background: govuk-colour("white");
26
- box-shadow: 0 2px 2px rgba(govuk-colour("black"), .4), 0 0 0 5px color.adjust(govuk-colour("black"), $alpha: -0.9);
27
- fill: govuk-colour("mid-grey");
28
- stroke: govuk-colour("mid-grey");
26
+ box-shadow: 0 2px 2px govuk-colour("black", $variant: "tint-50"), 0 0 0 5px govuk-functional-colour("border");
27
+ fill: govuk-colour("black", $variant: "tint-50");
28
+ stroke: govuk-colour("black", $variant: "tint-50");
29
29
 
30
30
  @include govuk-media-query($from: tablet) {
31
31
  max-width: $thumbnail-width;
@@ -56,7 +56,7 @@ $thumbnail-border-width: 5px;
56
56
 
57
57
  .gem-c-attachment__metadata {
58
58
  margin: 0 0 govuk-spacing(3);
59
- color: $govuk-secondary-text-colour;
59
+ color: govuk-functional-colour(secondary-text);
60
60
  @include govuk-font($size: 19);
61
61
  @include govuk-text-break-word;
62
62
 
@@ -92,7 +92,7 @@ $thumbnail-border-width: 5px;
92
92
  }
93
93
 
94
94
  .gem-c-attachment__metadata {
95
- color: $govuk-print-text-colour;
95
+ color: govuk-functional-colour(print-text);
96
96
  }
97
97
 
98
98
  .gem-c-attachment__metadata,
@@ -1,7 +1,7 @@
1
1
  @import "govuk/components/breadcrumbs/breadcrumbs";
2
2
 
3
3
  .gem-c-breadcrumbs--border-bottom {
4
- border-bottom: 1px solid $govuk-border-colour;
4
+ border-bottom: 1px solid govuk-functional-colour(border);
5
5
  padding-bottom: govuk-spacing(1);
6
6
 
7
7
  &.govuk-breadcrumbs--collapse-on-mobile {
@@ -92,7 +92,7 @@
92
92
  &:hover {
93
93
  border-color: $gem-quiet-button-hover-colour;
94
94
  color: $gem-quiet-button-hover-colour;
95
- background-color: $gem-secondary-button-hover-background-colour;
95
+ background-color: $gem-quiet-button-hover-background-colour;
96
96
  text-decoration: none;
97
97
  }
98
98
 
@@ -107,7 +107,7 @@
107
107
  display: inline-block;
108
108
  padding: govuk-spacing(1);
109
109
  border: solid 1px govuk-colour("black");
110
- color: $govuk-print-text-colour !important; // stylelint-disable-line declaration-no-important
110
+ color: govuk-functional-colour(print-text) !important; // stylelint-disable-line declaration-no-important
111
111
  text-decoration: none;
112
112
 
113
113
  &::after {
@@ -35,7 +35,7 @@
35
35
  }
36
36
 
37
37
  .gem-c-cards__heading--underline + .gem-c-cards__list {
38
- border-top: 1px solid $govuk-border-colour;
38
+ border-top: 1px solid govuk-functional-colour(border);
39
39
 
40
40
  .gem-c-cards__list-item {
41
41
  &:first-child {
@@ -144,7 +144,7 @@
144
144
  }
145
145
 
146
146
  .gem-c-cards__list-item {
147
- border-top: 1px solid $govuk-border-colour;
147
+ border-top: 1px solid govuk-functional-colour(border);
148
148
  padding: govuk-spacing(1) 0 govuk-spacing(4) 0;
149
149
  }
150
150
 
@@ -180,8 +180,8 @@
180
180
  $dimension: 7px;
181
181
  $width: 3px;
182
182
 
183
- border-right: $width solid $govuk-brand-colour;
184
- border-top: $width solid $govuk-brand-colour;
183
+ border-right: $width solid govuk-functional-colour(brand);
184
+ border-top: $width solid govuk-functional-colour(brand);
185
185
  content: "";
186
186
  display: block;
187
187
  height: $dimension;
@@ -195,13 +195,13 @@
195
195
 
196
196
  &:hover {
197
197
  &::before {
198
- border-color: $govuk-link-hover-colour;
198
+ border-color: govuk-functional-colour(link-hover);
199
199
  }
200
200
  }
201
201
 
202
202
  &:focus {
203
203
  &::before {
204
- border-color: $govuk-focus-text-colour;
204
+ border-color: govuk-functional-colour(focus-text);
205
205
  }
206
206
  }
207
207
  }
@@ -6,7 +6,7 @@
6
6
  box-sizing: border-box;
7
7
  border-left-style: solid;
8
8
  border-left-width: 4px;
9
- border-color: govuk-colour("mid-grey");
9
+ border-color: govuk-functional-colour("border");
10
10
  margin-top: govuk-spacing(2);
11
11
  margin-bottom: govuk-spacing(2);
12
12
  padding: govuk-spacing(2) govuk-spacing(4);
@@ -53,7 +53,7 @@
53
53
  }
54
54
 
55
55
  .gem-c-contents-list-with-body__link-wrapper.gem-c-contents-list-with-body__sticky-element--stuck-to-window {
56
- background-color: govuk-colour("light-grey");
56
+ background-color: govuk-colour("black", $variant: "tint-95");
57
57
  bottom: -1px; // 'Fix' for anomalous 1px margin which sporadically appears below this element.
58
58
  left: 0;
59
59
  margin: 0;
@@ -35,13 +35,13 @@
35
35
 
36
36
  .gem-c-contextual-guidance__guidance {
37
37
  padding-left: govuk-spacing(3);
38
- border-left: 4px solid $govuk-focus-colour;
38
+ border-left: 4px solid govuk-functional-colour(focus);
39
39
  background: govuk-colour("white");
40
40
 
41
41
  @include govuk-media-query($from: tablet) {
42
42
  padding-top: govuk-spacing(5);
43
43
  padding-left: 0;
44
- border-top: 5px solid $govuk-focus-colour;
44
+ border-top: 5px solid govuk-functional-colour(focus);
45
45
  border-left: 0;
46
46
  }
47
47
  }
@@ -1,11 +1,11 @@
1
1
  .gem-c-contextual-sidebar__related-links {
2
- border-top: 2px solid $govuk-brand-colour;
2
+ border-top: 2px solid govuk-functional-colour(brand);
3
3
  }
4
4
 
5
5
  .gem-c-contextual-sidebar__heading {
6
6
  margin-top: govuk-spacing(3);
7
7
  margin-bottom: govuk-spacing(2);
8
- color: $govuk-text-colour;
8
+ color: govuk-functional-colour(text);
9
9
  }
10
10
 
11
11
  .gem-c-contextual-sidebar__list {
@@ -24,9 +24,9 @@
24
24
  }
25
25
 
26
26
  .gem-c-contextual-sidebar__cta {
27
- border-top: 2px solid $govuk-brand-colour;
27
+ border-top: 2px solid govuk-functional-colour(brand);
28
28
  margin-bottom: govuk-spacing(6);
29
- background-color: govuk-colour("light-grey");
29
+ background-color: govuk-colour("black", $variant: "tint-95");
30
30
  display: block;
31
31
  padding: 0 govuk-spacing(3) govuk-spacing(3);
32
32
  text-decoration: none;
@@ -8,7 +8,7 @@ $toggle-border-height: 3px;
8
8
  .gem-c-rebranded-one-login-header {
9
9
  color: govuk-colour("white");
10
10
  position: relative;
11
- background: $govuk-brand-colour;
11
+ background: govuk-functional-colour(brand);
12
12
  @include govuk-font($size: 16);
13
13
  }
14
14
 
@@ -66,7 +66,7 @@ $toggle-border-height: 3px;
66
66
  &:focus {
67
67
  // Replicate the focus box shadow but without the -2px y-offset of the first yellow shadow
68
68
  // This is to stop the logo getting cut off by the box shadow when focused on above a product name
69
- box-shadow: 0 0 $govuk-focus-colour;
69
+ box-shadow: 0 0 govuk-functional-colour(focus);
70
70
  }
71
71
  }
72
72
 
@@ -122,7 +122,7 @@ $toggle-border-height: 3px;
122
122
  }
123
123
 
124
124
  &:not(:focus) {
125
- background-color: $govuk-brand-colour;
125
+ background-color: govuk-functional-colour(brand);
126
126
  }
127
127
  }
128
128
 
@@ -177,7 +177,7 @@ $toggle-border-height: 3px;
177
177
 
178
178
  &::after {
179
179
  display: block;
180
- background-color: $govuk-focus-text-colour;
180
+ background-color: govuk-functional-colour(focus-text);
181
181
  }
182
182
  }
183
183
  }
@@ -188,10 +188,10 @@ $toggle-border-height: 3px;
188
188
  &:link:visited,
189
189
  &:visited:link,
190
190
  &:visited:visited {
191
- color: $govuk-brand-colour;
191
+ color: govuk-functional-colour(brand);
192
192
 
193
193
  &:focus {
194
- color: $govuk-focus-text-colour;
194
+ color: govuk-functional-colour(focus-text);
195
195
  }
196
196
  }
197
197
  }
@@ -222,7 +222,7 @@ $toggle-border-height: 3px;
222
222
 
223
223
  @include govuk-media-query($until: tablet) {
224
224
  background-color: govuk-colour("white");
225
- color: $govuk-brand-colour;
225
+ color: govuk-functional-colour(brand);
226
226
  margin-right: -(govuk-spacing(3));
227
227
  margin-left: -(govuk-spacing(3));
228
228
  padding: 0 govuk-spacing(3);
@@ -259,7 +259,7 @@ $toggle-border-height: 3px;
259
259
  padding: govuk-spacing(3) 0;
260
260
 
261
261
  &:not(:last-child) {
262
- border-bottom: 1px solid govuk-colour("mid-grey");
262
+ border-bottom: 1px solid govuk-functional-colour("border");
263
263
  }
264
264
  }
265
265
  }
@@ -289,8 +289,8 @@ $toggle-border-height: 3px;
289
289
  @include govuk-font($size: 16, $weight: bold);
290
290
 
291
291
  @mixin toggle-button-focus {
292
- color: $govuk-focus-text-colour;
293
- background-color: $govuk-focus-colour;
292
+ color: govuk-functional-colour(focus-text);
293
+ background-color: govuk-functional-colour(focus);
294
294
  outline: 3px solid transparent;
295
295
  }
296
296
 
@@ -313,7 +313,7 @@ $toggle-border-height: 3px;
313
313
 
314
314
  &.gem-c-rebranded-cross-service-header__toggle--open {
315
315
  background-color: govuk-colour("white");
316
- color: $govuk-brand-colour;
316
+ color: govuk-functional-colour(brand);
317
317
  }
318
318
  }
319
319
 
@@ -364,15 +364,15 @@ $toggle-border-height: 3px;
364
364
 
365
365
  .gem-c-rebranded-cross-service-header__toggle--open &,
366
366
  .gem-c-rebranded-cross-service-header__toggle--open:hover & {
367
- background-color: $govuk-brand-colour;
367
+ background-color: govuk-functional-colour(brand);
368
368
  }
369
369
 
370
370
  .gem-c-rebranded-cross-service-header__toggle:focus &,
371
371
  .gem-c-rebranded-cross-service-header__toggle:focus-visible & {
372
- background-color: $govuk-focus-text-colour;
372
+ background-color: govuk-functional-colour(focus-text);
373
373
 
374
374
  &:hover {
375
- background-color: $govuk-focus-text-colour;
375
+ background-color: govuk-functional-colour(focus-text);
376
376
  }
377
377
  }
378
378
  }
@@ -1,5 +1,5 @@
1
1
  .gem-c-devolved-nations {
2
- background: govuk-colour("light-grey");
2
+ background: govuk-colour("black", $variant: "tint-95");
3
3
  margin-bottom: govuk-spacing(3);
4
4
  padding: govuk-spacing(3);
5
5
 
@@ -11,11 +11,11 @@
11
11
 
12
12
  @include govuk-media-query($media-type: print) {
13
13
  .gem-c-devolved-nations {
14
- border: 2pt solid $govuk-print-text-colour;
14
+ border: 2pt solid govuk-functional-colour(print-text);
15
15
  margin: 0 0 5mm;
16
16
 
17
17
  * {
18
- color: $govuk-print-text-colour !important; // stylelint-disable-line declaration-no-important
18
+ color: govuk-functional-colour(print-text) !important; // stylelint-disable-line declaration-no-important
19
19
  }
20
20
 
21
21
  .govuk-list li {
@@ -8,7 +8,7 @@
8
8
  .gem-c-document-list__item {
9
9
  margin-top: govuk-spacing(5);
10
10
  padding-top: govuk-spacing(2);
11
- border-top: 1px solid $govuk-border-colour;
11
+ border-top: 1px solid govuk-functional-colour(border);
12
12
  list-style: none;
13
13
 
14
14
  &:first-child {
@@ -50,7 +50,7 @@
50
50
  }
51
51
 
52
52
  .gem-c-document-list__item-context {
53
- color: govuk-colour("dark-grey");
53
+ color: govuk-functional-colour("secondary-text");
54
54
  }
55
55
 
56
56
  .gem-c-document-list__item-description {
@@ -84,7 +84,7 @@
84
84
 
85
85
  & { // stylelint-disable-line no-duplicate-selectors
86
86
  // overriding govuk-text-colour mixin
87
- color: $govuk-secondary-text-colour;
87
+ color: govuk-functional-colour(secondary-text);
88
88
  }
89
89
 
90
90
  .direction-rtl & {
@@ -94,7 +94,7 @@
94
94
  }
95
95
 
96
96
  .gem-c-document-list__item--highlight {
97
- border: 1px solid govuk-colour("mid-grey");
97
+ border: 1px solid govuk-functional-colour("border");
98
98
  padding: govuk-spacing(6);
99
99
  margin-bottom: govuk-spacing(6);
100
100
 
@@ -137,7 +137,7 @@
137
137
  left: 0;
138
138
  width: govuk-spacing(3);
139
139
  overflow: hidden;
140
- border-top: solid 1px $govuk-text-colour;
140
+ border-top: solid 1px govuk-functional-colour(text);
141
141
  transform: translate(0, 0.5em);
142
142
  }
143
143
 
@@ -172,7 +172,7 @@
172
172
  break-inside: avoid;
173
173
 
174
174
  * {
175
- color: $govuk-print-text-colour;
175
+ color: govuk-functional-colour(print-text);
176
176
  }
177
177
  }
178
178
 
@@ -1,5 +1,5 @@
1
1
  .gem-c-emergency-banner {
2
- background-color: govuk-colour("mid-grey");
2
+ background-color: govuk-colour("black", $variant: "tint-80");
3
3
  color: govuk-colour("white");
4
4
  margin-top: 2px;
5
5
  padding: govuk-spacing(3) 0;
@@ -52,14 +52,11 @@
52
52
  }
53
53
 
54
54
  .gem-c-emergency-banner--national-emergency {
55
- // Not using govuk-colour("red") aka #d4351c as that's a slightly different red.
56
- background-color: #b10e1e;
55
+ background-color: govuk-colour("red", $variant: "shade-25");
57
56
  }
58
57
 
59
58
  .gem-c-emergency-banner--local-emergency {
60
- // Not using govuk-colour("turquoise") for background colour as
61
- // the contrast was too low with white text
62
- background-color: #00847d;
59
+ background-color: govuk-colour("teal", $variant: "shade-25");
63
60
  }
64
61
 
65
62
  @include govuk-media-query($media-type: print) {
@@ -1,7 +1,7 @@
1
1
  .gem-c-error-alert {
2
- color: $govuk-text-colour;
2
+ color: govuk-functional-colour(text);
3
3
  padding: govuk-spacing(3);
4
- border: $govuk-border-width-narrow solid $govuk-error-colour;
4
+ border: $govuk-border-width-narrow solid govuk-functional-colour(error);
5
5
  @include govuk-responsive-margin(8, "bottom");
6
6
 
7
7
  @include govuk-media-query($from: tablet) {
@@ -32,5 +32,5 @@
32
32
  }
33
33
 
34
34
  .gem-c-error-alert:focus {
35
- outline: $govuk-focus-width solid $govuk-focus-colour;
35
+ outline: $govuk-focus-width solid govuk-functional-colour(focus);
36
36
  }
@@ -1,6 +1,6 @@
1
1
  @import "govuk/components/error-summary/error-summary";
2
2
 
3
3
  .gem-c-error-summary__list-item {
4
- color: $govuk-error-colour;
4
+ color: govuk-functional-colour(error);
5
5
  @include govuk-font($size: 19, $weight: bold);
6
6
  }
@@ -54,7 +54,7 @@ $feedback-prompt-border-top-colour: $govuk-blue-tint-50;
54
54
  }
55
55
 
56
56
  .gem-c-feedback__prompt-questions--something-is-wrong {
57
- border-top: 1px solid $govuk-border-colour;
57
+ border-top: 1px solid govuk-functional-colour(border);
58
58
  @include govuk-media-query($from: tablet) {
59
59
  border: 0;
60
60
  }
@@ -119,7 +119,7 @@ $feedback-prompt-border-top-colour: $govuk-blue-tint-50;
119
119
  }
120
120
 
121
121
  &:hover {
122
- background: govuk-colour("mid-grey");
122
+ background: govuk-colour("black", $variant: "tint-80");
123
123
  color: govuk-colour("black");
124
124
  }
125
125
  }
@@ -130,7 +130,7 @@ $feedback-prompt-border-top-colour: $govuk-blue-tint-50;
130
130
 
131
131
  &:focus,
132
132
  &:active {
133
- color: $govuk-focus-text-colour;
133
+ color: govuk-functional-colour(focus-text);
134
134
  }
135
135
  }
136
136
 
@@ -162,11 +162,11 @@ $feedback-prompt-border-top-colour: $govuk-blue-tint-50;
162
162
  .gem-c-feedback__error-summary {
163
163
  margin-bottom: govuk-spacing(3);
164
164
  padding: govuk-spacing(3);
165
- border: solid $govuk-border-width-narrow $govuk-error-colour;
165
+ border: solid $govuk-border-width-narrow govuk-functional-colour(error);
166
166
  clear: both;
167
167
 
168
168
  &:focus {
169
- outline: solid 3px $govuk-focus-colour;
169
+ outline: solid 3px govuk-functional-colour(focus);
170
170
  }
171
171
 
172
172
  @include govuk-media-query($from: desktop) {
@@ -196,7 +196,7 @@ $feedback-prompt-border-top-colour: $govuk-blue-tint-50;
196
196
  .gem-c-feedback__error-message {
197
197
  display: block;
198
198
  padding: 4px 0 0;
199
- color: $govuk-error-colour;
199
+ color: govuk-functional-colour(error);
200
200
  @include govuk-font(19, $weight: bold);
201
201
  }
202
202
 
@@ -253,6 +253,6 @@ $feedback-prompt-border-top-colour: $govuk-blue-tint-50;
253
253
 
254
254
  &:focus,
255
255
  &:active {
256
- color: $govuk-focus-text-colour;
256
+ color: govuk-functional-colour(focus-text);
257
257
  }
258
258
  }
@@ -21,6 +21,6 @@ $gap: govuk-spacing(1);
21
21
 
22
22
  .gem-c-figure__figcaption-text {
23
23
  margin: govuk-spacing(2) 0 0 0;
24
- color: $govuk-secondary-text-colour;
24
+ color: govuk-functional-colour(secondary-text);
25
25
  @include govuk-font(19);
26
26
  }
@@ -1,5 +1,5 @@
1
1
  .gem-c-glance-metric {
2
- border-top: 1px solid $govuk-border-colour;
2
+ border-top: 1px solid govuk-functional-colour(border);
3
3
  border-bottom: 0;
4
4
  @include govuk-responsive-margin(6, "bottom");
5
5
 
@@ -36,7 +36,7 @@
36
36
 
37
37
  &__context {
38
38
  min-height: 5em;
39
- border-bottom: 1px solid $govuk-border-colour;
39
+ border-bottom: 1px solid govuk-functional-colour(border);
40
40
 
41
41
  @include govuk-media-query($until: mobile) {
42
42
  @include govuk-font(16);
@@ -55,7 +55,7 @@
55
55
  }
56
56
 
57
57
  &-icon {
58
- color: govuk-colour("dark-grey");
58
+ color: govuk-colour("black", $variant: "tint-25");
59
59
 
60
60
  @include govuk-media-query($until: mobile) {
61
61
  @include govuk-font(19);