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
@@ -4,20 +4,7 @@
4
4
  /// @group settings/colours
5
5
  ////
6
6
 
7
- /// Feature flag for updated organisation list and colours
8
- ///
9
- /// When set to true, $govuk-colours-organisations will use the new
10
- /// organisation list and colour selection.
11
- ///
12
- /// Should be removed in 6.0.
13
- ///
14
- /// @type Boolean
15
- /// @access public
16
- /// @deprecated Using new organisation colours will become the default in Frontend v6.0.
17
-
18
- $govuk-new-organisation-colours: false !default;
19
-
20
- /// Current organisation colours
7
+ /// Organisation colour palette
21
8
  ///
22
9
  /// @type Map
23
10
  ///
@@ -27,12 +14,12 @@ $govuk-new-organisation-colours: false !default;
27
14
  /// white, to be used for copy and meet the AAA (large text) and AA (smaller
28
15
  /// copy) WCAG guidelines.
29
16
  /// @prop $organisation.deprecation-message - Marks this organisation as
30
- /// deprecated (usually because it has ceased to exist). Value is the
31
- /// deprecation message output to the terminal when compiling.
17
+ /// deprecated (usually because it has ceased to exist). The value is the
18
+ /// deprecation message output to the terminal when compiling Sass.
32
19
  ///
33
- /// @access private
20
+ /// @access public
34
21
 
35
- $_govuk-organisation-colours: (
22
+ $govuk-colours-organisations: (
36
23
  "attorney-generals-office": (
37
24
  colour: #a91c8e
38
25
  ),
@@ -46,61 +33,20 @@ $_govuk-organisation-colours: (
46
33
  colour: #e52d13,
47
34
  contrast-safe: #e02c13
48
35
  ),
49
- "department-for-business-energy-industrial-strategy": (
50
- colour: #003479,
51
- deprecation-message:
52
- "`department-for-business-energy-industrial-strategy` was dissolved in 2023. It was replaced by `department-for-business-trade`, `department-for-energy-security-net-zero` and `department-science-innovation-technology`."
53
- ),
54
- "department-for-business-innovation-skills": (
55
- colour: #003479,
56
- deprecation-message:
57
- "`department-for-business-innovation-skills` became `department-for-business-energy-industrial-strategy` in 2016. As of 2023, it is equivalent to `department-for-business-trade` or `department-science-innovation-technology`."
58
- ),
59
- "department-for-communities-local-government": (
60
- colour: #009999,
61
- contrast-safe: #008080,
62
- deprecation-message:
63
- "`department-for-communities-local-government` became `ministry-of-housing-communities-local-government` in 2018."
64
- ),
65
36
  "department-for-culture-media-sport": (
66
37
  colour: #ed1588,
67
38
  contrast-safe: #d6177a
68
39
  ),
69
- "department-for-digital-culture-media-sport": (
70
- colour: #d40072,
71
- deprecation-message:
72
- "`department-for-digital-culture-media-sport` became `department-for-culture-media-sport` in 2023."
73
- ),
74
40
  "department-for-education": (
75
41
  colour: #003764
76
42
  ),
77
43
  "department-for-energy-security-net-zero": (
78
- colour: #00a33b,
79
- contrast-safe: #00852f
44
+ colour: #003479
80
45
  ),
81
46
  "department-for-environment-food-rural-affairs": (
82
47
  colour: #00a33b,
83
48
  contrast-safe: #008531
84
49
  ),
85
- "department-for-exiting-the-european-union": (
86
- colour: #009fe3,
87
- contrast-safe: #007db6,
88
- deprecation-message: "`department-for-exiting-the-european-union` was dissolved in 2020."
89
- ),
90
- "department-for-international-development": (
91
- colour: #002878,
92
- deprecation-message:
93
- "`department-for-international-development` was merged into `foreign-commonwealth-development-office` in 2020."
94
- ),
95
- "department-for-international-trade": (
96
- colour: #cf102d,
97
- deprecation-message: "`department-for-international-trade` was merged into `department-for-business-trade` in 2023."
98
- ),
99
- "department-for-levelling-up-housing-communities": (
100
- colour: #012169,
101
- deprecation-message:
102
- "`department-for-levelling-up-housing-communities` was renamed to `ministry-of-housing-communities-local-government` in 2024."
103
- ),
104
50
  "department-for-science-innovation-technology": (
105
51
  colour: #00f8f8,
106
52
  contrast-safe: #008180
@@ -112,32 +58,13 @@ $_govuk-organisation-colours: (
112
58
  colour: #00bcb5,
113
59
  contrast-safe: #00857e
114
60
  ),
115
- "department-of-energy-climate-change": (
116
- colour: #009ddb,
117
- contrast-safe: #007db3,
118
- deprecation-message:
119
- "`department-of-energy-climate-change` was merged into `department-for-business-energy-industrial-strategy` in 2016. As of 2023, it is equivalent to `department-for-energy-security-net-zero`."
120
- ),
121
- "department-of-health": (
122
- colour: #00ad93,
123
- contrast-safe: #008573,
124
- deprecation-message: "`department-of-health` became `department-of-health-social-care` in 2018."
125
- ),
126
61
  "department-of-health-social-care": (
127
62
  colour: #00a990,
128
63
  contrast-safe: #008674
129
64
  ),
130
- "foreign-commonwealth-office": (
131
- colour: #003e74,
132
- deprecation-message: "`foreign-commonwealth-office` became `foreign-commonwealth-development-office` in 2018."
133
- ),
134
65
  "foreign-commonwealth-development-office": (
135
66
  colour: #012069
136
67
  ),
137
- "government-equalities-office": (
138
- colour: #0056b8,
139
- deprecation-message: "`government-equalities-office` is deprecated. Use `cabinet-office` instead."
140
- ),
141
68
  "hm-government": (
142
69
  colour: #266ebc
143
70
  ),
@@ -171,14 +98,6 @@ $_govuk-organisation-colours: (
171
98
  "office-of-the-leader-of-the-house-of-lords": (
172
99
  colour: #9c182f
173
100
  ),
174
- "office-of-the-secretary-of-state-for-scotland": (
175
- colour: #00205c,
176
- deprecation-message: "`office-of-the-secretary-of-state-for-scotland` was renamed to `scotland-office` in 2024."
177
- ),
178
- "office-of-the-secretary-of-state-for-wales": (
179
- colour: #a8353a,
180
- deprecation-message: "`office-of-the-secretary-of-state-for-wales` was renamed to `wales-office` in 2024."
181
- ),
182
101
  "prime-ministers-office-10-downing-street": (
183
102
  colour: #0b0c0c
184
103
  ),
@@ -191,173 +110,10 @@ $_govuk-organisation-colours: (
191
110
  "uk-export-finance": (
192
111
  colour: #cf102d
193
112
  ),
194
- "uk-trade-investment": (
195
- colour: #c80651,
196
- deprecation-message:
197
- "`uk-trade-investment` became `department-for-international-trade` in 2016. As of 2023, it is equivalent to `department-for-business-trade`."
198
- ),
199
113
  "wales-office": (
200
114
  colour: #a33038
201
115
  )
202
- );
203
-
204
- /// Legacy organisation colours
205
- ///
206
- /// These are the colours included with Frontend prior to 5.3.0. They will be
207
- /// removed in a future major version of Frontend.
208
- ///
209
- /// @type Map
210
- ///
211
- /// @prop $organisation.colour - Colour for the given `$organisation`
212
- /// @prop $organisation.colour-websafe - Optional alternative shade of the
213
- /// organisation colour. Despite the name, is not guaranteed to be websafe
214
- /// nor provide better contrast than the base colour.
215
- ///
216
- /// @access private
217
- /// @deprecated Migrate to using the new organisation colour palette instead.
218
-
219
- $_govuk-legacy-organisation-colours: (
220
- "attorney-generals-office": (
221
- colour: #9f1888,
222
- colour-websafe: #a03a88
223
- ),
224
- "cabinet-office": (
225
- colour: #005abb,
226
- colour-websafe: #347da4
227
- ),
228
- "civil-service": (
229
- colour: #af292e
230
- ),
231
- "department-for-business-innovation-skills": (
232
- colour: #003479,
233
- colour-websafe: #347da4
234
- ),
235
- "department-for-communities-local-government": (
236
- colour: #009999,
237
- colour-websafe: #37836e
238
- ),
239
- "department-for-culture-media-sport": (
240
- colour: #d40072,
241
- colour-websafe: #a03155
242
- ),
243
- "department-for-education": (
244
- colour: #003a69,
245
- colour-websafe: #347ca9
246
- ),
247
- "department-for-environment-food-rural-affairs": (
248
- colour: #00a33b,
249
- colour-websafe: #008938
250
- ),
251
- "department-for-international-development": (
252
- colour: #002878,
253
- colour-websafe: #405e9a
254
- ),
255
- "department-for-international-trade": (
256
- colour: #cf102d,
257
- colour-websafe: #005ea5
258
- ),
259
- "department-for-business-trade": (
260
- colour: #cf102d,
261
- colour-websafe: #005ea5
262
- ),
263
- "department-for-levelling-up-housing-communities": (
264
- colour: #012169
265
- ),
266
- "department-for-transport": (
267
- colour: #006c56,
268
- colour-websafe: #398373
269
- ),
270
- "department-for-work-pensions": (
271
- colour: #00beb7,
272
- colour-websafe: #37807b
273
- ),
274
- "department-of-energy-climate-change": (
275
- colour: #009ddb,
276
- colour-websafe: #2b7cac
277
- ),
278
- "department-of-health": (
279
- colour: #00ad93,
280
- colour-websafe: #39836e
281
- ),
282
- "foreign-commonwealth-development-office": (
283
- colour: #012169
284
- ),
285
- "foreign-commonwealth-office": (
286
- colour: #003e74,
287
- colour-websafe: #406e97
288
- ),
289
- "government-equalities-office": (
290
- colour: #9325b2
291
- ),
292
- "hm-government": (
293
- colour: #0076c0,
294
- colour-websafe: #347da4
295
- ),
296
- "hm-revenue-customs": (
297
- colour: #009390,
298
- colour-websafe: #008670
299
- ),
300
- "hm-treasury": (
301
- colour: #af292e,
302
- colour-websafe: #832322
303
- ),
304
- "home-office": (
305
- colour: #9325b2,
306
- colour-websafe: #9440b2
307
- ),
308
- "ministry-of-defence": (
309
- colour: #4d2942,
310
- colour-websafe: #5a5c92
311
- ),
312
- "ministry-of-justice": (
313
- colour: #231f20,
314
- colour-websafe: #5a5c92
315
- ),
316
- "northern-ireland-office": (
317
- colour: #002663,
318
- colour-websafe: #3e598c
319
- ),
320
- "office-of-the-advocate-general-for-scotland": (
321
- colour: #002663,
322
- colour-websafe: #005ea5
323
- ),
324
- "office-of-the-leader-of-the-house-of-commons": (
325
- colour: #317023,
326
- colour-websafe: #005f8f
327
- ),
328
- "office-of-the-leader-of-the-house-of-lords": (
329
- colour: #9c132e,
330
- colour-websafe: #c2395d
331
- ),
332
- "scotland-office": (
333
- colour: #002663,
334
- colour-websafe: #405c8a
335
- ),
336
- "uk-export-finance": (
337
- colour: #005747,
338
- colour-websafe: #005ea5
339
- ),
340
- "uk-trade-investment": (
341
- colour: #c80651,
342
- colour-websafe: #005ea5
343
- ),
344
- "wales-office": (
345
- colour: #a33038,
346
- colour-websafe: #7a242a
347
- )
348
- );
349
-
350
- /// Set public organisation colours variable to one of the two maps.
351
- /// Users can also pass their own map to this to override it entirely.
352
- ///
353
- /// @type Map
354
- /// @access public
355
-
356
- $govuk-colours-organisations: $_govuk-legacy-organisation-colours !default;
357
-
358
- @if $govuk-new-organisation-colours and $govuk-colours-organisations == $_govuk-legacy-organisation-colours {
359
- $govuk-colours-organisations: $_govuk-organisation-colours;
360
- }
116
+ ) !default;
361
117
 
362
118
  /// Organisation colour aliases
363
119
  ///
@@ -374,9 +130,7 @@ $govuk-colours-organisations: $_govuk-legacy-organisation-colours !default;
374
130
  /// @access private
375
131
 
376
132
  $_govuk-colours-organisations-aliases: (
377
- "department-for-business-and-trade": "department-for-business-trade",
378
- "department-for-communities-and-local-government": "department-for-communities-local-government",
379
- "department-for-levelling-up-housing-and-communities": "department-for-levelling-up-housing-communities"
133
+ "department-for-business-and-trade": "department-for-business-trade"
380
134
  );
381
135
 
382
136
  /*# sourceMappingURL=_colours-organisations.scss.map */
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/govuk/settings/_colours-organisations.scss"],"names":[],"mappings":"AAAA,8BAA8B;;AAE9B,GAAG;AACH,0BAA0B;AAC1B,GAAG;;AAEH,yDAAyD;AACzD,EAAE;AACF,kEAAkE;AAClE,0CAA0C;AAC1C,EAAE;AACF,4BAA4B;AAC5B,EAAE;AACF,gBAAgB;AAChB,iBAAiB;AACjB,uFAAuF;;AAEvF,+CAA+C;;AAE/C,+BAA+B;AAC/B,EAAE;AACF,YAAY;AACZ,EAAE;AACF,oEAAoE;AACpE,2EAA2E;AAC3E,uEAAuE;AACvE,6EAA6E;AAC7E,2BAA2B;AAC3B,uEAAuE;AACvE,sEAAsE;AACtE,+DAA+D;AAC/D,EAAE;AACF,kBAAkB;;AAElB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuKC;;AAED,8BAA8B;AAC9B,EAAE;AACF,4EAA4E;AAC5E,iDAAiD;AACjD,EAAE;AACF,YAAY;AACZ,EAAE;AACF,oEAAoE;AACpE,yEAAyE;AACzE,2EAA2E;AAC3E,sDAAsD;AACtD,EAAE;AACF,kBAAkB;AAClB,4EAA4E;;AAE5E;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiIC;;AAED,mEAAmE;AACnE,qEAAqE;AACrE,EAAE;AACF,YAAY;AACZ,iBAAiB;;AAEjB,0EAA0E;;AAE1E;EACE,0DAA0D;AAC5D;;AAEA,8BAA8B;AAC9B,EAAE;AACF,0EAA0E;AAC1E,+CAA+C;AAC/C,EAAE;AACF,4EAA4E;AAC5E,6EAA6E;AAC7E,kEAAkE;AAClE,mCAAmC;AACnC,EAAE;AACF,YAAY;AACZ,EAAE;AACF,kBAAkB;;AAElB;;;;CAIC","file":"_colours-organisations.scss","sourcesContent":["@import \"../settings/warnings\";\n\n////\n/// @group settings/colours\n////\n\n/// Feature flag for updated organisation list and colours\n///\n/// When set to true, $govuk-colours-organisations will use the new\n/// organisation list and colour selection.\n///\n/// Should be removed in 6.0.\n///\n/// @type Boolean\n/// @access public\n/// @deprecated Using new organisation colours will become the default in Frontend v6.0.\n\n$govuk-new-organisation-colours: false !default;\n\n/// Current organisation colours\n///\n/// @type Map\n///\n/// @prop $organisation.colour - Colour for the given `$organisation`\n/// @prop $organisation.contrast-safe - 'Contrast safe' colour for the given\n/// `$organisation`. This colour has at least a 4.5:1 contrast against\n/// white, to be used for copy and meet the AAA (large text) and AA (smaller\n/// copy) WCAG guidelines.\n/// @prop $organisation.deprecation-message - Marks this organisation as\n/// deprecated (usually because it has ceased to exist). Value is the\n/// deprecation message output to the terminal when compiling.\n///\n/// @access private\n\n$_govuk-organisation-colours: (\n \"attorney-generals-office\": (\n colour: #a91c8e\n ),\n \"cabinet-office\": (\n colour: #0056b8\n ),\n \"civil-service\": (\n colour: #b2292e\n ),\n \"department-for-business-trade\": (\n colour: #e52d13,\n contrast-safe: #e02c13\n ),\n \"department-for-business-energy-industrial-strategy\": (\n colour: #003479,\n deprecation-message:\n \"`department-for-business-energy-industrial-strategy` was dissolved in 2023. It was replaced by `department-for-business-trade`, `department-for-energy-security-net-zero` and `department-science-innovation-technology`.\"\n ),\n \"department-for-business-innovation-skills\": (\n colour: #003479,\n deprecation-message:\n \"`department-for-business-innovation-skills` became `department-for-business-energy-industrial-strategy` in 2016. As of 2023, it is equivalent to `department-for-business-trade` or `department-science-innovation-technology`.\"\n ),\n \"department-for-communities-local-government\": (\n colour: #009999,\n contrast-safe: #008080,\n deprecation-message:\n \"`department-for-communities-local-government` became `ministry-of-housing-communities-local-government` in 2018.\"\n ),\n \"department-for-culture-media-sport\": (\n colour: #ed1588,\n contrast-safe: #d6177a\n ),\n \"department-for-digital-culture-media-sport\": (\n colour: #d40072,\n deprecation-message:\n \"`department-for-digital-culture-media-sport` became `department-for-culture-media-sport` in 2023.\"\n ),\n \"department-for-education\": (\n colour: #003764\n ),\n \"department-for-energy-security-net-zero\": (\n colour: #00a33b,\n contrast-safe: #00852f\n ),\n \"department-for-environment-food-rural-affairs\": (\n colour: #00a33b,\n contrast-safe: #008531\n ),\n \"department-for-exiting-the-european-union\": (\n colour: #009fe3,\n contrast-safe: #007db6,\n deprecation-message: \"`department-for-exiting-the-european-union` was dissolved in 2020.\"\n ),\n \"department-for-international-development\": (\n colour: #002878,\n deprecation-message:\n \"`department-for-international-development` was merged into `foreign-commonwealth-development-office` in 2020.\"\n ),\n \"department-for-international-trade\": (\n colour: #cf102d,\n deprecation-message: \"`department-for-international-trade` was merged into `department-for-business-trade` in 2023.\"\n ),\n \"department-for-levelling-up-housing-communities\": (\n colour: #012169,\n deprecation-message:\n \"`department-for-levelling-up-housing-communities` was renamed to `ministry-of-housing-communities-local-government` in 2024.\"\n ),\n \"department-for-science-innovation-technology\": (\n colour: #00f8f8,\n contrast-safe: #008180\n ),\n \"department-for-transport\": (\n colour: #006853\n ),\n \"department-for-work-pensions\": (\n colour: #00bcb5,\n contrast-safe: #00857e\n ),\n \"department-of-energy-climate-change\": (\n colour: #009ddb,\n contrast-safe: #007db3,\n deprecation-message:\n \"`department-of-energy-climate-change` was merged into `department-for-business-energy-industrial-strategy` in 2016. As of 2023, it is equivalent to `department-for-energy-security-net-zero`.\"\n ),\n \"department-of-health\": (\n colour: #00ad93,\n contrast-safe: #008573,\n deprecation-message: \"`department-of-health` became `department-of-health-social-care` in 2018.\"\n ),\n \"department-of-health-social-care\": (\n colour: #00a990,\n contrast-safe: #008674\n ),\n \"foreign-commonwealth-office\": (\n colour: #003e74,\n deprecation-message: \"`foreign-commonwealth-office` became `foreign-commonwealth-development-office` in 2018.\"\n ),\n \"foreign-commonwealth-development-office\": (\n colour: #012069\n ),\n \"government-equalities-office\": (\n colour: #0056b8,\n deprecation-message: \"`government-equalities-office` is deprecated. Use `cabinet-office` instead.\"\n ),\n \"hm-government\": (\n colour: #266ebc\n ),\n \"hm-revenue-customs\": (\n colour: #008670\n ),\n \"hm-treasury\": (\n colour: #b2292e\n ),\n \"home-office\": (\n colour: #732282\n ),\n \"ministry-of-defence\": (\n colour: #532a45\n ),\n \"ministry-of-housing-communities-local-government\": (\n colour: #00625e\n ),\n \"ministry-of-justice\": (\n colour: #000000\n ),\n \"northern-ireland-office\": (\n colour: #00205c\n ),\n \"office-of-the-advocate-general-for-scotland\": (\n colour: #00205c\n ),\n \"office-of-the-leader-of-the-house-of-commons\": (\n colour: #497629\n ),\n \"office-of-the-leader-of-the-house-of-lords\": (\n colour: #9c182f\n ),\n \"office-of-the-secretary-of-state-for-scotland\": (\n colour: #00205c,\n deprecation-message: \"`office-of-the-secretary-of-state-for-scotland` was renamed to `scotland-office` in 2024.\"\n ),\n \"office-of-the-secretary-of-state-for-wales\": (\n colour: #a8353a,\n deprecation-message: \"`office-of-the-secretary-of-state-for-wales` was renamed to `wales-office` in 2024.\"\n ),\n \"prime-ministers-office-10-downing-street\": (\n colour: #0b0c0c\n ),\n \"scotland-office\": (\n colour: #00205c\n ),\n \"serious-fraud-office\": (\n colour: #82368c\n ),\n \"uk-export-finance\": (\n colour: #cf102d\n ),\n \"uk-trade-investment\": (\n colour: #c80651,\n deprecation-message:\n \"`uk-trade-investment` became `department-for-international-trade` in 2016. As of 2023, it is equivalent to `department-for-business-trade`.\"\n ),\n \"wales-office\": (\n colour: #a33038\n )\n);\n\n/// Legacy organisation colours\n///\n/// These are the colours included with Frontend prior to 5.3.0. They will be\n/// removed in a future major version of Frontend.\n///\n/// @type Map\n///\n/// @prop $organisation.colour - Colour for the given `$organisation`\n/// @prop $organisation.colour-websafe - Optional alternative shade of the\n/// organisation colour. Despite the name, is not guaranteed to be websafe\n/// nor provide better contrast than the base colour.\n///\n/// @access private\n/// @deprecated Migrate to using the new organisation colour palette instead.\n\n$_govuk-legacy-organisation-colours: (\n \"attorney-generals-office\": (\n colour: #9f1888,\n colour-websafe: #a03a88\n ),\n \"cabinet-office\": (\n colour: #005abb,\n colour-websafe: #347da4\n ),\n \"civil-service\": (\n colour: #af292e\n ),\n \"department-for-business-innovation-skills\": (\n colour: #003479,\n colour-websafe: #347da4\n ),\n \"department-for-communities-local-government\": (\n colour: #009999,\n colour-websafe: #37836e\n ),\n \"department-for-culture-media-sport\": (\n colour: #d40072,\n colour-websafe: #a03155\n ),\n \"department-for-education\": (\n colour: #003a69,\n colour-websafe: #347ca9\n ),\n \"department-for-environment-food-rural-affairs\": (\n colour: #00a33b,\n colour-websafe: #008938\n ),\n \"department-for-international-development\": (\n colour: #002878,\n colour-websafe: #405e9a\n ),\n \"department-for-international-trade\": (\n colour: #cf102d,\n colour-websafe: #005ea5\n ),\n \"department-for-business-trade\": (\n colour: #cf102d,\n colour-websafe: #005ea5\n ),\n \"department-for-levelling-up-housing-communities\": (\n colour: #012169\n ),\n \"department-for-transport\": (\n colour: #006c56,\n colour-websafe: #398373\n ),\n \"department-for-work-pensions\": (\n colour: #00beb7,\n colour-websafe: #37807b\n ),\n \"department-of-energy-climate-change\": (\n colour: #009ddb,\n colour-websafe: #2b7cac\n ),\n \"department-of-health\": (\n colour: #00ad93,\n colour-websafe: #39836e\n ),\n \"foreign-commonwealth-development-office\": (\n colour: #012169\n ),\n \"foreign-commonwealth-office\": (\n colour: #003e74,\n colour-websafe: #406e97\n ),\n \"government-equalities-office\": (\n colour: #9325b2\n ),\n \"hm-government\": (\n colour: #0076c0,\n colour-websafe: #347da4\n ),\n \"hm-revenue-customs\": (\n colour: #009390,\n colour-websafe: #008670\n ),\n \"hm-treasury\": (\n colour: #af292e,\n colour-websafe: #832322\n ),\n \"home-office\": (\n colour: #9325b2,\n colour-websafe: #9440b2\n ),\n \"ministry-of-defence\": (\n colour: #4d2942,\n colour-websafe: #5a5c92\n ),\n \"ministry-of-justice\": (\n colour: #231f20,\n colour-websafe: #5a5c92\n ),\n \"northern-ireland-office\": (\n colour: #002663,\n colour-websafe: #3e598c\n ),\n \"office-of-the-advocate-general-for-scotland\": (\n colour: #002663,\n colour-websafe: #005ea5\n ),\n \"office-of-the-leader-of-the-house-of-commons\": (\n colour: #317023,\n colour-websafe: #005f8f\n ),\n \"office-of-the-leader-of-the-house-of-lords\": (\n colour: #9c132e,\n colour-websafe: #c2395d\n ),\n \"scotland-office\": (\n colour: #002663,\n colour-websafe: #405c8a\n ),\n \"uk-export-finance\": (\n colour: #005747,\n colour-websafe: #005ea5\n ),\n \"uk-trade-investment\": (\n colour: #c80651,\n colour-websafe: #005ea5\n ),\n \"wales-office\": (\n colour: #a33038,\n colour-websafe: #7a242a\n )\n);\n\n/// Set public organisation colours variable to one of the two maps.\n/// Users can also pass their own map to this to override it entirely.\n///\n/// @type Map\n/// @access public\n\n$govuk-colours-organisations: $_govuk-legacy-organisation-colours !default;\n\n@if $govuk-new-organisation-colours and $govuk-colours-organisations == $_govuk-legacy-organisation-colours {\n $govuk-colours-organisations: $_govuk-organisation-colours;\n}\n\n/// Organisation colour aliases\n///\n/// Some organisations have been renamed within our code over time. Here we\n/// map the prior key to the new equivalent key.\n///\n/// Note: This is for internal renames only. If a department has changed name\n/// or brand colour in a machinery of government change, it should be added to\n/// $govuk-colours-organisations as a new entry with any superseded\n/// organisations marked deprecated.\n///\n/// @type Map\n///\n/// @access private\n\n$_govuk-colours-organisations-aliases: (\n \"department-for-business-and-trade\": \"department-for-business-trade\",\n \"department-for-communities-and-local-government\": \"department-for-communities-local-government\",\n \"department-for-levelling-up-housing-and-communities\": \"department-for-levelling-up-housing-communities\"\n);\n"]}
1
+ {"version":3,"sources":["../../../src/govuk/settings/_colours-organisations.scss"],"names":[],"mappings":"AAAA,8BAA8B;;AAE9B,GAAG;AACH,0BAA0B;AAC1B,GAAG;;AAEH,8BAA8B;AAC9B,EAAE;AACF,YAAY;AACZ,EAAE;AACF,oEAAoE;AACpE,2EAA2E;AAC3E,uEAAuE;AACvE,6EAA6E;AAC7E,2BAA2B;AAC3B,uEAAuE;AACvE,0EAA0E;AAC1E,oEAAoE;AACpE,EAAE;AACF,iBAAiB;;AAEjB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;UA8FU;;AAEV,8BAA8B;AAC9B,EAAE;AACF,0EAA0E;AAC1E,+CAA+C;AAC/C,EAAE;AACF,4EAA4E;AAC5E,6EAA6E;AAC7E,kEAAkE;AAClE,mCAAmC;AACnC,EAAE;AACF,YAAY;AACZ,EAAE;AACF,kBAAkB;;AAElB;;CAEC","file":"_colours-organisations.scss","sourcesContent":["@import \"../settings/warnings\";\n\n////\n/// @group settings/colours\n////\n\n/// Organisation colour palette\n///\n/// @type Map\n///\n/// @prop $organisation.colour - Colour for the given `$organisation`\n/// @prop $organisation.contrast-safe - 'Contrast safe' colour for the given\n/// `$organisation`. This colour has at least a 4.5:1 contrast against\n/// white, to be used for copy and meet the AAA (large text) and AA (smaller\n/// copy) WCAG guidelines.\n/// @prop $organisation.deprecation-message - Marks this organisation as\n/// deprecated (usually because it has ceased to exist). The value is the\n/// deprecation message output to the terminal when compiling Sass.\n///\n/// @access public\n\n$govuk-colours-organisations: (\n \"attorney-generals-office\": (\n colour: #a91c8e\n ),\n \"cabinet-office\": (\n colour: #0056b8\n ),\n \"civil-service\": (\n colour: #b2292e\n ),\n \"department-for-business-trade\": (\n colour: #e52d13,\n contrast-safe: #e02c13\n ),\n \"department-for-culture-media-sport\": (\n colour: #ed1588,\n contrast-safe: #d6177a\n ),\n \"department-for-education\": (\n colour: #003764\n ),\n \"department-for-energy-security-net-zero\": (\n colour: #003479\n ),\n \"department-for-environment-food-rural-affairs\": (\n colour: #00a33b,\n contrast-safe: #008531\n ),\n \"department-for-science-innovation-technology\": (\n colour: #00f8f8,\n contrast-safe: #008180\n ),\n \"department-for-transport\": (\n colour: #006853\n ),\n \"department-for-work-pensions\": (\n colour: #00bcb5,\n contrast-safe: #00857e\n ),\n \"department-of-health-social-care\": (\n colour: #00a990,\n contrast-safe: #008674\n ),\n \"foreign-commonwealth-development-office\": (\n colour: #012069\n ),\n \"hm-government\": (\n colour: #266ebc\n ),\n \"hm-revenue-customs\": (\n colour: #008670\n ),\n \"hm-treasury\": (\n colour: #b2292e\n ),\n \"home-office\": (\n colour: #732282\n ),\n \"ministry-of-defence\": (\n colour: #532a45\n ),\n \"ministry-of-housing-communities-local-government\": (\n colour: #00625e\n ),\n \"ministry-of-justice\": (\n colour: #000000\n ),\n \"northern-ireland-office\": (\n colour: #00205c\n ),\n \"office-of-the-advocate-general-for-scotland\": (\n colour: #00205c\n ),\n \"office-of-the-leader-of-the-house-of-commons\": (\n colour: #497629\n ),\n \"office-of-the-leader-of-the-house-of-lords\": (\n colour: #9c182f\n ),\n \"prime-ministers-office-10-downing-street\": (\n colour: #0b0c0c\n ),\n \"scotland-office\": (\n colour: #00205c\n ),\n \"serious-fraud-office\": (\n colour: #82368c\n ),\n \"uk-export-finance\": (\n colour: #cf102d\n ),\n \"wales-office\": (\n colour: #a33038\n )\n) !default;\n\n/// Organisation colour aliases\n///\n/// Some organisations have been renamed within our code over time. Here we\n/// map the prior key to the new equivalent key.\n///\n/// Note: This is for internal renames only. If a department has changed name\n/// or brand colour in a machinery of government change, it should be added to\n/// $govuk-colours-organisations as a new entry with any superseded\n/// organisations marked deprecated.\n///\n/// @type Map\n///\n/// @access private\n\n$_govuk-colours-organisations-aliases: (\n \"department-for-business-and-trade\": \"department-for-business-trade\"\n);\n"]}
@@ -6,32 +6,124 @@
6
6
  ///
7
7
  /// @type Map
8
8
  ///
9
- /// @prop $colour - Representation for the given $colour, where $colour is the
10
- /// friendly name for the colour (e.g. "red": #ff0000);
9
+ /// @prop {Map|Colour} $colour - Representation for the `$colour` or a map associating
10
+ /// name of `$variant`s of the colours to their representation
11
11
  ///
12
- /// @access public
12
+ /// @access private
13
13
 
14
- $govuk-colours: (
15
- "red": #d4351c,
16
- "yellow": #ffdd00,
17
- "green": #00703c,
18
- "blue": #1d70b8,
19
- "dark-blue": #003078,
20
- "light-blue": #5694ca,
21
- "purple": #4c2c92,
22
- "black": #0b0c0c,
23
- "dark-grey": #505a5f,
24
- "mid-grey": #b1b4b6,
25
- "light-grey": #f3f2f1,
26
- "white": #ffffff,
27
- "light-purple": #6f72af,
28
- "bright-purple": #912b88,
29
- "pink": #d53880,
30
- "light-pink": #f499be,
31
- "orange": #f47738,
32
- "brown": #b58840,
33
- "light-green": #85994b,
34
- "turquoise": #28a197
35
- ) !default;
14
+ $_govuk-palette: (
15
+ "blue": (
16
+ "primary": #1d70b8,
17
+ "tint-25": #5694ca,
18
+ "tint-50": #8eb8dc,
19
+ "tint-80": #d2e2f1,
20
+ "tint-95": #f4f8fb,
21
+ "shade-25": #16548a,
22
+ "shade-50": #0f385c,
23
+ // Listed last as tests expect colours to be in a given order
24
+ "shade-10": #1a65a6
25
+ ),
26
+ "green": (
27
+ "primary": #0f7a52,
28
+ "tint-25": #4b9b7d,
29
+ "tint-50": #87bca8,
30
+ "tint-80": #cfe4dc,
31
+ "tint-95": #f3f8f6,
32
+ "shade-25": #0b5c3e,
33
+ "shade-50": #083d29
34
+ ),
35
+ "teal": (
36
+ "primary": #158187,
37
+ "tint-25": #50a1a5,
38
+ "tint-50": #8ac0c3,
39
+ "tint-80": #d0e6e7,
40
+ "tint-95": #f3f9f9,
41
+ "shade-25": #106165,
42
+ "shade-50": #0b4144,
43
+ "accent": #00ffe0
44
+ ),
45
+ "purple": (
46
+ "primary": #54319f,
47
+ "tint-25": #7f65b7,
48
+ "tint-50": #aa98cf,
49
+ "tint-80": #ddd6ec,
50
+ "tint-95": #f6f5fa,
51
+ "shade-25": #3f2577,
52
+ "shade-50": #2a1950
53
+ ),
54
+ "magenta": (
55
+ "primary": #ca357c,
56
+ "tint-25": #d7689d,
57
+ "tint-50": #e59abe,
58
+ "tint-80": #f4d7e5,
59
+ "tint-95": #fcf5f8,
60
+ "shade-25": #98285d,
61
+ "shade-50": #651b3e
62
+ ),
63
+ "red": (
64
+ "primary": #ca3535,
65
+ "tint-25": #d76868,
66
+ "tint-50": #e59a9a,
67
+ "tint-80": #f4d7d7,
68
+ "tint-95": #fcf5f5,
69
+ "shade-25": #982828,
70
+ "shade-50": #651b1b
71
+ ),
72
+ "orange": (
73
+ "primary": #f47738,
74
+ "tint-25": #f7996a,
75
+ "tint-50": #fabb9c,
76
+ "tint-80": #fde4d7,
77
+ "tint-95": #fef8f5,
78
+ "shade-25": #b7592a,
79
+ "shade-50": #7a3c1c
80
+ ),
81
+ "yellow": (
82
+ "primary": #ffdd00,
83
+ "tint-25": #ffe640,
84
+ "tint-50": #ffee80,
85
+ "tint-80": #fff8cc,
86
+ "tint-95": #fffdf2,
87
+ "shade-25": #bfa600,
88
+ "shade-50": #806f00
89
+ ),
90
+ "brown": (
91
+ "primary": #99704a,
92
+ "tint-25": #b39477,
93
+ "tint-50": #ccb8a5,
94
+ "tint-95": #faf8f6
95
+ ),
96
+ "black": (
97
+ "primary": #0b0c0c,
98
+ "tint-25": #484949,
99
+ "tint-50": #858686,
100
+ "tint-80": #cecece,
101
+ "tint-95": #f3f3f3
102
+ ),
103
+ "white": #ffffff
104
+ );
105
+
106
+ /// Pre-brand colours correspondence table
107
+ ///
108
+ /// @type Map
109
+ ///
110
+ /// @prop {List} $colour - Colour name and variant in the brand colours
111
+ /// that correspond to the `$colour` in GOV.UK Frontend colours before
112
+ /// the brand colours were introduced
113
+ ///
114
+ /// @access private
115
+ $_govuk-pre-brand-colours: (
116
+ "light-pink": "magenta" "tint-50",
117
+ "pink": "magenta" "primary",
118
+ "light-green": "green" "tint-25",
119
+ "turquoise": "teal" "primary",
120
+ "light-blue": "blue" "tint-25",
121
+ "dark-blue": "blue" "shade-50",
122
+ "light-purple": "purple" "tint-25",
123
+ "bright-purple": "magenta" "shade-25",
124
+ "dark-grey": "black" "tint-25",
125
+ "mid-grey": "black" "tint-80",
126
+ "light-grey": "black" "tint-95"
127
+ );
36
128
 
37
129
  /*# sourceMappingURL=_colours-palette.scss.map */
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/govuk/settings/_colours-palette.scss"],"names":[],"mappings":"AAAA,GAAG;AACH,0BAA0B;AAC1B,GAAG;;AAEH,iBAAiB;AACjB,EAAE;AACF,YAAY;AACZ,EAAE;AACF,6EAA6E;AAC7E,wDAAwD;AACxD,EAAE;AACF,iBAAiB;;AAEjB;;;;;;;;;;;;;;;;;;;;;UAqBU","file":"_colours-palette.scss","sourcesContent":["////\n/// @group settings/colours\n////\n\n/// Colour palette\n///\n/// @type Map\n///\n/// @prop $colour - Representation for the given $colour, where $colour is the\n/// friendly name for the colour (e.g. \"red\": #ff0000);\n///\n/// @access public\n\n$govuk-colours: (\n \"red\": #d4351c,\n \"yellow\": #ffdd00,\n \"green\": #00703c,\n \"blue\": #1d70b8,\n \"dark-blue\": #003078,\n \"light-blue\": #5694ca,\n \"purple\": #4c2c92,\n \"black\": #0b0c0c,\n \"dark-grey\": #505a5f,\n \"mid-grey\": #b1b4b6,\n \"light-grey\": #f3f2f1,\n \"white\": #ffffff,\n \"light-purple\": #6f72af,\n \"bright-purple\": #912b88,\n \"pink\": #d53880,\n \"light-pink\": #f499be,\n \"orange\": #f47738,\n \"brown\": #b58840,\n \"light-green\": #85994b,\n \"turquoise\": #28a197\n) !default;\n"]}
1
+ {"version":3,"sources":["../../../src/govuk/settings/_colours-palette.scss"],"names":[],"mappings":"AAAA,GAAG;AACH,0BAA0B;AAC1B,GAAG;;AAEH,iBAAiB;AACjB,EAAE;AACF,YAAY;AACZ,EAAE;AACF,qFAAqF;AACrF,+DAA+D;AAC/D,EAAE;AACF,kBAAkB;;AAElB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0FC;;AAED,yCAAyC;AACzC,EAAE;AACF,YAAY;AACZ,EAAE;AACF,sEAAsE;AACtE,uEAAuE;AACvE,sCAAsC;AACtC,EAAE;AACF,kBAAkB;AAClB;;;;;;;;;;;;CAYC","file":"_colours-palette.scss","sourcesContent":["////\n/// @group settings/colours\n////\n\n/// Colour palette\n///\n/// @type Map\n///\n/// @prop {Map|Colour} $colour - Representation for the `$colour` or a map associating\n/// name of `$variant`s of the colours to their representation\n///\n/// @access private\n\n$_govuk-palette: (\n \"blue\": (\n \"primary\": #1d70b8,\n \"tint-25\": #5694ca,\n \"tint-50\": #8eb8dc,\n \"tint-80\": #d2e2f1,\n \"tint-95\": #f4f8fb,\n \"shade-25\": #16548a,\n \"shade-50\": #0f385c,\n // Listed last as tests expect colours to be in a given order\n \"shade-10\": #1a65a6\n ),\n \"green\": (\n \"primary\": #0f7a52,\n \"tint-25\": #4b9b7d,\n \"tint-50\": #87bca8,\n \"tint-80\": #cfe4dc,\n \"tint-95\": #f3f8f6,\n \"shade-25\": #0b5c3e,\n \"shade-50\": #083d29\n ),\n \"teal\": (\n \"primary\": #158187,\n \"tint-25\": #50a1a5,\n \"tint-50\": #8ac0c3,\n \"tint-80\": #d0e6e7,\n \"tint-95\": #f3f9f9,\n \"shade-25\": #106165,\n \"shade-50\": #0b4144,\n \"accent\": #00ffe0\n ),\n \"purple\": (\n \"primary\": #54319f,\n \"tint-25\": #7f65b7,\n \"tint-50\": #aa98cf,\n \"tint-80\": #ddd6ec,\n \"tint-95\": #f6f5fa,\n \"shade-25\": #3f2577,\n \"shade-50\": #2a1950\n ),\n \"magenta\": (\n \"primary\": #ca357c,\n \"tint-25\": #d7689d,\n \"tint-50\": #e59abe,\n \"tint-80\": #f4d7e5,\n \"tint-95\": #fcf5f8,\n \"shade-25\": #98285d,\n \"shade-50\": #651b3e\n ),\n \"red\": (\n \"primary\": #ca3535,\n \"tint-25\": #d76868,\n \"tint-50\": #e59a9a,\n \"tint-80\": #f4d7d7,\n \"tint-95\": #fcf5f5,\n \"shade-25\": #982828,\n \"shade-50\": #651b1b\n ),\n \"orange\": (\n \"primary\": #f47738,\n \"tint-25\": #f7996a,\n \"tint-50\": #fabb9c,\n \"tint-80\": #fde4d7,\n \"tint-95\": #fef8f5,\n \"shade-25\": #b7592a,\n \"shade-50\": #7a3c1c\n ),\n \"yellow\": (\n \"primary\": #ffdd00,\n \"tint-25\": #ffe640,\n \"tint-50\": #ffee80,\n \"tint-80\": #fff8cc,\n \"tint-95\": #fffdf2,\n \"shade-25\": #bfa600,\n \"shade-50\": #806f00\n ),\n \"brown\": (\n \"primary\": #99704a,\n \"tint-25\": #b39477,\n \"tint-50\": #ccb8a5,\n \"tint-95\": #faf8f6\n ),\n \"black\": (\n \"primary\": #0b0c0c,\n \"tint-25\": #484949,\n \"tint-50\": #858686,\n \"tint-80\": #cecece,\n \"tint-95\": #f3f3f3\n ),\n \"white\": #ffffff\n);\n\n/// Pre-brand colours correspondence table\n///\n/// @type Map\n///\n/// @prop {List} $colour - Colour name and variant in the brand colours\n/// that correspond to the `$colour` in GOV.UK Frontend colours before\n/// the brand colours were introduced\n///\n/// @access private\n$_govuk-pre-brand-colours: (\n \"light-pink\": \"magenta\" \"tint-50\",\n \"pink\": \"magenta\" \"primary\",\n \"light-green\": \"green\" \"tint-25\",\n \"turquoise\": \"teal\" \"primary\",\n \"light-blue\": \"blue\" \"tint-25\",\n \"dark-blue\": \"blue\" \"shade-50\",\n \"light-purple\": \"purple\" \"tint-25\",\n \"bright-purple\": \"magenta\" \"shade-25\",\n \"dark-grey\": \"black\" \"tint-25\",\n \"mid-grey\": \"black\" \"tint-80\",\n \"light-grey\": \"black\" \"tint-95\"\n);\n"]}
@@ -0,0 +1,18 @@
1
+ ////
2
+ /// @group settings/custom-properties
3
+ ////
4
+
5
+ /// Output CSS custom properties
6
+ ///
7
+ /// Whether to output CSS Custom Properties in the compiled stylesheet.
8
+ ///
9
+ /// If you are compiling multiple stylesheets that will be used together on a
10
+ /// page, set this to false in any secondary stylesheets to avoid including the
11
+ /// Custom Properties multiple times.
12
+ ///
13
+ /// @type Boolean
14
+ /// @access public
15
+
16
+ $govuk-output-custom-properties: true !default;
17
+
18
+ /*# sourceMappingURL=_custom-properties.scss.map */
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../src/govuk/settings/_custom-properties.scss"],"names":[],"mappings":"AAAA,GAAG;AACH,oCAAoC;AACpC,GAAG;;AAEH,+BAA+B;AAC/B,EAAE;AACF,sEAAsE;AACtE,EAAE;AACF,4EAA4E;AAC5E,8EAA8E;AAC9E,oCAAoC;AACpC,EAAE;AACF,gBAAgB;AAChB,iBAAiB;;AAEjB,8CAA8C","file":"_custom-properties.scss","sourcesContent":["////\n/// @group settings/custom-properties\n////\n\n/// Output CSS custom properties\n///\n/// Whether to output CSS Custom Properties in the compiled stylesheet.\n///\n/// If you are compiling multiple stylesheets that will be used together on a\n/// page, set this to false in any secondary stylesheets to avoid including the\n/// Custom Properties multiple times.\n///\n/// @type Boolean\n/// @access public\n\n$govuk-output-custom-properties: true !default;\n"]}
@@ -6,11 +6,13 @@
6
6
  @import "warnings";
7
7
  @import "global-styles";
8
8
 
9
+ @import "custom-properties";
10
+
9
11
  @import "media-queries";
10
12
 
11
13
  @import "colours-palette";
12
14
  @import "colours-organisations";
13
- @import "colours-applied";
15
+ @import "colours-functional";
14
16
 
15
17
  @import "spacing";
16
18
  @import "measurements";
@@ -20,17 +22,4 @@
20
22
 
21
23
  @import "links";
22
24
 
23
- // LibSass evaluates this as a single unquoted string, equivalent to
24
- // "true == false", whereas Dart Sass evaluates it as "true" == "false".
25
- // Because a string in Sass is truthy, LibSass will output the warning; Dart
26
- // Sass will not.
27
- @if #{true} == #{false} {
28
- @include _warning(
29
- "libsass",
30
- "It looks like you may be using LibSass to compile your Sass. LibSass is " +
31
- "deprecated and will not be supported by the next major version of " +
32
- "GOV.UK Frontend. See https://sass-lang.com/libsass/ for more information."
33
- );
34
- }
35
-
36
25
  /*# sourceMappingURL=_index.scss.map */
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/govuk/settings/_index.scss"],"names":[],"mappings":"AAAA,8EAA8E;AAC9E,QAAQ;;AAER,gBAAgB;;AAEhB,kBAAkB;AAClB,uBAAuB;;AAEvB,uBAAuB;;AAEvB,yBAAyB;AACzB,+BAA+B;AAC/B,yBAAyB;;AAEzB,iBAAiB;AACjB,sBAAsB;;AAEtB,yBAAyB;AACzB,+BAA+B;;AAE/B,eAAe;;AAEf,mEAAmE;AACnE,uEAAuE;AACvE,2EAA2E;AAC3E,gBAAgB;AAChB;EACE;;;;;GAKC;AACH","file":"_index.scss","sourcesContent":["// The order we import settings in is important, as some settings files rely on\n// others\n\n@import \"assets\";\n\n@import \"warnings\";\n@import \"global-styles\";\n\n@import \"media-queries\";\n\n@import \"colours-palette\";\n@import \"colours-organisations\";\n@import \"colours-applied\";\n\n@import \"spacing\";\n@import \"measurements\";\n\n@import \"typography-font\";\n@import \"typography-responsive\";\n\n@import \"links\";\n\n// LibSass evaluates this as a single unquoted string, equivalent to\n// \"true == false\", whereas Dart Sass evaluates it as \"true\" == \"false\".\n// Because a string in Sass is truthy, LibSass will output the warning; Dart\n// Sass will not.\n@if #{true} == #{false} {\n @include _warning(\n \"libsass\",\n \"It looks like you may be using LibSass to compile your Sass. LibSass is \" +\n \"deprecated and will not be supported by the next major version of \" +\n \"GOV.UK Frontend. See https://sass-lang.com/libsass/ for more information.\"\n );\n}\n"]}
1
+ {"version":3,"sources":["../../../src/govuk/settings/_index.scss"],"names":[],"mappings":"AAAA,8EAA8E;AAC9E,QAAQ;;AAER,gBAAgB;;AAEhB,kBAAkB;AAClB,uBAAuB;;AAEvB,2BAA2B;;AAE3B,uBAAuB;;AAEvB,yBAAyB;AACzB,+BAA+B;AAC/B,4BAA4B;;AAE5B,iBAAiB;AACjB,sBAAsB;;AAEtB,yBAAyB;AACzB,+BAA+B;;AAE/B,eAAe","file":"_index.scss","sourcesContent":["// The order we import settings in is important, as some settings files rely on\n// others\n\n@import \"assets\";\n\n@import \"warnings\";\n@import \"global-styles\";\n\n@import \"custom-properties\";\n\n@import \"media-queries\";\n\n@import \"colours-palette\";\n@import \"colours-organisations\";\n@import \"colours-functional\";\n\n@import \"spacing\";\n@import \"measurements\";\n\n@import \"typography-font\";\n@import \"typography-responsive\";\n\n@import \"links\";\n"]}
@@ -2,8 +2,6 @@
2
2
  /// @group settings/layout
3
3
  ////
4
4
 
5
- @import "../settings/warnings";
6
-
7
5
  /// Breakpoint definitions
8
6
  ///
9
7
  /// @type Map
@@ -15,18 +13,4 @@ $govuk-breakpoints: (
15
13
  desktop: 769px
16
14
  ) !default;
17
15
 
18
- /// Show active breakpoint in top-right corner.
19
- ///
20
- /// Only use this during local development.
21
- ///
22
- /// @type Boolean
23
- /// @access public
24
- /// @deprecated The variable is non-operational and will be removed in Frontend v6.0.
25
-
26
- $govuk-show-breakpoints: false !default;
27
-
28
- @if $govuk-show-breakpoints and _should-warn("govuk-show-breakpoints") {
29
- @warn _warning-text("govuk-show-breakpoints", "The `$govuk-show-breakpoints` variable is deprecated and is non-operational. It will be removed in the next major version.");
30
- }
31
-
32
16
  /*# sourceMappingURL=_media-queries.scss.map */
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/govuk/settings/_media-queries.scss"],"names":[],"mappings":"AAAA,GAAG;AACH,yBAAyB;AACzB,GAAG;;AAEH,8BAA8B;;AAE9B,yBAAyB;AACzB,EAAE;AACF,YAAY;AACZ,iBAAiB;;AAEjB;;;;UAIU;;AAEV,8CAA8C;AAC9C,EAAE;AACF,0CAA0C;AAC1C,EAAE;AACF,gBAAgB;AAChB,iBAAiB;AACjB,oFAAoF;;AAEpF,uCAAuC;;AAEvC;EACE,2KAA2K;AAC7K","file":"_media-queries.scss","sourcesContent":["////\n/// @group settings/layout\n////\n\n@import \"../settings/warnings\";\n\n/// Breakpoint definitions\n///\n/// @type Map\n/// @access public\n\n$govuk-breakpoints: (\n mobile: 320px,\n tablet: 641px,\n desktop: 769px\n) !default;\n\n/// Show active breakpoint in top-right corner.\n///\n/// Only use this during local development.\n///\n/// @type Boolean\n/// @access public\n/// @deprecated The variable is non-operational and will be removed in Frontend v6.0.\n\n$govuk-show-breakpoints: false !default;\n\n@if $govuk-show-breakpoints and _should-warn(\"govuk-show-breakpoints\") {\n @warn _warning-text(\"govuk-show-breakpoints\", \"The `$govuk-show-breakpoints` variable is deprecated and is non-operational. It will be removed in the next major version.\");\n}\n"]}
1
+ {"version":3,"sources":["../../../src/govuk/settings/_media-queries.scss"],"names":[],"mappings":"AAAA,GAAG;AACH,yBAAyB;AACzB,GAAG;;AAEH,yBAAyB;AACzB,EAAE;AACF,YAAY;AACZ,iBAAiB;;AAEjB;;;;UAIU","file":"_media-queries.scss","sourcesContent":["////\n/// @group settings/layout\n////\n\n/// Breakpoint definitions\n///\n/// @type Map\n/// @access public\n\n$govuk-breakpoints: (\n mobile: 320px,\n tablet: 641px,\n desktop: 769px\n) !default;\n"]}