uswds-jekyll 4.1.0 → 5.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (801) hide show
  1. checksums.yaml +5 -5
  2. data/README.md +345 -315
  3. data/_includes/analytics.html +7 -10
  4. data/_includes/components/banner.html +38 -13
  5. data/_includes/components/footer--big.html +142 -0
  6. data/_includes/components/footer--default.html +104 -0
  7. data/_includes/components/footer--slim.html +93 -0
  8. data/_includes/components/github-edit.html +3 -0
  9. data/_includes/components/graphic-list.html +13 -11
  10. data/_includes/components/header.html +161 -0
  11. data/_includes/components/hero.html +6 -13
  12. data/_includes/components/search.html +31 -0
  13. data/_includes/footer.html +7 -1
  14. data/_includes/header.html +1 -5
  15. data/_includes/meta.html +7 -1
  16. data/_includes/scripts.html +23 -14
  17. data/_includes/sidenav.html +23 -21
  18. data/_includes/styles.html +1 -1
  19. data/_layouts/default.html +39 -3
  20. data/_layouts/home.html +5 -26
  21. data/_layouts/page.html +19 -13
  22. data/_layouts/project.html +1 -2
  23. data/_layouts/team-member.html +1 -2
  24. data/_sass/_uswds-theme-custom-styles.scss +0 -0
  25. data/_sass/_uswds-theme-override-settings.scss +2 -0
  26. data/_sass/_uswds-theme-packages.scss +1 -0
  27. data/_sass/_uswds-theme-settings.scss +0 -0
  28. data/_sass/uswds/components/_all.scss +8 -0
  29. data/_sass/{components → uswds/components}/_alt-color-section.scss +6 -7
  30. data/_sass/{components → uswds/components}/_card.scss +14 -17
  31. data/_sass/uswds/components/_footer.scss +16 -502
  32. data/_sass/uswds/components/_header.scss +30 -198
  33. data/_sass/uswds/components/_hero.scss +37 -29
  34. data/_sass/{components → uswds/components}/_nav-buttons.scss +6 -6
  35. data/_sass/uswds/components/_side-nav.scss +46 -0
  36. data/_sass/uswds/components/_site-width.scss +6 -0
  37. data/_sass/uswds/components/_top-nav.scss +84 -0
  38. data/_sass/uswds/components/_usa-banner.scss +30 -0
  39. data/_sass/uswds/custom/_uswds-theme-custom-styles.scss +47 -0
  40. data/_sass/uswds/settings/_uswds-conversion-variables.scss +0 -0
  41. data/_sass/uswds/src/base/_accessibility.scss +3 -0
  42. data/_sass/uswds/src/base/_body.scss +5 -0
  43. data/_sass/uswds/src/components/_accordions.scss +116 -0
  44. data/_sass/uswds/src/components/_alerts.scss +143 -0
  45. data/_sass/uswds/src/components/_banner.scss +297 -0
  46. data/_sass/uswds/src/components/_breadcrumb.scss +168 -0
  47. data/_sass/uswds/src/components/_button-groups.scss +134 -0
  48. data/_sass/uswds/src/components/_card.scss +346 -0
  49. data/_sass/uswds/src/components/_checklist.scss +17 -0
  50. data/_sass/uswds/src/components/_footer.scss +359 -0
  51. data/_sass/uswds/src/components/_forms.scss +54 -0
  52. data/_sass/uswds/src/components/_graphic-list.scss +42 -0
  53. data/_sass/uswds/src/components/_header.scss +287 -0
  54. data/_sass/uswds/src/components/_hero.scss +32 -0
  55. data/_sass/uswds/src/components/_identifier.scss +146 -0
  56. data/_sass/uswds/src/components/_layout.scss +15 -0
  57. data/_sass/uswds/src/components/_media-block.scss +12 -0
  58. data/_sass/uswds/src/components/_megamenu.scss +45 -0
  59. data/_sass/uswds/src/components/_nav-container.scss +7 -0
  60. data/_sass/uswds/src/components/_navbar.scss +16 -0
  61. data/_sass/uswds/src/components/_navigation.scss +348 -0
  62. data/_sass/uswds/src/components/_search.scss +98 -0
  63. data/_sass/uswds/src/components/_section.scss +42 -0
  64. data/_sass/uswds/src/components/_sidenav.scss +19 -0
  65. data/_sass/uswds/src/components/_skipnav.scss +20 -0
  66. data/_sass/uswds/src/components/_step-indicator.scss +444 -0
  67. data/_sass/uswds/src/components/_tooltip.scss +114 -0
  68. data/_sass/uswds/{core → src/core}/_defaults.scss +1 -1
  69. data/_sass/uswds/src/core/_deprecated.scss +33 -0
  70. data/_sass/uswds/src/core/_functions.scss +1954 -0
  71. data/_sass/uswds/src/core/_notifications.scss +100 -0
  72. data/_sass/uswds/src/core/_properties.scss +699 -0
  73. data/_sass/uswds/src/core/_system-tokens.scss +1658 -0
  74. data/_sass/uswds/src/core/_variables.scss +636 -0
  75. data/_sass/uswds/src/core/mixins/_add-aspect.scss +17 -0
  76. data/_sass/uswds/src/core/mixins/_add-background-svg.scss +9 -0
  77. data/_sass/uswds/src/core/mixins/_add-bar.scss +43 -0
  78. data/_sass/uswds/src/core/mixins/_add-checkbox-placeholder.scss +15 -0
  79. data/_sass/uswds/src/core/mixins/_add-kerning.scss +4 -0
  80. data/_sass/uswds/src/core/mixins/_add-knockout-font-smoothing.scss +9 -0
  81. data/_sass/uswds/src/core/mixins/_add-link-styles.scss +20 -0
  82. data/_sass/uswds/src/core/mixins/_add-list-reset.scss +15 -0
  83. data/_sass/uswds/src/core/mixins/_add-responsive-site-margins.scss +6 -0
  84. data/_sass/uswds/src/core/mixins/_add-success-mark.scss +7 -0
  85. data/_sass/uswds/src/core/mixins/_all.scss +90 -0
  86. data/_sass/uswds/src/core/mixins/_at-media.scss +36 -0
  87. data/_sass/uswds/src/core/mixins/_border-box-sizing.scss +19 -0
  88. data/_sass/uswds/src/core/mixins/_button-disabled.scss +17 -0
  89. data/_sass/uswds/src/core/mixins/_button-unstyled.scss +20 -0
  90. data/_sass/uswds/src/core/mixins/_clearfix.scss +7 -0
  91. data/_sass/uswds/src/core/mixins/_embed-container.scss +3 -0
  92. data/_sass/uswds/src/core/mixins/_external-link.scss +21 -0
  93. data/_sass/uswds/src/core/mixins/_focus.scss +14 -0
  94. data/_sass/uswds/src/core/mixins/_font-face.scss +103 -0
  95. data/_sass/uswds/src/core/mixins/_icon.scss +183 -0
  96. data/_sass/uswds/src/core/mixins/_layout-grid.scss +128 -0
  97. data/_sass/uswds/src/core/mixins/_media-block-img.scss +4 -0
  98. data/_sass/uswds/{elements/_figure.scss → src/core/mixins/_media-link.scss} +0 -8
  99. data/_sass/uswds/src/core/mixins/_nav-list.scss +95 -0
  100. data/_sass/uswds/src/core/mixins/_override-prose.scss +6 -0
  101. data/_sass/uswds/src/core/mixins/_screen-reader.scss +23 -0
  102. data/_sass/uswds/src/core/mixins/_set-link-from-bg.scss +30 -0
  103. data/_sass/uswds/src/core/mixins/_set-text-from-bg.scss +28 -0
  104. data/_sass/uswds/src/core/mixins/_typography.scss +161 -0
  105. data/_sass/uswds/src/core/mixins/_unstyled-list.scss +11 -0
  106. data/_sass/uswds/src/core/mixins/_usa-list-styles.scss +10 -0
  107. data/_sass/uswds/src/core/mixins/_usa-table-styles.scss +8 -0
  108. data/_sass/uswds/src/core/mixins/_usa-typography.scss +54 -0
  109. data/_sass/uswds/src/core/mixins/_utility-builder.scss +369 -0
  110. data/_sass/uswds/src/core/mixins/layout-grid/_grid-container.scss +14 -0
  111. data/_sass/uswds/src/core/mixins/layout-grid/_grid-row.scss +7 -0
  112. data/_sass/uswds/src/core/mixins/utilities/_align-items.scss +11 -0
  113. data/_sass/uswds/src/core/mixins/utilities/_align-self.scss +11 -0
  114. data/_sass/uswds/src/core/mixins/utilities/_background-color.scss +9 -0
  115. data/_sass/uswds/src/core/mixins/utilities/_border-color.scss +11 -0
  116. data/_sass/uswds/src/core/mixins/utilities/_border-radius.scss +55 -0
  117. data/_sass/uswds/src/core/mixins/utilities/_border-width.scss +32 -0
  118. data/_sass/uswds/src/core/mixins/utilities/_border.scss +142 -0
  119. data/_sass/uswds/src/core/mixins/utilities/_bottom.scss +10 -0
  120. data/_sass/uswds/src/core/mixins/utilities/_circle.scss +9 -0
  121. data/_sass/uswds/src/core/mixins/utilities/_color.scss +10 -0
  122. data/_sass/uswds/src/core/mixins/utilities/_cursor.scss +10 -0
  123. data/_sass/uswds/src/core/mixins/utilities/_display.scss +11 -0
  124. data/_sass/uswds/src/core/mixins/utilities/_flex-direction.scss +10 -0
  125. data/_sass/uswds/src/core/mixins/utilities/_flex.scss +55 -0
  126. data/_sass/uswds/src/core/mixins/utilities/_float.scss +10 -0
  127. data/_sass/uswds/src/core/mixins/utilities/_font-weight.scss +10 -0
  128. data/_sass/uswds/src/core/mixins/utilities/_font.scss +42 -0
  129. data/_sass/uswds/src/core/mixins/utilities/_height.scss +11 -0
  130. data/_sass/uswds/src/core/mixins/utilities/_justify-content.scss +10 -0
  131. data/_sass/uswds/src/core/mixins/utilities/_left.scss +10 -0
  132. data/_sass/uswds/src/core/mixins/utilities/_line-height.scss +13 -0
  133. data/_sass/uswds/src/core/mixins/utilities/_margin.scss +85 -0
  134. data/_sass/uswds/src/core/mixins/utilities/_max-height.scss +10 -0
  135. data/_sass/uswds/src/core/mixins/utilities/_max-width.scss +10 -0
  136. data/_sass/uswds/src/core/mixins/utilities/_measure.scss +10 -0
  137. data/_sass/uswds/src/core/mixins/utilities/_min-height.scss +10 -0
  138. data/_sass/uswds/src/core/mixins/utilities/_min-width.scss +10 -0
  139. data/_sass/uswds/src/core/mixins/utilities/_order.scss +10 -0
  140. data/_sass/uswds/src/core/mixins/utilities/_outline-color.scss +10 -0
  141. data/_sass/uswds/src/core/mixins/utilities/_outline.scss +35 -0
  142. data/_sass/uswds/src/core/mixins/utilities/_overflow.scss +28 -0
  143. data/_sass/uswds/src/core/mixins/utilities/_padding.scss +49 -0
  144. data/_sass/uswds/src/core/mixins/utilities/_pin.scss +82 -0
  145. data/_sass/uswds/src/core/mixins/utilities/_position.scss +10 -0
  146. data/_sass/uswds/src/core/mixins/utilities/_right.scss +10 -0
  147. data/_sass/uswds/src/core/mixins/utilities/_shadow.scss +10 -0
  148. data/_sass/uswds/src/core/mixins/utilities/_square.scss +7 -0
  149. data/_sass/uswds/src/core/mixins/utilities/_text-align.scss +10 -0
  150. data/_sass/uswds/src/core/mixins/utilities/_text-decoration-color.scss +10 -0
  151. data/_sass/uswds/src/core/mixins/utilities/_text-decoration.scss +17 -0
  152. data/_sass/uswds/src/core/mixins/utilities/_text-indent.scss +10 -0
  153. data/_sass/uswds/src/core/mixins/utilities/_text.scss +77 -0
  154. data/_sass/uswds/src/core/mixins/utilities/_top.scss +10 -0
  155. data/_sass/uswds/src/core/mixins/utilities/_vertical-align.scss +10 -0
  156. data/_sass/uswds/src/core/mixins/utilities/_white-space.scss +10 -0
  157. data/_sass/uswds/src/core/mixins/utilities/_width.scss +11 -0
  158. data/_sass/uswds/src/core/mixins/utilities/_z-index.scss +10 -0
  159. data/_sass/uswds/src/core/placeholders/_all.scss +2 -0
  160. data/_sass/uswds/src/core/placeholders/_list.scss +23 -0
  161. data/_sass/uswds/src/core/placeholders/_table.scss +58 -0
  162. data/_sass/uswds/src/core/system-tokens/_blue-cool.scss +26 -0
  163. data/_sass/uswds/src/core/system-tokens/_blue-warm.scss +26 -0
  164. data/_sass/uswds/src/core/system-tokens/_blue.scss +26 -0
  165. data/_sass/uswds/src/core/system-tokens/_cyan.scss +26 -0
  166. data/_sass/uswds/src/core/system-tokens/_gold.scss +26 -0
  167. data/_sass/uswds/src/core/system-tokens/_gray-cool.scss +18 -0
  168. data/_sass/uswds/src/core/system-tokens/_gray-warm.scss +18 -0
  169. data/_sass/uswds/src/core/system-tokens/_gray.scss +19 -0
  170. data/_sass/uswds/src/core/system-tokens/_green-cool.scss +26 -0
  171. data/_sass/uswds/src/core/system-tokens/_green-warm.scss +26 -0
  172. data/_sass/uswds/src/core/system-tokens/_green.scss +26 -0
  173. data/_sass/uswds/src/core/system-tokens/_indigo-cool.scss +26 -0
  174. data/_sass/uswds/src/core/system-tokens/_indigo-warm.scss +26 -0
  175. data/_sass/uswds/src/core/system-tokens/_indigo.scss +26 -0
  176. data/_sass/uswds/src/core/system-tokens/_magenta.scss +26 -0
  177. data/_sass/uswds/src/core/system-tokens/_mint-cool.scss +26 -0
  178. data/_sass/uswds/src/core/system-tokens/_mint.scss +26 -0
  179. data/_sass/uswds/src/core/system-tokens/_orange-warm.scss +26 -0
  180. data/_sass/uswds/src/core/system-tokens/_orange.scss +26 -0
  181. data/_sass/uswds/src/core/system-tokens/_red-cool.scss +26 -0
  182. data/_sass/uswds/src/core/system-tokens/_red-warm.scss +26 -0
  183. data/_sass/uswds/src/core/system-tokens/_red.scss +26 -0
  184. data/_sass/uswds/src/core/system-tokens/_violet-warm.scss +26 -0
  185. data/_sass/uswds/src/core/system-tokens/_violet.scss +26 -0
  186. data/_sass/uswds/src/core/system-tokens/_yellow.scss +26 -0
  187. data/_sass/uswds/src/elements/_buttons.scss +224 -0
  188. data/_sass/uswds/{elements → src/elements}/_embed.scss +0 -4
  189. data/_sass/uswds/src/elements/_figure.scss +7 -0
  190. data/_sass/uswds/src/elements/_layout-grid.scss +159 -0
  191. data/_sass/uswds/src/elements/_table.scss +7 -0
  192. data/_sass/uswds/src/elements/_tags.scss +18 -0
  193. data/_sass/uswds/src/elements/form-controls/_all.scss +11 -0
  194. data/_sass/uswds/src/elements/form-controls/_character-count.scss +9 -0
  195. data/_sass/uswds/src/elements/form-controls/_checkbox-and-radio.scss +117 -0
  196. data/_sass/uswds/src/elements/form-controls/_combo-box.scss +126 -0
  197. data/_sass/uswds/src/elements/form-controls/_date-input.scss +31 -0
  198. data/_sass/uswds/src/elements/form-controls/_date-picker.scss +325 -0
  199. data/_sass/uswds/src/elements/form-controls/_dropdown.scss +25 -0
  200. data/_sass/uswds/src/elements/form-controls/_file-input.scss +199 -0
  201. data/_sass/uswds/src/elements/form-controls/_global.scss +91 -0
  202. data/_sass/uswds/src/elements/form-controls/_range-input.scss +89 -0
  203. data/_sass/uswds/src/elements/form-controls/_text-input.scss +13 -0
  204. data/_sass/uswds/src/elements/form-controls/_time-picker.scss +3 -0
  205. data/_sass/uswds/src/elements/typography/_content.scss +62 -0
  206. data/_sass/uswds/src/elements/typography/_links.scss +15 -0
  207. data/_sass/uswds/src/elements/typography/_list.scss +14 -0
  208. data/_sass/uswds/src/elements/typography/_prose.scss +6 -0
  209. data/_sass/uswds/src/global/_focus.scss +24 -0
  210. data/_sass/uswds/src/global/_font-face.scss +11 -0
  211. data/_sass/uswds/src/global/_sizing.scss +14 -0
  212. data/_sass/uswds/src/global/_typography.scss +32 -0
  213. data/_sass/uswds/src/lib/_normalize.scss +349 -0
  214. data/_sass/uswds/src/packages/_form-controls.scss +4 -0
  215. data/_sass/uswds/src/packages/_form-templates.scss +8 -0
  216. data/_sass/uswds/src/packages/_global.scss +7 -0
  217. data/_sass/uswds/src/packages/_layout-grid.scss +4 -0
  218. data/_sass/uswds/src/packages/_required.scss +21 -0
  219. data/_sass/uswds/src/packages/_typography.scss +7 -0
  220. data/_sass/uswds/src/packages/_usa-accordion.scss +4 -0
  221. data/_sass/uswds/src/packages/_usa-alert.scss +4 -0
  222. data/_sass/uswds/src/packages/_usa-banner.scss +7 -0
  223. data/_sass/uswds/src/packages/_usa-breadcrumb.scss +4 -0
  224. data/_sass/uswds/src/packages/_usa-button-group.scss +2 -0
  225. data/_sass/uswds/src/packages/_usa-button.scss +4 -0
  226. data/_sass/uswds/src/packages/_usa-card.scss +4 -0
  227. data/_sass/uswds/src/packages/_usa-checklist.scss +4 -0
  228. data/_sass/uswds/src/packages/_usa-footer.scss +10 -0
  229. data/_sass/uswds/src/packages/_usa-header.scss +13 -0
  230. data/_sass/uswds/src/packages/_usa-hero.scss +6 -0
  231. data/_sass/uswds/src/packages/_usa-identifier.scss +1 -0
  232. data/_sass/uswds/src/packages/_usa-media-block.scss +5 -0
  233. data/_sass/uswds/src/packages/_usa-megamenu.scss +4 -0
  234. data/_sass/uswds/src/packages/_usa-nav-container.scss +4 -0
  235. data/_sass/uswds/src/packages/_usa-nav.scss +5 -0
  236. data/_sass/uswds/src/packages/_usa-navbar.scss +4 -0
  237. data/_sass/uswds/src/packages/_usa-search.scss +8 -0
  238. data/_sass/uswds/src/packages/_usa-sidenav.scss +4 -0
  239. data/_sass/uswds/src/packages/_usa-skipnav.scss +4 -0
  240. data/_sass/uswds/src/packages/_usa-step-indicator.scss +2 -0
  241. data/_sass/uswds/src/packages/_usa-table.scss +4 -0
  242. data/_sass/uswds/src/packages/_usa-tag.scss +4 -0
  243. data/_sass/uswds/src/packages/_usa-tooltip.scss +2 -0
  244. data/_sass/uswds/src/packages/_uswds-components.scss +48 -0
  245. data/_sass/uswds/src/packages/_uswds-fonts.scss +2 -0
  246. data/_sass/uswds/src/packages/_uswds-utilities.scss +6 -0
  247. data/_sass/uswds/src/packages/_validation.scss +8 -0
  248. data/_sass/uswds/src/settings/_settings-color.scss +138 -0
  249. data/_sass/uswds/src/settings/_settings-components.scss +129 -0
  250. data/_sass/uswds/src/settings/_settings-general.scss +101 -0
  251. data/_sass/uswds/src/settings/_settings-spacing.scss +93 -0
  252. data/_sass/uswds/src/settings/_settings-typography.scss +422 -0
  253. data/_sass/uswds/src/settings/_settings-utilities.scss +867 -0
  254. data/_sass/uswds/src/theme/_uswds-theme-color.scss +136 -0
  255. data/_sass/uswds/src/theme/_uswds-theme-components.scss +129 -0
  256. data/_sass/uswds/src/theme/_uswds-theme-custom-styles.scss +21 -0
  257. data/_sass/uswds/src/theme/_uswds-theme-general.scss +101 -0
  258. data/_sass/uswds/src/theme/_uswds-theme-spacing.scss +93 -0
  259. data/_sass/uswds/src/theme/_uswds-theme-typography.scss +422 -0
  260. data/_sass/uswds/src/theme/_uswds-theme-utilities.scss +867 -0
  261. data/_sass/uswds/src/theme/styles.scss +76 -0
  262. data/_sass/uswds/src/uswds.scss +17 -0
  263. data/_sass/uswds/src/utilities/palettes/_all.scss +41 -0
  264. data/_sass/uswds/src/utilities/palettes/_default-palettes.scss +73 -0
  265. data/_sass/uswds/src/utilities/palettes/_font-palettes.scss +2762 -0
  266. data/_sass/uswds/src/utilities/palettes/_palette-registry.scss +46 -0
  267. data/_sass/uswds/src/utilities/palettes/_spacing-palettes.scss +135 -0
  268. data/_sass/uswds/src/utilities/palettes/colors/_all-colors-palettes.scss +56 -0
  269. data/_sass/uswds/src/utilities/palettes/colors/_black-transparent-palettes.scss +16 -0
  270. data/_sass/uswds/src/utilities/palettes/colors/_blue-cool-palettes.scss +69 -0
  271. data/_sass/uswds/src/utilities/palettes/colors/_blue-palettes.scss +66 -0
  272. data/_sass/uswds/src/utilities/palettes/colors/_blue-warm-palettes.scss +69 -0
  273. data/_sass/uswds/src/utilities/palettes/colors/_cyan-palettes.scss +66 -0
  274. data/_sass/uswds/src/utilities/palettes/colors/_gold-palettes.scss +66 -0
  275. data/_sass/uswds/src/utilities/palettes/colors/_gray-cool-palettes.scss +40 -0
  276. data/_sass/uswds/src/utilities/palettes/colors/_gray-palettes.scss +40 -0
  277. data/_sass/uswds/src/utilities/palettes/colors/_gray-warm-palettes.scss +40 -0
  278. data/_sass/uswds/src/utilities/palettes/colors/_green-cool-palettes.scss +69 -0
  279. data/_sass/uswds/src/utilities/palettes/colors/_green-palettes.scss +66 -0
  280. data/_sass/uswds/src/utilities/palettes/colors/_green-warm-palettes.scss +69 -0
  281. data/_sass/uswds/src/utilities/palettes/colors/_indigo-cool-palettes.scss +70 -0
  282. data/_sass/uswds/src/utilities/palettes/colors/_indigo-palettes.scss +66 -0
  283. data/_sass/uswds/src/utilities/palettes/colors/_indigo-warm-palettes.scss +70 -0
  284. data/_sass/uswds/src/utilities/palettes/colors/_magenta-palettes.scss +67 -0
  285. data/_sass/uswds/src/utilities/palettes/colors/_mint-cool-palettes.scss +69 -0
  286. data/_sass/uswds/src/utilities/palettes/colors/_mint-palettes.scss +66 -0
  287. data/_sass/uswds/src/utilities/palettes/colors/_orange-palettes.scss +66 -0
  288. data/_sass/uswds/src/utilities/palettes/colors/_orange-warm-palettes.scss +70 -0
  289. data/_sass/uswds/src/utilities/palettes/colors/_red-cool-palettes.scss +68 -0
  290. data/_sass/uswds/src/utilities/palettes/colors/_red-palettes.scss +66 -0
  291. data/_sass/uswds/src/utilities/palettes/colors/_red-warm-palettes.scss +68 -0
  292. data/_sass/uswds/src/utilities/palettes/colors/_violet-palettes.scss +66 -0
  293. data/_sass/uswds/src/utilities/palettes/colors/_violet-warm-palettes.scss +70 -0
  294. data/_sass/uswds/src/utilities/palettes/colors/_white-transparent-palettes.scss +16 -0
  295. data/_sass/uswds/src/utilities/palettes/colors/_yellow-palettes.scss +66 -0
  296. data/_sass/uswds/src/utilities/rules/_all.scss +57 -0
  297. data/_sass/uswds/src/utilities/rules/_package.scss +62 -0
  298. data/_sass/uswds/src/utilities/rules/add-aspect.scss +84 -0
  299. data/_sass/uswds/src/utilities/rules/add-list-reset.scss +39 -0
  300. data/_sass/uswds/src/utilities/rules/align-items.scss +30 -0
  301. data/_sass/uswds/src/utilities/rules/align-self.scss +27 -0
  302. data/_sass/uswds/src/utilities/rules/background-color.scss +32 -0
  303. data/_sass/uswds/src/utilities/rules/border-color.scss +32 -0
  304. data/_sass/uswds/src/utilities/rules/border-radius.scss +51 -0
  305. data/_sass/uswds/src/utilities/rules/border-style.scss +30 -0
  306. data/_sass/uswds/src/utilities/rules/border-width.scss +44 -0
  307. data/_sass/uswds/src/utilities/rules/border.scss +47 -0
  308. data/_sass/uswds/src/utilities/rules/bottom.scss +28 -0
  309. data/_sass/uswds/src/utilities/rules/box-shadow.scss +27 -0
  310. data/_sass/uswds/src/utilities/rules/circle.scss +35 -0
  311. data/_sass/uswds/src/utilities/rules/clearfix.scss +35 -0
  312. data/_sass/uswds/src/utilities/rules/color.scss +32 -0
  313. data/_sass/uswds/src/utilities/rules/cursor.scss +26 -0
  314. data/_sass/uswds/src/utilities/rules/display.scss +26 -0
  315. data/_sass/uswds/src/utilities/rules/flex-direction.scss +30 -0
  316. data/_sass/uswds/src/utilities/rules/flex-wrap.scss +27 -0
  317. data/_sass/uswds/src/utilities/rules/flex.scss +32 -0
  318. data/_sass/uswds/src/utilities/rules/float.scss +26 -0
  319. data/_sass/uswds/src/utilities/rules/font-family.scss +38 -0
  320. data/_sass/uswds/src/utilities/rules/font-feature.scss +31 -0
  321. data/_sass/uswds/src/utilities/rules/font-style.scss +29 -0
  322. data/_sass/uswds/src/utilities/rules/font-weight.scss +30 -0
  323. data/_sass/uswds/src/utilities/rules/font.scss +38 -0
  324. data/_sass/uswds/src/utilities/rules/height.scss +26 -0
  325. data/_sass/uswds/src/utilities/rules/justify-content.scss +32 -0
  326. data/_sass/uswds/src/utilities/rules/left.scss +28 -0
  327. data/_sass/uswds/src/utilities/rules/letter-spacing.scss +30 -0
  328. data/_sass/uswds/src/utilities/rules/line-height.scss +30 -0
  329. data/_sass/uswds/src/utilities/rules/margin.scss +70 -0
  330. data/_sass/uswds/src/utilities/rules/max-height.scss +27 -0
  331. data/_sass/uswds/src/utilities/rules/max-width.scss +27 -0
  332. data/_sass/uswds/src/utilities/rules/measure.scss +28 -0
  333. data/_sass/uswds/src/utilities/rules/min-height.scss +27 -0
  334. data/_sass/uswds/src/utilities/rules/min-width.scss +27 -0
  335. data/_sass/uswds/src/utilities/rules/opacity.scss +26 -0
  336. data/_sass/uswds/src/utilities/rules/order.scss +29 -0
  337. data/_sass/uswds/src/utilities/rules/outline-color.scss +33 -0
  338. data/_sass/uswds/src/utilities/rules/outline.scss +30 -0
  339. data/_sass/uswds/src/utilities/rules/overflow.scss +31 -0
  340. data/_sass/uswds/src/utilities/rules/padding.scss +43 -0
  341. data/_sass/uswds/src/utilities/rules/pin.scss +101 -0
  342. data/_sass/uswds/src/utilities/rules/position.scss +27 -0
  343. data/_sass/uswds/src/utilities/rules/right.scss +28 -0
  344. data/_sass/uswds/src/utilities/rules/square.scss +33 -0
  345. data/_sass/uswds/src/utilities/rules/text-align.scss +27 -0
  346. data/_sass/uswds/src/utilities/rules/text-decoration-color.scss +31 -0
  347. data/_sass/uswds/src/utilities/rules/text-decoration.scss +30 -0
  348. data/_sass/uswds/src/utilities/rules/text-indent.scss +30 -0
  349. data/_sass/uswds/src/utilities/rules/text-transform.scss +30 -0
  350. data/_sass/uswds/src/utilities/rules/top.scss +28 -0
  351. data/_sass/uswds/src/utilities/rules/vertical-align.scss +30 -0
  352. data/_sass/uswds/src/utilities/rules/whitespace.scss +27 -0
  353. data/_sass/uswds/src/utilities/rules/width.scss +26 -0
  354. data/_sass/uswds/src/utilities/rules/z-index.scss +28 -0
  355. data/_sass/uswds/src/utilities/utility-fonts.scss +20 -0
  356. data/assets/css/uswds-theme.scss +185 -0
  357. data/assets/js/{main.js → anchor.js} +0 -0
  358. data/assets/js/private_eye_conf.js +39 -0
  359. data/assets/js/vendor/private_eye.js +106 -0
  360. data/assets/uswds/fonts/merriweather/Latin-Merriweather-Black.ttf +0 -0
  361. data/assets/uswds/fonts/merriweather/Latin-Merriweather-Black.woff +0 -0
  362. data/assets/uswds/fonts/merriweather/Latin-Merriweather-Black.woff2 +0 -0
  363. data/assets/uswds/fonts/merriweather/Latin-Merriweather-BlackItalic.ttf +0 -0
  364. data/assets/uswds/fonts/merriweather/Latin-Merriweather-BlackItalic.woff +0 -0
  365. data/assets/uswds/fonts/merriweather/Latin-Merriweather-BlackItalic.woff2 +0 -0
  366. data/assets/uswds/fonts/merriweather/Latin-Merriweather-Bold.ttf +0 -0
  367. data/assets/uswds/fonts/merriweather/Latin-Merriweather-Bold.woff +0 -0
  368. data/assets/uswds/fonts/merriweather/Latin-Merriweather-Bold.woff2 +0 -0
  369. data/assets/uswds/fonts/merriweather/Latin-Merriweather-BoldItalic.ttf +0 -0
  370. data/assets/uswds/fonts/merriweather/Latin-Merriweather-BoldItalic.woff +0 -0
  371. data/assets/uswds/fonts/merriweather/Latin-Merriweather-BoldItalic.woff2 +0 -0
  372. data/assets/uswds/fonts/merriweather/Latin-Merriweather-Italic.ttf +0 -0
  373. data/assets/uswds/fonts/merriweather/Latin-Merriweather-Italic.woff +0 -0
  374. data/assets/uswds/fonts/merriweather/Latin-Merriweather-Italic.woff2 +0 -0
  375. data/assets/uswds/fonts/merriweather/Latin-Merriweather-Light.ttf +0 -0
  376. data/assets/uswds/fonts/merriweather/Latin-Merriweather-Light.woff +0 -0
  377. data/assets/uswds/fonts/merriweather/Latin-Merriweather-Light.woff2 +0 -0
  378. data/assets/uswds/fonts/merriweather/Latin-Merriweather-LightItalic.ttf +0 -0
  379. data/assets/uswds/fonts/merriweather/Latin-Merriweather-LightItalic.woff +0 -0
  380. data/assets/uswds/fonts/merriweather/Latin-Merriweather-LightItalic.woff2 +0 -0
  381. data/assets/uswds/fonts/merriweather/Latin-Merriweather-Regular.ttf +0 -0
  382. data/assets/uswds/fonts/merriweather/Latin-Merriweather-Regular.woff +0 -0
  383. data/assets/uswds/fonts/merriweather/Latin-Merriweather-Regular.woff2 +0 -0
  384. data/assets/uswds/fonts/public-sans/PublicSans-Black.ttf +0 -0
  385. data/assets/uswds/fonts/public-sans/PublicSans-Black.woff +0 -0
  386. data/assets/uswds/fonts/public-sans/PublicSans-Black.woff2 +0 -0
  387. data/assets/uswds/fonts/public-sans/PublicSans-BlackItalic.ttf +0 -0
  388. data/assets/uswds/fonts/public-sans/PublicSans-BlackItalic.woff +0 -0
  389. data/assets/uswds/fonts/public-sans/PublicSans-BlackItalic.woff2 +0 -0
  390. data/assets/uswds/fonts/public-sans/PublicSans-Bold.ttf +0 -0
  391. data/assets/uswds/fonts/public-sans/PublicSans-Bold.woff +0 -0
  392. data/assets/uswds/fonts/public-sans/PublicSans-Bold.woff2 +0 -0
  393. data/assets/uswds/fonts/public-sans/PublicSans-BoldItalic.ttf +0 -0
  394. data/assets/uswds/fonts/public-sans/PublicSans-BoldItalic.woff +0 -0
  395. data/assets/uswds/fonts/public-sans/PublicSans-BoldItalic.woff2 +0 -0
  396. data/assets/uswds/fonts/public-sans/PublicSans-ExtraBold.ttf +0 -0
  397. data/assets/uswds/fonts/public-sans/PublicSans-ExtraBold.woff +0 -0
  398. data/assets/uswds/fonts/public-sans/PublicSans-ExtraBold.woff2 +0 -0
  399. data/assets/uswds/fonts/public-sans/PublicSans-ExtraBoldItalic.ttf +0 -0
  400. data/assets/uswds/fonts/public-sans/PublicSans-ExtraBoldItalic.woff +0 -0
  401. data/assets/uswds/fonts/public-sans/PublicSans-ExtraBoldItalic.woff2 +0 -0
  402. data/assets/uswds/fonts/public-sans/PublicSans-ExtraLight.ttf +0 -0
  403. data/assets/uswds/fonts/public-sans/PublicSans-ExtraLight.woff +0 -0
  404. data/assets/uswds/fonts/public-sans/PublicSans-ExtraLight.woff2 +0 -0
  405. data/assets/uswds/fonts/public-sans/PublicSans-ExtraLightItalic.ttf +0 -0
  406. data/assets/uswds/fonts/public-sans/PublicSans-ExtraLightItalic.woff +0 -0
  407. data/assets/uswds/fonts/public-sans/PublicSans-ExtraLightItalic.woff2 +0 -0
  408. data/assets/uswds/fonts/public-sans/PublicSans-Italic.ttf +0 -0
  409. data/assets/uswds/fonts/public-sans/PublicSans-Italic.woff +0 -0
  410. data/assets/uswds/fonts/public-sans/PublicSans-Italic.woff2 +0 -0
  411. data/assets/uswds/fonts/public-sans/PublicSans-Light.ttf +0 -0
  412. data/assets/uswds/fonts/public-sans/PublicSans-Light.woff +0 -0
  413. data/assets/uswds/fonts/public-sans/PublicSans-Light.woff2 +0 -0
  414. data/assets/uswds/fonts/public-sans/PublicSans-LightItalic.ttf +0 -0
  415. data/assets/uswds/fonts/public-sans/PublicSans-LightItalic.woff +0 -0
  416. data/assets/uswds/fonts/public-sans/PublicSans-LightItalic.woff2 +0 -0
  417. data/assets/uswds/fonts/public-sans/PublicSans-Medium.ttf +0 -0
  418. data/assets/uswds/fonts/public-sans/PublicSans-Medium.woff +0 -0
  419. data/assets/uswds/fonts/public-sans/PublicSans-Medium.woff2 +0 -0
  420. data/assets/uswds/fonts/public-sans/PublicSans-MediumItalic.ttf +0 -0
  421. data/assets/uswds/fonts/public-sans/PublicSans-MediumItalic.woff +0 -0
  422. data/assets/uswds/fonts/public-sans/PublicSans-MediumItalic.woff2 +0 -0
  423. data/assets/uswds/fonts/public-sans/PublicSans-Regular.ttf +0 -0
  424. data/assets/uswds/fonts/public-sans/PublicSans-Regular.woff +0 -0
  425. data/assets/uswds/fonts/public-sans/PublicSans-Regular.woff2 +0 -0
  426. data/assets/uswds/fonts/public-sans/PublicSans-SemiBold.ttf +0 -0
  427. data/assets/uswds/fonts/public-sans/PublicSans-SemiBold.woff +0 -0
  428. data/assets/uswds/fonts/public-sans/PublicSans-SemiBold.woff2 +0 -0
  429. data/assets/uswds/fonts/public-sans/PublicSans-SemiBoldItalic.ttf +0 -0
  430. data/assets/uswds/fonts/public-sans/PublicSans-SemiBoldItalic.woff +0 -0
  431. data/assets/uswds/fonts/public-sans/PublicSans-SemiBoldItalic.woff2 +0 -0
  432. data/assets/uswds/fonts/public-sans/PublicSans-Thin.ttf +0 -0
  433. data/assets/uswds/fonts/public-sans/PublicSans-Thin.woff +0 -0
  434. data/assets/uswds/fonts/public-sans/PublicSans-Thin.woff2 +0 -0
  435. data/assets/uswds/fonts/public-sans/PublicSans-ThinItalic.ttf +0 -0
  436. data/assets/uswds/fonts/public-sans/PublicSans-ThinItalic.woff +0 -0
  437. data/assets/uswds/fonts/public-sans/PublicSans-ThinItalic.woff2 +0 -0
  438. data/assets/uswds/fonts/roboto-mono/roboto-mono-v5-latin-100.ttf +0 -0
  439. data/assets/uswds/fonts/roboto-mono/roboto-mono-v5-latin-100.woff +0 -0
  440. data/assets/uswds/fonts/roboto-mono/roboto-mono-v5-latin-100.woff2 +0 -0
  441. data/assets/uswds/fonts/roboto-mono/roboto-mono-v5-latin-100italic.ttf +0 -0
  442. data/assets/uswds/fonts/roboto-mono/roboto-mono-v5-latin-100italic.woff +0 -0
  443. data/assets/uswds/fonts/roboto-mono/roboto-mono-v5-latin-100italic.woff2 +0 -0
  444. data/assets/uswds/fonts/roboto-mono/roboto-mono-v5-latin-300.ttf +0 -0
  445. data/assets/uswds/fonts/roboto-mono/roboto-mono-v5-latin-300.woff +0 -0
  446. data/assets/uswds/fonts/roboto-mono/roboto-mono-v5-latin-300.woff2 +0 -0
  447. data/assets/uswds/fonts/roboto-mono/roboto-mono-v5-latin-300italic.ttf +0 -0
  448. data/assets/uswds/fonts/roboto-mono/roboto-mono-v5-latin-300italic.woff +0 -0
  449. data/assets/uswds/fonts/roboto-mono/roboto-mono-v5-latin-300italic.woff2 +0 -0
  450. data/assets/uswds/fonts/roboto-mono/roboto-mono-v5-latin-500.ttf +0 -0
  451. data/assets/uswds/fonts/roboto-mono/roboto-mono-v5-latin-500.woff +0 -0
  452. data/assets/uswds/fonts/roboto-mono/roboto-mono-v5-latin-500.woff2 +0 -0
  453. data/assets/uswds/fonts/roboto-mono/roboto-mono-v5-latin-500italic.ttf +0 -0
  454. data/assets/uswds/fonts/roboto-mono/roboto-mono-v5-latin-500italic.woff +0 -0
  455. data/assets/uswds/fonts/roboto-mono/roboto-mono-v5-latin-500italic.woff2 +0 -0
  456. data/assets/uswds/fonts/roboto-mono/roboto-mono-v5-latin-700.ttf +0 -0
  457. data/assets/uswds/fonts/roboto-mono/roboto-mono-v5-latin-700.woff +0 -0
  458. data/assets/uswds/fonts/roboto-mono/roboto-mono-v5-latin-700.woff2 +0 -0
  459. data/assets/uswds/fonts/roboto-mono/roboto-mono-v5-latin-700italic.ttf +0 -0
  460. data/assets/uswds/fonts/roboto-mono/roboto-mono-v5-latin-700italic.woff +0 -0
  461. data/assets/uswds/fonts/roboto-mono/roboto-mono-v5-latin-700italic.woff2 +0 -0
  462. data/assets/uswds/fonts/roboto-mono/roboto-mono-v5-latin-italic.ttf +0 -0
  463. data/assets/uswds/fonts/roboto-mono/roboto-mono-v5-latin-italic.woff +0 -0
  464. data/assets/uswds/fonts/roboto-mono/roboto-mono-v5-latin-italic.woff2 +0 -0
  465. data/assets/uswds/fonts/roboto-mono/roboto-mono-v5-latin-regular.ttf +0 -0
  466. data/assets/uswds/fonts/roboto-mono/roboto-mono-v5-latin-regular.woff +0 -0
  467. data/assets/uswds/fonts/roboto-mono/roboto-mono-v5-latin-regular.woff2 +0 -0
  468. data/assets/uswds/fonts/source-sans-pro/sourcesanspro-black-webfont.ttf +0 -0
  469. data/assets/uswds/fonts/source-sans-pro/sourcesanspro-black-webfont.woff +0 -0
  470. data/assets/uswds/fonts/source-sans-pro/sourcesanspro-black-webfont.woff2 +0 -0
  471. data/assets/uswds/fonts/source-sans-pro/sourcesanspro-blackitalic-webfont.ttf +0 -0
  472. data/assets/uswds/fonts/source-sans-pro/sourcesanspro-blackitalic-webfont.woff +0 -0
  473. data/assets/uswds/fonts/source-sans-pro/sourcesanspro-blackitalic-webfont.woff2 +0 -0
  474. data/assets/uswds/fonts/source-sans-pro/sourcesanspro-bold-webfont.ttf +0 -0
  475. data/assets/uswds/fonts/source-sans-pro/sourcesanspro-bold-webfont.woff +0 -0
  476. data/assets/uswds/fonts/source-sans-pro/sourcesanspro-bold-webfont.woff2 +0 -0
  477. data/assets/uswds/fonts/source-sans-pro/sourcesanspro-bolditalic-webfont.ttf +0 -0
  478. data/assets/uswds/fonts/source-sans-pro/sourcesanspro-bolditalic-webfont.woff +0 -0
  479. data/assets/uswds/fonts/source-sans-pro/sourcesanspro-bolditalic-webfont.woff2 +0 -0
  480. data/assets/uswds/fonts/source-sans-pro/sourcesanspro-extralight-webfont.ttf +0 -0
  481. data/assets/uswds/fonts/source-sans-pro/sourcesanspro-extralight-webfont.woff +0 -0
  482. data/assets/uswds/fonts/source-sans-pro/sourcesanspro-extralight-webfont.woff2 +0 -0
  483. data/assets/uswds/fonts/source-sans-pro/sourcesanspro-extralightitalic-webfont.ttf +0 -0
  484. data/assets/uswds/fonts/source-sans-pro/sourcesanspro-extralightitalic-webfont.woff +0 -0
  485. data/assets/uswds/fonts/source-sans-pro/sourcesanspro-extralightitalic-webfont.woff2 +0 -0
  486. data/assets/uswds/fonts/source-sans-pro/sourcesanspro-italic-webfont.ttf +0 -0
  487. data/assets/uswds/fonts/source-sans-pro/sourcesanspro-italic-webfont.woff +0 -0
  488. data/assets/uswds/fonts/source-sans-pro/sourcesanspro-italic-webfont.woff2 +0 -0
  489. data/assets/uswds/fonts/source-sans-pro/sourcesanspro-light-webfont.ttf +0 -0
  490. data/assets/uswds/fonts/source-sans-pro/sourcesanspro-light-webfont.woff +0 -0
  491. data/assets/uswds/fonts/source-sans-pro/sourcesanspro-light-webfont.woff2 +0 -0
  492. data/assets/uswds/fonts/source-sans-pro/sourcesanspro-lightitalic-webfont.ttf +0 -0
  493. data/assets/uswds/fonts/source-sans-pro/sourcesanspro-lightitalic-webfont.woff +0 -0
  494. data/assets/uswds/fonts/source-sans-pro/sourcesanspro-lightitalic-webfont.woff2 +0 -0
  495. data/assets/uswds/fonts/source-sans-pro/sourcesanspro-regular-webfont.ttf +0 -0
  496. data/assets/uswds/fonts/source-sans-pro/sourcesanspro-regular-webfont.woff +0 -0
  497. data/assets/uswds/fonts/source-sans-pro/sourcesanspro-regular-webfont.woff2 +0 -0
  498. data/assets/uswds/fonts/source-sans-pro/sourcesanspro-semibold-webfont.ttf +0 -0
  499. data/assets/uswds/fonts/source-sans-pro/sourcesanspro-semibold-webfont.woff +0 -0
  500. data/assets/uswds/fonts/source-sans-pro/sourcesanspro-semibold-webfont.woff2 +0 -0
  501. data/assets/uswds/fonts/source-sans-pro/sourcesanspro-semibolditalic-webfont.ttf +0 -0
  502. data/assets/uswds/fonts/source-sans-pro/sourcesanspro-semibolditalic-webfont.woff +0 -0
  503. data/assets/uswds/fonts/source-sans-pro/sourcesanspro-semibolditalic-webfont.woff2 +0 -0
  504. data/assets/uswds/img/alerts/error.svg +4 -17
  505. data/assets/uswds/img/alerts/info.svg +4 -18
  506. data/assets/uswds/img/alerts/success.svg +1 -12
  507. data/assets/uswds/img/alerts/warning.svg +4 -16
  508. data/assets/uswds/img/angle-arrow-down-gray-90.svg +1 -0
  509. data/assets/uswds/img/angle-arrow-down-hover.svg +1 -1
  510. data/assets/uswds/img/angle-arrow-down-primary-hover.svg +1 -1
  511. data/assets/uswds/img/angle-arrow-down-primary.svg +1 -1
  512. data/assets/uswds/img/angle-arrow-down-white.svg +1 -0
  513. data/assets/uswds/img/angle-arrow-down.svg +1 -1
  514. data/assets/uswds/img/angle-arrow-right-white.svg +1 -0
  515. data/assets/uswds/img/angle-arrow-right.svg +1 -0
  516. data/assets/uswds/img/angle-arrow-up-primary-hover.svg +1 -1
  517. data/assets/uswds/img/angle-arrow-up-primary.svg +1 -1
  518. data/assets/uswds/img/angle-arrow-up-white.svg +1 -0
  519. data/assets/uswds/img/angle-double-left-solid.svg +1 -0
  520. data/assets/uswds/img/angle-double-right-solid.svg +1 -0
  521. data/assets/uswds/img/angle-left-solid.svg +1 -0
  522. data/assets/uswds/img/angle-right-solid.svg +1 -0
  523. data/assets/uswds/img/arrow-both.svg +1 -1
  524. data/assets/uswds/img/arrow-down-gray-60.svg +1 -0
  525. data/assets/uswds/img/arrow-down.svg +1 -1
  526. data/assets/uswds/img/arrow-left-indigo-cool-50v.svg +1 -0
  527. data/assets/uswds/img/arrow-left-white.svg +1 -0
  528. data/assets/uswds/img/arrow-left.svg +1 -0
  529. data/assets/uswds/img/arrow-right.svg +1 -1
  530. data/assets/uswds/img/calendar-alt-solid.svg +1 -0
  531. data/assets/uswds/img/checkbox-check-print.svg +1 -0
  532. data/assets/uswds/img/chevron-right-white.svg +1 -0
  533. data/assets/uswds/img/chevron-right.svg +1 -0
  534. data/assets/uswds/img/chevron-white.svg +1 -0
  535. data/assets/uswds/img/chevron.svg +1 -0
  536. data/assets/uswds/img/circle-124.png +0 -0
  537. data/assets/uswds/img/circle-gray-20.svg +1 -0
  538. data/assets/uswds/img/close-alt-blue-60v.svg +3 -0
  539. data/assets/uswds/img/close-alt.svg +3 -0
  540. data/assets/uswds/img/close-blue-30-alt.svg +3 -0
  541. data/assets/uswds/img/close-blue-40v-alt.svg +3 -0
  542. data/assets/uswds/img/close-blue-50-alt.svg +3 -0
  543. data/assets/uswds/img/close-blue-50v-alt.svg +3 -0
  544. data/assets/uswds/img/close-blue-60-alt.svg +3 -0
  545. data/assets/uswds/img/close-blue-60v-alt.svg +3 -0
  546. data/assets/uswds/img/close-gray-60.svg +1 -0
  547. data/assets/uswds/img/close-gray-90-alt.svg +3 -0
  548. data/assets/uswds/img/close-primary.svg +1 -16
  549. data/assets/uswds/img/close-white-alt.svg +3 -0
  550. data/assets/uswds/img/close-white.svg +3 -0
  551. data/assets/uswds/img/close.svg +1 -12
  552. data/assets/uswds/img/correct8-alt.png +0 -0
  553. data/assets/uswds/img/correct8-alt.svg +1 -0
  554. data/assets/uswds/img/correct8.svg +1 -1
  555. data/assets/uswds/img/correct9.svg +1 -1
  556. data/assets/uswds/img/external-link-alt-hover.svg +1 -1
  557. data/assets/uswds/img/external-link-alt.svg +1 -1
  558. data/assets/uswds/img/external-link-hover.svg +1 -1
  559. data/assets/uswds/img/external-link.svg +1 -1
  560. data/assets/uswds/img/favicons/favicon-114.png +0 -0
  561. data/assets/uswds/img/favicons/favicon-144.png +0 -0
  562. data/assets/uswds/img/favicons/favicon-16.png +0 -0
  563. data/assets/uswds/img/favicons/favicon-192.png +0 -0
  564. data/assets/uswds/img/favicons/favicon-40.png +0 -0
  565. data/assets/uswds/img/favicons/favicon-57.png +0 -0
  566. data/assets/uswds/img/favicons/favicon-72.png +0 -0
  567. data/assets/uswds/img/favicons/favicon.ico +0 -0
  568. data/assets/uswds/img/favicons/favicon.png +0 -0
  569. data/assets/uswds/img/file-excel.svg +1 -0
  570. data/assets/uswds/img/file-pdf.svg +1 -0
  571. data/assets/uswds/img/file-video.svg +1 -0
  572. data/assets/uswds/img/file-word.svg +1 -0
  573. data/assets/uswds/img/file.svg +1 -0
  574. data/assets/uswds/img/hero.png +0 -0
  575. data/assets/uswds/img/icon-dot-gov.svg +1 -1
  576. data/assets/uswds/img/icon-https.svg +1 -1
  577. data/assets/uswds/img/loader.gif +0 -0
  578. data/assets/uswds/img/loader.svg +1 -0
  579. data/assets/uswds/img/lock.svg +1 -0
  580. data/assets/uswds/img/minus-alt.svg +1 -1
  581. data/assets/uswds/img/minus.svg +1 -1
  582. data/assets/uswds/img/plus-alt.svg +1 -1
  583. data/assets/uswds/img/plus.svg +1 -1
  584. data/assets/uswds/img/search-alt.svg +1 -1
  585. data/assets/uswds/img/search-primary.svg +1 -12
  586. data/assets/uswds/img/search.svg +1 -1
  587. data/assets/uswds/img/social-icons/facebook25.png +0 -0
  588. data/assets/uswds/img/social-icons/{svg/facebook25.svg → facebook25.svg} +1 -1
  589. data/assets/uswds/img/social-icons/rss25.png +0 -0
  590. data/assets/uswds/img/social-icons/{svg/rss25.svg → rss25.svg} +1 -1
  591. data/assets/uswds/img/social-icons/twitter16.png +0 -0
  592. data/assets/uswds/img/social-icons/{svg/twitter16.svg → twitter16.svg} +1 -1
  593. data/assets/uswds/img/social-icons/youtube15.png +0 -0
  594. data/assets/uswds/img/social-icons/{svg/youtube15.svg → youtube15.svg} +1 -1
  595. data/assets/uswds/js/uswds.js +5128 -902
  596. data/assets/uswds/js/uswds.min.js +1 -1
  597. data/assets/uswds/js/uswds.min.js.map +1 -1
  598. metadata +581 -228
  599. data/_includes/components/footer--medium.html +0 -100
  600. data/_includes/components/header--basic.html +0 -74
  601. data/_includes/components/header--extended.html +0 -92
  602. data/_sass/components/_all.scss +0 -8
  603. data/_sass/components/_footer.scss +0 -26
  604. data/_sass/components/_header.scss +0 -27
  605. data/_sass/components/_hero.scss +0 -45
  606. data/_sass/components/_side-nav.scss +0 -56
  607. data/_sass/components/_site-width.scss +0 -12
  608. data/_sass/components/_top-nav.scss +0 -73
  609. data/_sass/components/_usa-banner.scss +0 -29
  610. data/_sass/uswds/_all.scss +0 -1
  611. data/_sass/uswds/components/_accordions.scss +0 -150
  612. data/_sass/uswds/components/_alerts.scss +0 -125
  613. data/_sass/uswds/components/_banner.scss +0 -204
  614. data/_sass/uswds/components/_forms.scss +0 -164
  615. data/_sass/uswds/components/_graphic-list.scss +0 -35
  616. data/_sass/uswds/components/_layout.scss +0 -36
  617. data/_sass/uswds/components/_media-block.scss +0 -12
  618. data/_sass/uswds/components/_navigation.scss +0 -549
  619. data/_sass/uswds/components/_search.scss +0 -111
  620. data/_sass/uswds/components/_section.scss +0 -37
  621. data/_sass/uswds/components/_sidenav.scss +0 -8
  622. data/_sass/uswds/components/_skipnav.scss +0 -19
  623. data/_sass/uswds/core/_base.scss +0 -35
  624. data/_sass/uswds/core/_fonts.scss +0 -65
  625. data/_sass/uswds/core/_grid-settings.scss +0 -3
  626. data/_sass/uswds/core/_grid.scss +0 -199
  627. data/_sass/uswds/core/_utilities.scss +0 -252
  628. data/_sass/uswds/core/_variables.scss +0 -155
  629. data/_sass/uswds/elements/_buttons.scss +0 -217
  630. data/_sass/uswds/elements/_inputs.scss +0 -351
  631. data/_sass/uswds/elements/_labels.scss +0 -20
  632. data/_sass/uswds/elements/_list.scss +0 -32
  633. data/_sass/uswds/elements/_table.scss +0 -55
  634. data/_sass/uswds/elements/_typography.scss +0 -260
  635. data/_sass/uswds/lib/_bourbon-deprecated-upcoming.scss +0 -411
  636. data/_sass/uswds/lib/_bourbon.scss +0 -87
  637. data/_sass/uswds/lib/_neat-helpers.scss +0 -11
  638. data/_sass/uswds/lib/_neat.scss +0 -23
  639. data/_sass/uswds/lib/_normalize.scss +0 -424
  640. data/_sass/uswds/lib/addons/_border-color.scss +0 -26
  641. data/_sass/uswds/lib/addons/_border-radius.scss +0 -48
  642. data/_sass/uswds/lib/addons/_border-style.scss +0 -25
  643. data/_sass/uswds/lib/addons/_border-width.scss +0 -25
  644. data/_sass/uswds/lib/addons/_buttons.scss +0 -64
  645. data/_sass/uswds/lib/addons/_clearfix.scss +0 -25
  646. data/_sass/uswds/lib/addons/_ellipsis.scss +0 -30
  647. data/_sass/uswds/lib/addons/_font-stacks.scss +0 -31
  648. data/_sass/uswds/lib/addons/_hide-text.scss +0 -27
  649. data/_sass/uswds/lib/addons/_margin.scss +0 -26
  650. data/_sass/uswds/lib/addons/_padding.scss +0 -26
  651. data/_sass/uswds/lib/addons/_position.scss +0 -48
  652. data/_sass/uswds/lib/addons/_prefixer.scss +0 -66
  653. data/_sass/uswds/lib/addons/_retina-image.scss +0 -25
  654. data/_sass/uswds/lib/addons/_size.scss +0 -51
  655. data/_sass/uswds/lib/addons/_text-inputs.scss +0 -113
  656. data/_sass/uswds/lib/addons/_timing-functions.scss +0 -34
  657. data/_sass/uswds/lib/addons/_triangle.scss +0 -63
  658. data/_sass/uswds/lib/addons/_word-wrap.scss +0 -29
  659. data/_sass/uswds/lib/css3/_animation.scss +0 -43
  660. data/_sass/uswds/lib/css3/_appearance.scss +0 -3
  661. data/_sass/uswds/lib/css3/_backface-visibility.scss +0 -3
  662. data/_sass/uswds/lib/css3/_background-image.scss +0 -42
  663. data/_sass/uswds/lib/css3/_background.scss +0 -55
  664. data/_sass/uswds/lib/css3/_border-image.scss +0 -59
  665. data/_sass/uswds/lib/css3/_calc.scss +0 -4
  666. data/_sass/uswds/lib/css3/_columns.scss +0 -47
  667. data/_sass/uswds/lib/css3/_filter.scss +0 -4
  668. data/_sass/uswds/lib/css3/_flex-box.scss +0 -287
  669. data/_sass/uswds/lib/css3/_font-face.scss +0 -24
  670. data/_sass/uswds/lib/css3/_font-feature-settings.scss +0 -4
  671. data/_sass/uswds/lib/css3/_hidpi-media-query.scss +0 -10
  672. data/_sass/uswds/lib/css3/_hyphens.scss +0 -4
  673. data/_sass/uswds/lib/css3/_image-rendering.scss +0 -14
  674. data/_sass/uswds/lib/css3/_keyframes.scss +0 -36
  675. data/_sass/uswds/lib/css3/_linear-gradient.scss +0 -38
  676. data/_sass/uswds/lib/css3/_perspective.scss +0 -8
  677. data/_sass/uswds/lib/css3/_placeholder.scss +0 -8
  678. data/_sass/uswds/lib/css3/_radial-gradient.scss +0 -39
  679. data/_sass/uswds/lib/css3/_selection.scss +0 -42
  680. data/_sass/uswds/lib/css3/_text-decoration.scss +0 -19
  681. data/_sass/uswds/lib/css3/_transform.scss +0 -15
  682. data/_sass/uswds/lib/css3/_transition.scss +0 -71
  683. data/_sass/uswds/lib/css3/_user-select.scss +0 -3
  684. data/_sass/uswds/lib/functions/_assign-inputs.scss +0 -11
  685. data/_sass/uswds/lib/functions/_contains-falsy.scss +0 -20
  686. data/_sass/uswds/lib/functions/_contains.scss +0 -26
  687. data/_sass/uswds/lib/functions/_is-length.scss +0 -11
  688. data/_sass/uswds/lib/functions/_is-light.scss +0 -21
  689. data/_sass/uswds/lib/functions/_is-number.scss +0 -11
  690. data/_sass/uswds/lib/functions/_is-size.scss +0 -13
  691. data/_sass/uswds/lib/functions/_modular-scale.scss +0 -69
  692. data/_sass/uswds/lib/functions/_new-breakpoint.scss +0 -49
  693. data/_sass/uswds/lib/functions/_private.scss +0 -114
  694. data/_sass/uswds/lib/functions/_px-to-em.scss +0 -13
  695. data/_sass/uswds/lib/functions/_px-to-rem.scss +0 -15
  696. data/_sass/uswds/lib/functions/_shade.scss +0 -24
  697. data/_sass/uswds/lib/functions/_strip-units.scss +0 -17
  698. data/_sass/uswds/lib/functions/_tint.scss +0 -24
  699. data/_sass/uswds/lib/functions/_transition-property-name.scss +0 -22
  700. data/_sass/uswds/lib/functions/_unpack.scss +0 -27
  701. data/_sass/uswds/lib/grid/_box-sizing.scss +0 -15
  702. data/_sass/uswds/lib/grid/_direction-context.scss +0 -33
  703. data/_sass/uswds/lib/grid/_display-context.scss +0 -28
  704. data/_sass/uswds/lib/grid/_fill-parent.scss +0 -22
  705. data/_sass/uswds/lib/grid/_media.scss +0 -92
  706. data/_sass/uswds/lib/grid/_omega.scss +0 -87
  707. data/_sass/uswds/lib/grid/_outer-container.scss +0 -34
  708. data/_sass/uswds/lib/grid/_pad.scss +0 -25
  709. data/_sass/uswds/lib/grid/_private.scss +0 -35
  710. data/_sass/uswds/lib/grid/_row.scss +0 -52
  711. data/_sass/uswds/lib/grid/_shift.scss +0 -50
  712. data/_sass/uswds/lib/grid/_span-columns.scss +0 -94
  713. data/_sass/uswds/lib/grid/_to-deprecate.scss +0 -97
  714. data/_sass/uswds/lib/grid/_visual-grid.scss +0 -42
  715. data/_sass/uswds/lib/helpers/_convert-units.scss +0 -21
  716. data/_sass/uswds/lib/helpers/_directional-values.scss +0 -96
  717. data/_sass/uswds/lib/helpers/_font-source-declaration.scss +0 -43
  718. data/_sass/uswds/lib/helpers/_gradient-positions-parser.scss +0 -13
  719. data/_sass/uswds/lib/helpers/_linear-angle-parser.scss +0 -25
  720. data/_sass/uswds/lib/helpers/_linear-gradient-parser.scss +0 -41
  721. data/_sass/uswds/lib/helpers/_linear-positions-parser.scss +0 -61
  722. data/_sass/uswds/lib/helpers/_linear-side-corner-parser.scss +0 -31
  723. data/_sass/uswds/lib/helpers/_radial-arg-parser.scss +0 -69
  724. data/_sass/uswds/lib/helpers/_radial-gradient-parser.scss +0 -50
  725. data/_sass/uswds/lib/helpers/_radial-positions-parser.scss +0 -18
  726. data/_sass/uswds/lib/helpers/_render-gradients.scss +0 -26
  727. data/_sass/uswds/lib/helpers/_shape-size-stripper.scss +0 -10
  728. data/_sass/uswds/lib/helpers/_str-to-num.scss +0 -50
  729. data/_sass/uswds/lib/mixins/_clearfix.scss +0 -25
  730. data/_sass/uswds/lib/settings/_asset-pipeline.scss +0 -7
  731. data/_sass/uswds/lib/settings/_disable-warnings.scss +0 -13
  732. data/_sass/uswds/lib/settings/_grid.scss +0 -51
  733. data/_sass/uswds/lib/settings/_prefixer.scss +0 -9
  734. data/_sass/uswds/lib/settings/_px-to-em.scss +0 -1
  735. data/_sass/uswds/lib/settings/_visual-grid.scss +0 -27
  736. data/_sass/uswds/uswds.scss +0 -41
  737. data/assets/css/main.scss +0 -93
  738. data/assets/uswds/fonts/merriweather-bold-webfont.eot +0 -0
  739. data/assets/uswds/fonts/merriweather-bold-webfont.ttf +0 -0
  740. data/assets/uswds/fonts/merriweather-bold-webfont.woff +0 -0
  741. data/assets/uswds/fonts/merriweather-bold-webfont.woff2 +0 -0
  742. data/assets/uswds/fonts/merriweather-italic-webfont.eot +0 -0
  743. data/assets/uswds/fonts/merriweather-italic-webfont.ttf +0 -0
  744. data/assets/uswds/fonts/merriweather-italic-webfont.woff +0 -0
  745. data/assets/uswds/fonts/merriweather-italic-webfont.woff2 +0 -0
  746. data/assets/uswds/fonts/merriweather-light-webfont.eot +0 -0
  747. data/assets/uswds/fonts/merriweather-light-webfont.ttf +0 -0
  748. data/assets/uswds/fonts/merriweather-light-webfont.woff +0 -0
  749. data/assets/uswds/fonts/merriweather-light-webfont.woff2 +0 -0
  750. data/assets/uswds/fonts/merriweather-regular-webfont.eot +0 -0
  751. data/assets/uswds/fonts/merriweather-regular-webfont.ttf +0 -0
  752. data/assets/uswds/fonts/merriweather-regular-webfont.woff +0 -0
  753. data/assets/uswds/fonts/merriweather-regular-webfont.woff2 +0 -0
  754. data/assets/uswds/fonts/sourcesanspro-bold-webfont.eot +0 -0
  755. data/assets/uswds/fonts/sourcesanspro-bold-webfont.ttf +0 -0
  756. data/assets/uswds/fonts/sourcesanspro-bold-webfont.woff +0 -0
  757. data/assets/uswds/fonts/sourcesanspro-bold-webfont.woff2 +0 -0
  758. data/assets/uswds/fonts/sourcesanspro-italic-webfont.eot +0 -0
  759. data/assets/uswds/fonts/sourcesanspro-italic-webfont.ttf +0 -0
  760. data/assets/uswds/fonts/sourcesanspro-italic-webfont.woff +0 -0
  761. data/assets/uswds/fonts/sourcesanspro-italic-webfont.woff2 +0 -0
  762. data/assets/uswds/fonts/sourcesanspro-light-webfont.eot +0 -0
  763. data/assets/uswds/fonts/sourcesanspro-light-webfont.ttf +0 -0
  764. data/assets/uswds/fonts/sourcesanspro-light-webfont.woff +0 -0
  765. data/assets/uswds/fonts/sourcesanspro-light-webfont.woff2 +0 -0
  766. data/assets/uswds/fonts/sourcesanspro-regular-webfont.eot +0 -0
  767. data/assets/uswds/fonts/sourcesanspro-regular-webfont.ttf +0 -0
  768. data/assets/uswds/fonts/sourcesanspro-regular-webfont.woff +0 -0
  769. data/assets/uswds/fonts/sourcesanspro-regular-webfont.woff2 +0 -0
  770. data/assets/uswds/img/alerts/error.png +0 -0
  771. data/assets/uswds/img/alerts/info.png +0 -0
  772. data/assets/uswds/img/alerts/success.png +0 -0
  773. data/assets/uswds/img/alerts/warning.png +0 -0
  774. data/assets/uswds/img/angle-arrow-down-hover.png +0 -0
  775. data/assets/uswds/img/angle-arrow-down-primary-hover.png +0 -0
  776. data/assets/uswds/img/angle-arrow-down-primary.png +0 -0
  777. data/assets/uswds/img/angle-arrow-down.png +0 -0
  778. data/assets/uswds/img/angle-arrow-up-primary-hover.png +0 -0
  779. data/assets/uswds/img/angle-arrow-up-primary.png +0 -0
  780. data/assets/uswds/img/arrow-both.png +0 -0
  781. data/assets/uswds/img/arrow-down.png +0 -0
  782. data/assets/uswds/img/arrow-right.png +0 -0
  783. data/assets/uswds/img/close-primary.png +0 -0
  784. data/assets/uswds/img/close.png +0 -0
  785. data/assets/uswds/img/correct8.png +0 -0
  786. data/assets/uswds/img/correct9.png +0 -0
  787. data/assets/uswds/img/external-link-alt-hover.png +0 -0
  788. data/assets/uswds/img/external-link-alt.png +0 -0
  789. data/assets/uswds/img/external-link-hover.png +0 -0
  790. data/assets/uswds/img/external-link.png +0 -0
  791. data/assets/uswds/img/minus-alt.png +0 -0
  792. data/assets/uswds/img/minus.png +0 -0
  793. data/assets/uswds/img/plus-alt.png +0 -0
  794. data/assets/uswds/img/plus.png +0 -0
  795. data/assets/uswds/img/search-alt.png +0 -0
  796. data/assets/uswds/img/search-primary.png +0 -0
  797. data/assets/uswds/img/search.png +0 -0
  798. data/assets/uswds/img/social-icons/png/facebook25.png +0 -0
  799. data/assets/uswds/img/social-icons/png/rss25.png +0 -0
  800. data/assets/uswds/img/social-icons/png/twitter16.png +0 -0
  801. data/assets/uswds/img/social-icons/png/youtube15.png +0 -0
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 285f8c20da27c19919ac01305cac7d1845fd85a8
4
- data.tar.gz: df74eaf77ecf8d47c66152851fbf9968775d306d
2
+ SHA256:
3
+ metadata.gz: 29e08c0c93242d0988e5b023c39b250ecb253f039ad18db213a11a0c19232c27
4
+ data.tar.gz: 31e0ba8838991c621837ddd6790a972174f4b56ed3b7920ef3ec68f9f93fe53c
5
5
  SHA512:
6
- metadata.gz: 8fcc1da3e3d11cc0b7a7c9a42e4540750c364afba86db8251d9a2a48bc9f4aa71ed26e06c61260a2a2e4343dcf11fd52eff2fee773e1e48527e2d5531ea2b671
7
- data.tar.gz: 6ec627845720232a60ad4b1c38f6a7d4e3ddfc13010c85c1a9515a4696181c43e84006cfca8a7a76aeed98560a77ded5d19f96a70003d099a95fca0525e89232
6
+ metadata.gz: 3bc6518ab545cce8c5dcca05413cf759a66f0114cea6d5e3df31519b2a8092366c8d3ea5518a0571cd78b489e47dad9e08ac9f01dd094eec05d0930aa379e8d1
7
+ data.tar.gz: 70820de8069997a91357ba38291226ac4d4093817aaf5cd27f72c5e0824db79ea3c3d3be86bba6e914abbb0ec542f79b9e96e78e4ca6edd1534ebfcb64e0d464
data/README.md CHANGED
@@ -4,181 +4,160 @@ This is a [Jekyll theme](https://jekyllrb.com/docs/themes/) for the
4
4
  [U.S. Web Design System](https://designsystem.digital.gov).
5
5
 
6
6
  ## Table of contents
7
+
7
8
  1. [Installation](#installation)
8
- - [Development](#development)
9
- - [Versioning](#versioning)
9
+ - [Versioning](#versioning)
10
10
  1. [Configuration](#configuration)
11
- - [Site title](#site-title)
12
- - [Navigation](#navigation)
13
- - [Page subnavigation](#page-subnavigation)
14
- - [Color and font configuration](#color-and-font-configuration)
15
- - [Search](#search)
16
- - [Analytics](#analytics)
17
- - [Last modified date](#last-modified-date)
18
- - [Anchor JS](#anchor-js)
11
+ - [Site title](#site-title)
12
+ - [Site description](#site-description)
13
+ - [Navigation](#navigation)
14
+ - [Page subnavigation](#page-subnavigation)
15
+ - [Hero](#hero)
16
+ - [Tagline intro](#tagline-intro)
17
+ - [Graphics list](#graphics-list)
18
+ - [Color and font configuration](#color-and-font-configuration)
19
+ - [Search](#search)
20
+ - [Analytics](#analytics)
21
+ - [Last modified date](#last-modified-date)
22
+ - [Anchor JS](#anchor-js)
23
+ - [Private Eye JS](#private-eye-js)
19
24
  1. [Assets](#assets)
20
- - [Stylesheets](#stylesheets)
21
- - [Scripts](#scripts)
22
- - [Asset load order](#asset-load-order)
25
+ - [Stylesheets](#stylesheets)
26
+ - [Scripts](#scripts)
27
+ - [Asset load order](#asset-load-order)
23
28
  1. [Customization](#customization)
24
- - [Customizing with Sass](#customizing-with-sass)
25
- - [Customizing with CSS overrides](#customizing-with-css-overrides)
26
- - [Overriding includes and layouts](#overriding-includes-and-layouts)
29
+ - [Overriding includes and layouts](#overriding-includes-and-layouts)
27
30
  1. [Components](#components)
28
- - [Header](#header)
29
- - [Footer](#footer)
31
+ - [Header](#header)
32
+ - [Footer](#footer)
30
33
  1. [Layouts](#layouts)
31
- - [Default](#layout-default)
32
- - [Page](#layout-page)
33
- - [Home](#layout-home)
34
- - [Post](#layout-post)
35
- - [Project](#layout-project)
36
- - [Team member](#layout-team-member)
37
-
38
-
34
+ - [Default](#layout-default)
35
+ - [Page](#layout-page)
36
+ - [Home](#layout-home)
37
+ - [Post](#layout-post)
38
+ - [Project](#layout-project)
39
+ - [Team member](#layout-team-member)
40
+ 1. [Migration guide](#migration)
41
+ 1. [Development](#development)
39
42
 
40
43
  ## Installation
41
44
 
42
45
  1. Install the theme as a Ruby Gem by adding it to your `Gemfile`
43
46
  like so:
44
47
 
45
- ```ruby
46
- gem 'uswds-jekyll'
47
- ```
48
+ ```ruby
49
+ gem 'uswds-jekyll'
50
+ ```
48
51
 
49
52
  1. Fetch and update your bundled gems by running:
50
53
 
51
- ```sh
52
- bundle
53
- ```
54
+ ```sh
55
+ bundle
56
+ ```
54
57
 
55
58
  1. Set the `theme` in your site's Jekyll configuration,
56
59
  `_config.yml`:
57
60
 
58
- ```yml
59
- theme: uswds-jekyll
60
- ```
61
+ ```yml
62
+ theme: uswds-jekyll
63
+ ```
61
64
 
62
65
  You will need to restart your Jekyll server to see the effects.
63
66
 
64
67
  ### Install as a new Jekyll site
65
68
 
66
69
  1. Create a new Jekyll site:
67
- ```
68
- jekyll new
69
- ```
70
+ ```
71
+ jekyll new
72
+ ```
70
73
  1. Replace the default `gem "minima", "~> 2.0"` gem with the `uswds-jekyll` gem in your `Gemfile`:
71
74
 
72
- ```ruby
73
- gem 'uswds-jekyll', :git => 'https://github.com/18F/uswds-jekyll.git'
74
- ```
75
+ ```ruby
76
+ gem 'uswds-jekyll'
77
+ ```
75
78
 
76
- 1. Set the `theme` in your site's Jekyll configuration,
77
- `_config.yml`:
78
-
79
- ```yml
80
- theme: uswds-jekyll
81
- ```
82
- 1. Fetch and update your bundled gems by running:
79
+ 1. Set the `theme` in your site's Jekyll configuration, `_config.yml`:
83
80
 
84
- ```sh
85
- bundle
86
- ```
87
- 1. Run Jekyll `jekyll serve` to build your site locally at http://localhost:4000/
81
+ ```yml
82
+ theme: uswds-jekyll
83
+ ```
88
84
 
89
- ### Development
85
+ 1. Fetch and update your bundled gems by running:
90
86
 
91
- To develop this theme and/or test it locally:
87
+ ```sh
88
+ bundle
89
+ ```
92
90
 
93
- 1. Clone this repo
94
- 1. Run Jekyll (`jekyll serve`) in the local clone of this repo;
95
- **or**
96
- 1. Create a new Jekyll project, follow the
97
- [installation](#installation) instructions, then change your
98
- `Gemfile` to point at the local clone of this repo:
99
-
100
- ```ruby
101
- gem 'uswds-jekyll', :path => '../path/to/uswds-jekyll'
102
- ```
103
- ### Publish to Rubygems
104
- 1. Update `spec.version = "NUMBER HERE"` in the uswds-jekyll.gemspec file to the version you want to publish
105
- 1. Run `bundle install`
106
- 1. Add a PR for the update and get it merged
107
- 1. Run `bundle exec rake release`
108
- 1. Add a GitHub release to the releases page with the same version number
109
- 1. You should see the latest version here https://rubygems.org/gems/uswds-jekyll
91
+ 1. Run `bundle exec jekyll serve` to build your site locally at http://localhost:4000/
110
92
 
111
93
  ### Versioning
112
94
 
113
- To reference a specific version of this plugin:
95
+ To reference a specific version of this theme:
114
96
 
115
- 1. Visit the [releases page](https://github.com/18F/uswds-jekyll/releases) and
116
- decide which version you want to use.
97
+ 1. Visit the [releases page](https://github.com/18F/uswds-jekyll/releases) and decide which version you want to use.
117
98
  1. Specify the version in your `Gemfile`.
118
99
 
119
- ```ruby
120
- gem 'uswds-jekyll', '1.4.1'
121
- ```
100
+ ```ruby
101
+ gem 'uswds-jekyll', '~> 5.0'
102
+ ```
122
103
 
123
104
  ## Configuration
124
105
 
125
- Configuration of common elements ([header](#header),
126
- [footer](#footer), [navigation](#navigation), etc.) happens in your
127
- project's [data files](https://jekyllrb.com/docs/datafiles/). See
128
- this project's [data directory](_data) for reference configurations
129
- of each component.
130
-
131
- The [default layout](#layout-default) also provides a mechanism for
132
- automatically including [stylesheets](#stylesheets) and
133
- [scripts](#scripts) on a site-wide, layout-wide, and per-page
134
- basis. See [asset load order](#asset-load-order) for more
135
- information.
106
+ Configuration of common elements ([header](#header), [footer](#footer), [navigation](#navigation), etc.) happens in your project's [data files](https://jekyllrb.com/docs/datafiles/). See this project's [data directory](_data) for reference configurations of each component.
136
107
 
108
+ The [default layout](#layout-default) also provides a mechanism for automatically including [stylesheets](#stylesheets) and [scripts](#scripts) on a site-wide, layout-wide, and per-page basis. See [asset load order](#asset-load-order) for more information.
137
109
 
138
110
  ### Site title
139
111
 
140
- You can change your site's title with the `title` field in your
141
- `_config.yml`. If you want to provide an alternate title for use
142
- _only_ in the site header, you can set the `title` field in
143
- `_data/header.yml`.
112
+ You can change your site's title with the `title` field in `_config.yml`. If you want to provide an alternate title for use _only_ in the site header, you can set the `title` field in `_data/header.yml`.
113
+
114
+ ### Site description
144
115
 
116
+ You can change your site's description with the `description` field in `_config.yml`. If you want to override it for a particular page, you can set the `description` field in that page's frontmatter.
145
117
 
146
118
  ### Navigation
147
119
 
148
- This theme's navigation system is powerful and flexible. Named
149
- navigational lists live in your project's `_data/navigation.yml`,
150
- e.g.
120
+ This theme's navigation system is powerful and flexible. Named navigational lists live in your project's `_data/navigation.yml`.
151
121
 
152
122
  By default all links are assumed to be internal to the site. You can add `external: true` to links that are external. You can also add `class: class-name` to add a class to a specific link.
153
123
 
154
124
  ```yml
155
125
  # _data/navigation.yml
126
+
156
127
  primary:
157
128
  - text: Documentation
158
129
  href: /docs/
159
130
  - text: Support
160
131
  href: /help/
161
- - text: External link
132
+ class: highlight
133
+ - text: "18F"
162
134
  href: https://18f.gsa.gov
163
135
  external: true
164
136
 
165
137
  # link objects with a 'links' field will be presented as
166
- # collapsible link lists. The 'links' field can either be a
167
- # reference to another link list in this file, or a literal list.
138
+ # collapsible link lists. The 'links' field can either be
139
+ # a reference to another link list in this file, or
140
+ # a literal list.
141
+
168
142
  - text: Section title
169
143
  links: <links>
170
144
  ```
171
145
 
172
- This scheme allows you to define navigational elements that can be
173
- shared by different components, such as the [header](#header) and
174
- [footer](#footer). See the documentation for those components for
175
- more info.
146
+ This scheme allows you to define navigational elements that can be shared by different components, such as the [header](#header) and [footer](#footer). See the documentation for those components for more info.
147
+
148
+ ### Page title
149
+
150
+ Set each page's title in its frontmatter:
176
151
 
152
+ ```
153
+ ---
154
+ title: About us
155
+ ---
156
+ ```
177
157
 
178
158
  ### Page subnavigation
179
159
 
180
- If you're using the [page layout](#layout-page), each page may declare its own
181
- side navigation and subnavigation in its [front matter]:
160
+ If you're using the [page layout](#layout-page), each page may declare its own side navigation and subnavigation in its front matter:
182
161
 
183
162
  ```md
184
163
  ---
@@ -189,22 +168,25 @@ subnav:
189
168
  - text: Section two
190
169
  href: '#section-two
191
170
  ---
171
+
192
172
  ## Section one
193
173
 
194
174
  ## Section two
195
175
  ```
196
176
 
197
- As with the [header](#header) and [footer](#footer), the `sidenav` field may
198
- either reference a common [navigation list](#navigation) from
199
- `_data/navigation.yml` (recommended) or be a literal list of links.
177
+ As with the [header](#header) and [footer](#footer), the `sidenav` field may either reference a common [navigation list](#navigation) from `_data/navigation.yml` (recommended) or be a literal list of links.
178
+
179
+ The `subnav` field should be used to link to sections _within_ the current page, because links to other pages will cause the linking page's side navigation to collapse when visited.
200
180
 
201
- The `subnav` field should be used to link to sections _within_ the current
202
- page, because links to other pages will cause the linking page's side
203
- navigation to collapse when visited.
181
+ `sidenav` is a key _into_ `_data/navigation.yml`. See the [navigation](#navigation) docs for more info.
204
182
 
205
- **Pro tip:** Unless your Jekyll configuration specifies otherwise, the default
206
- Markdown formatter (Kramdown) will automatically generate predictable `id`
207
- attributes for your page headings and convert markdown like this:
183
+ A page's "current" or "active" state in the sidenav is determined by whether a link's `href` matches `page.url` or `page.permalink` for each page being rendered.
184
+
185
+ `subnav` is a list of links to display on this page under its own link in the side navigation.
186
+
187
+ **Note that subnav link hrefs are not prefixed with `site.baseurl`** because this breaks hash links prefixed with `#`.
188
+
189
+ **Pro tip:** Unless your Jekyll configuration specifies otherwise, the default Markdown formatter (Kramdown) will automatically generate predictable `id` attributes for your page headings and convert markdown like this:
208
190
 
209
191
  ```md
210
192
  ## Section one
@@ -216,8 +198,7 @@ into:
216
198
  <h2 id="section-one">Section one</h2>
217
199
  ```
218
200
 
219
- If you're using Redcarpet, you will need to configure it to enable
220
- the `with_toc_data` extension in your `_config.yml`, like so:
201
+ If you're using Redcarpet, you will need to configure it to enable the `with_toc_data` extension in your `_config.yml`, like so:
221
202
 
222
203
  ```yml
223
204
  markdown: redcarpet
@@ -226,9 +207,52 @@ redcarpet:
226
207
  - with_toc_data
227
208
  ```
228
209
 
229
- ### Color and font configuration
210
+ **Pro tip:** If you're like us and prefer your navigation sticky, you can add `sticky_sidenav: true` on [page](#layout-page), [project](#layout-project), and [team member](#layout-team-member) layouts to have the sidenav follow as you scroll.
211
+
212
+ ### Hero
230
213
 
231
- The default colors and fonts can be configured in the `_data/theme.yml` file.
214
+ ```yml
215
+ hero: # optional
216
+ image: /path/to/image.jpg # optional
217
+ callout:
218
+ alt: Callout white text! # optional
219
+ text: The rest of the callout
220
+ button: # optional
221
+ text: The button text
222
+ href: /button-href/
223
+ ```
224
+
225
+ ### Tagline intro
226
+
227
+ ```yml
228
+ # optional, but must be used in conjunction with 'intro', below
229
+ tagline: A tagline for your page
230
+ # also optional, but must be used with 'tagline', above
231
+ intro: |
232
+ Some introductory text content.
233
+
234
+ This will be processed as **Markdown**.
235
+ ```
236
+
237
+ ### Graphics list
238
+
239
+ ```yml
240
+ # an optional list of graphics to display before or after the content
241
+ graphics:
242
+ - image:
243
+ # note the indentation here: graphics[n].image.src
244
+ src: /path/to/image.ext
245
+ alt: optional alt text
246
+ title: Optional graphic title, rendered as an <h3>
247
+ description: Graphic description text, processed as _Markdown_.
248
+
249
+ # optional
250
+ graphics_position: (before|after)
251
+ ```
252
+
253
+ ### Color configuration
254
+
255
+ The default colors can be configured in the `_data/theme.yml` file. Other settings can be configured using USWDS theme settings. (See the [customization](#customization) section, below.)
232
256
 
233
257
  ### Search
234
258
 
@@ -237,7 +261,7 @@ The default colors and fonts can be configured in the `_data/theme.yml` file.
237
261
  Before configuring your search you will need to create a search.gov account and set up your website
238
262
  with search.gov.
239
263
 
240
- After setting up your site on search.gov you can then add your `site handle` to the `config.yml`.
264
+ After setting up your site on search.gov you can then add your `search_site_handle` to the `config.yml`.
241
265
 
242
266
  ### Analytics
243
267
 
@@ -252,39 +276,53 @@ You can add Google Analytics to your site by uncommenting the `google_analytics_
252
276
 
253
277
  #### Digital Analytics Program (DAP)
254
278
 
255
- You can add DAP to your site by uncommenting the `dap_agency` line and, if need be, replacing `GSA` with the appropriate agency key. For more information visit <https://www.digitalgov.gov/services/dap/>
279
+ You can add DAP to your site by uncommenting the `dap_agency` line and, if need be, replacing `GSA` with the appropriate agency key. And optionally, `dap_subagency` may also be specified. For more information visit <https://www.digitalgov.gov/services/dap/>
256
280
 
257
281
  ```
258
282
  # Configuration for DAP, add your agency ID here:
259
283
  # dap_agency: GSA
284
+ # dap_subagency: TTS
260
285
  ```
261
286
 
262
287
  ### Last modified date
263
288
 
264
- You can show the last date a page was last modified by uncommenting this line from the `footer.yml` data file.
265
- This will add the date right before the footer component and uses the `last-modified.html` include.
289
+ To show the last date a page was last modified by:
266
290
 
267
- ```yml
268
- # Used to show the "Last updated" date and time;
269
- # last_updated: true
270
- ```
291
+ 1. Add this line to the `footer.yml` data file:
292
+
293
+ ```yml
294
+ last_updated: true
295
+ ```
296
+
297
+ 1. Add the following to your `Gemfile`:
298
+
299
+ ```ruby
300
+ group :jekyll_plugins do
301
+ gem "jekyll-last-modified-at"
302
+ end
303
+ ```
304
+
305
+ This will add the date right before the footer component.
271
306
 
272
307
  ### Anchor JS
273
308
 
274
- You can show an anchor link next to header tags by uncommenting this section from the `_config.yml` data file.
275
- This will add an anchor link after the header tag on the page and post layouts making ech header linkable.
276
- See https://github.com/bryanbraun/anchorjs for more information.
309
+ You can show an anchor link next to header tags by uncommenting this section from the `_config.yml` data file. This will add an anchor link after the header tag on the page and post layouts making ech header linkable. See https://github.com/bryanbraun/anchorjs for more information.
277
310
 
278
311
  ```yml
279
312
  # anchor_js_targets: [h1, h2, h3, h4, h5, h6]
280
313
  ```
281
314
 
315
+ ### Private Eye JS
316
+
317
+ By default, the USWDS Jekyll theme uses [Private Eye](https://github.com/18F/private-eye) to denote private links. You can turn this off with the setting below. If you would like to customize the default Private Eye configuration, you can find it in `/assets/js/private_eye_conf.js`.
318
+
319
+ ```yml
320
+ private_eye: false
321
+ ```
322
+
282
323
  ## Assets
283
324
 
284
- The [stylesheet](_includes/styles.html) and [script](_includes/scripts.html)
285
- includes each incorporate the USWDS CSS and JS files if the corresponding
286
- `styles` and `scripts` lists aren't defined in your `_config.yml`. So unless
287
- you add one or both of those manually, your HTML will include the following:
325
+ The [stylesheet](_includes/styles.html) and [script](_includes/scripts.html) includes each incorporate the USWDS CSS and JS files if the corresponding `styles` and `scripts` lists aren't defined in your `_config.yml`. So unless you add one or both of those manually, your HTML will include the following:
288
326
 
289
327
  ```html
290
328
  <!-- in the <head> -->
@@ -293,16 +331,11 @@ you add one or both of those manually, your HTML will include the following:
293
331
  <script src="/assets/uswds/js/uswds.min.js" async>
294
332
  ```
295
333
 
296
- Read more about customizing [stylesheets](#stylesheets) and [scripts](#scripts)
297
- below.
298
-
334
+ Read more about customizing [stylesheets](#stylesheets) and [scripts](#scripts) below.
299
335
 
300
336
  ### Stylesheets
301
337
 
302
- As a general rule, all stylesheets are inserted in a layouts'
303
- `<head>`, which qualifies them as "render-blocking". Site
304
- stylesheets can be specified in `_config.yml` or a layout or page's
305
- [front matter] YAML in the following form:
338
+ As a general rule, all stylesheets are inserted in a layouts' `<head>`, which qualifies them as "render-blocking". Site stylesheets can be specified in `_config.yml` or a layout or page's [front matter] YAML in the following form:
306
339
 
307
340
  ```yml
308
341
  styles:
@@ -311,16 +344,11 @@ styles:
311
344
  media: (screen|print|all) # optional
312
345
  ```
313
346
 
314
- Stylesheets specified as objects (in the latter item above) must
315
- have an `href` property. The `media` defaults to `screen`.
316
-
347
+ Stylesheets specified as objects (in the latter item above) must have an `href` property. The `media` defaults to `screen`.
317
348
 
318
349
  ### Scripts
319
350
 
320
- As a general rule, all scripts are inserted before a layouts'
321
- `</body>`, which prevents them from blocking the rendering of your
322
- page's content. Scripts can be specified in `_config.yml` or a
323
- layout or page's [front matter] YAML in the following form:
351
+ As a general rule, all scripts are inserted before a layouts' `</body>`, which prevents them from blocking the rendering of your page's content. Scripts can be specified in `_config.yml` or a layout or page's [front matter] YAML in the following form:
324
352
 
325
353
  ```yml
326
354
  scripts:
@@ -329,15 +357,7 @@ scripts:
329
357
  async: true # optional
330
358
  ```
331
359
 
332
- Scripts specified as objects (in the latter item above) must have a `src`
333
- property. Scripts with `async: true` will get an `async` attribute, which tells
334
- the browser _not_ to let this script's loading block the execution of
335
- subsequent scripts. If the execution order of your scripts is **not**
336
- important, setting `async: true` may provide performance benefits to your
337
- users. (Conversely, if you don't know whether your scripts need to execute in a
338
- particular order, then you should not set `async: true` because it may prevent
339
- your scripts from running propertly.)
340
-
360
+ Scripts specified as objects (in the latter item above) must have a `src` property. Scripts with `async: true` will get an `async` attribute, which tells the browser _not_ to let this script's loading block the execution of subsequent scripts. If the execution order of your scripts is **not** important, setting `async: true` may provide performance benefits to your users. (Conversely, if you don't know whether your scripts need to execute in a particular order, then you should not set `async: true` because it may prevent your scripts from running propertly.)
341
361
 
342
362
  ### Asset load order
343
363
 
@@ -351,70 +371,19 @@ Both [stylesheets](#stylesheets) and [scripts](#scripts) can be configured
351
371
  1. Those configured at the page level (in the page's [front matter])
352
372
  will be loaded last.
353
373
 
354
-
355
374
  ## Customization
356
375
 
357
- You have two options for customizing the CSS: [Sass](#customizing-with-sass) or
358
- [CSS overrides](#customizing-with-css-overrides). Individual sites can also
359
- [selectively override](#overriding-includes-and-layouts) individual includes
360
- and layouts.
361
-
376
+ Customize the USWDS Jekyll theme with [USWDS theme settings files](https://designsystem.digital.gov/documentation/settings/), [USWDS design tokens](https://designsystem.digital.gov/design-tokens/), and custom Sass or CSS. You'll need to place USWDS settings and custom Sass into a couple specific locations for the theme to find them.
362
377
 
363
- ### Customizing with Sass
378
+ 1. **Settings:** Add custom USWDS settings to `_sass/_uswds-theme-settings.scss`. Settings control the USWDS output. See all available settings in the [USWDS settings documentation](https://designsystem.digital.gov/documentation/settings/). We recommend adding only your modified settings to the `_uswds-theme-settings.scss` file.
364
379
 
365
- 1. Create a [Sass][] (or SCSS) entry point that sets variables and then imports
366
- the USWDS source files:
380
+ To see an example of all the settings available to USWDS, see the files [in the USWDS GitHub repo](https://github.com/uswds/uswds/tree/develop/src/stylesheets/theme). The repo splits settings into multiple files. If you want to copy and mimic that structure, download the repo files using a tool like [DownGit](https://minhaskamal.github.io/DownGit/#/home?url=https://github.com/uswds/uswds/tree/develop/src/stylesheets/theme). Then add them to the `_sass/` directory and `@import` them from `_uswds-theme-settings.scss`.
367
381
 
368
- ```scss
369
- ---
370
- # assets/main.scss
371
- ---
372
- // set your variables or @import them here.
382
+ Whether you add only individual settings variables or import from multiple files, `_uswds-theme-settings.scss` needs to be the entry point.
373
383
 
374
- // at the very least, you should set the USWDS font and image paths
375
- // to the correct paths relative to assets/main.css, like so:
376
- $font-path: 'uswds/fonts';
377
- $image-path: 'uswds/img';
378
-
379
- @import 'uswds/all';
380
- ```
381
-
382
- 1. Change the path to your site's default stylesheet in your `_config.yml`:
383
-
384
- ```yml
385
- styles:
386
- - /assets/main.css
387
- ```
388
-
389
- All of the USWDS [SCSS source files](https://github.com/uswds/uswds/tree/master/src/stylesheets)
390
- are placed in the [_sass/uswds](_sass/uswds) directory and are available as
391
- Sass imports via `@import 'uswds/<path>';`. See the [Jekyll docs][Jekyll Sass]
392
- for more information about its Sass/SCSS support, and configuring its Sass
393
- renderer in your site's config.
394
-
395
-
396
- ### Customizing with CSS overrides
397
-
398
- 1. Create a new CSS or Sass file that defines your customizations,
399
- e.g.
400
-
401
- ```scss
402
- ---
403
- # assets/uswds-overrides.scss
404
- ---
405
- .usa-header {
406
- // overrides here
407
- }
408
- ```
384
+ 1. **Custom Sass and variables:** Add any custom CSS or Sass to `_sass/_uswds-theme-custom-styles.scss`. You can use this custom styles file to `@import` any _additional_ Sass or CSS files your project needs, as long as any additional files exist in the `/_sass` directory.
409
385
 
410
- 1. Add the new stylesheet's path to your `_config.yml` _after_
411
- `uswds.min.css`:
412
-
413
- ```yml
414
- styles:
415
- - /assets/uswds/css/uswds.min.css
416
- - /assets/uswds-overrides.css
417
- ```
386
+ Custom Sass loads after the USWDS and default Sass, so you can use it to override the defaults. Individual sites can also [selectively override](#overriding-includes-and-layouts) individual includes and layouts.
418
387
 
419
388
  ### Overriding includes and layouts
420
389
 
@@ -422,11 +391,6 @@ Any [include](_includes) or [layout](_layouts) can be overridden by
422
391
  your site by placing a file with the same name into your site's
423
392
  `_includes` or `_layouts` directory. For instance:
424
393
 
425
- - To change how [stylesheets](#stylesheets) are loaded or
426
- referenced, you can create your own `_includes/styles.html`,
427
- which will subsequently change how stylesheets are loaded in all
428
- layouts that inherit from the USWDS [default layout](#layout-default).
429
-
430
394
  - You can change how the side navigation is rendered (but not which
431
395
  data it receives) in the [page layout](#layout-page) by creating
432
396
  your own `_includes/sidenav.html`.
@@ -437,142 +401,72 @@ your site by placing a file with the same name into your site's
437
401
 
438
402
  ## Components
439
403
 
440
- For some [USWDS components](https://designsystem.digital.gov/components/),
441
- there are two different files that control how data is passed to
404
+ For some [USWDS components](https://designsystem.digital.gov/components/), there are two different files that control how data is passed to
442
405
  the template:
443
406
 
444
- 1. `components/{component}.html` is the low-level template that
445
- assumes a similarly named global template variable. For
446
- instance, the header component operates on the `header` template
447
- variable.
448
- 1. `{component}.html` is the "concrete" implementation of the
449
- component that sets the appropriate global variable then
450
- includes the low-level template.
451
-
452
- This separation allows you to override either of the component
453
- includes in your own Jekyll site without having to re-implement
454
- either the high- or low-level logic. For instance, if you want your
455
- header data to come directly from the Jekyll configuration file
456
- (`_config.yml`) rather than `_data/header.yml`, you can override
457
- `_includes/header.html` to look like this:
407
+ 1. `components/{component}.html` is the low-level template that assumes a similarly named global template variable. For instance, the header component operates on the `header` template variable.
408
+ 1. `{component}.html` is the "concrete" implementation of the component that sets the appropriate global variable then includes the low-level template.
409
+
410
+ This separation allows you to override either of the component includes in your own Jekyll site without having to re-implement either the high- or low-level logic. For instance, if you want your header data to come directly from the Jekyll configuration file (`_config.yml`) rather than `_data/header.yml`, you can override `_includes/header.html` to look like this:
458
411
 
459
412
  ```html
460
- {% assign header = site.header %}
461
- {% include components/header--basic.html %}
413
+ {% assign header = site.data.header %} {% include components/header--basic.html
414
+ %}
462
415
  ```
463
416
 
464
-
465
417
  ### Header
466
418
 
467
- The [header.html include](_includes/header.html) sets the `header`
468
- template variable to `site.data.header`, the value of which is set
469
- in your Jekyll project's `_data/header.yml` file. Then it includes
470
- [components/header.html](_includes/components/header.html) to
471
- render the header's markup.
419
+ The [header.html include](_includes/header.html) sets the `header` template variable to `site.data.header`, the value of which is set in your Jekyll project's `_data/header.yml` file. Then it includes [components/header.html](_includes/components/header.html) to render the header's markup.
472
420
 
473
421
  See this repo's [header.yml](_data/header.yml) for more info.
474
422
 
475
-
476
423
  ### Footer
477
424
 
478
- The [footer.html include](_includes/footer.html) sets the `header`
479
- template variable to `site.data.footer`, the value of which is set
480
- in your Jekyll project's `_data/footer.yml` file. Then it includes
481
- [components/footer.html](_includes/components/footer.html) to
425
+ The [footer.html include](_includes/footer.html) sets the `footer` template variable to `site.data.footer`, the value of which is set in your Jekyll project's `_data/footer.yml` file. Then it includes [components/footer.html](_includes/components/footer.html) to
482
426
  render the footer's markup.
483
427
 
484
428
  See this repo's [footer.yml](_data/footer.yml) for more info.
485
429
 
486
-
487
430
  ## Layouts
488
431
 
489
- This theme provides the following layouts, which you can use by
490
- setting the `layout` [front matter] on each page, like so:
432
+ This theme provides the following layouts, which you can use by setting the `layout` [front matter] on each page, like so:
491
433
 
492
- ```yaml
434
+ ```yml
493
435
  ---
494
436
  layout: name
495
437
  ---
438
+
496
439
  ```
497
440
 
441
+ Supported (optional) front matter for page layouts.
442
+
443
+ - [page navigation](#page-subnavigation)
444
+ - [hero](#hero)
445
+ - [tagline intro](#tagline-intro)
446
+ - [graphics list](#graphics-list)
447
+
498
448
  ### `layout: default`
499
449
 
500
- This is the bare-bones USWDS layout, which does all of the
501
- basic page scaffolding then drops the page content into the
502
- `<main>` element. All of the other layouts "inherit" this one and
503
- provide other features in the content block.
450
+ This is the bare-bones USWDS layout, which does all of the basic page scaffolding then drops the page content into the `<main>` element. All of the other layouts "inherit" this one and provide other features in the content block.
504
451
 
505
- The default layout provides a layout [front matter] hook to add
506
- attributes to the `<main>` element. You can see how this works in
507
- the [page layout](_layouts/page.html#L3-L4).
452
+ The default layout provides a layout [front matter] hook to add attributes to the `<main>` element. You can see how this works in the [page layout](_layouts/page.html#L3-L4).
508
453
 
509
454
  ### `layout: home`
510
455
 
511
456
  This layout implements the [home page
512
- template](https://designsystem.digital.gov/page-templates/landing/), which
513
- accommodates the following [front matter]:
514
-
515
- ```yml
516
- hero: # optional
517
- image: /path/to/image.jpg # optional
518
- callout:
519
- alt: Callout white text! # optional
520
- text: The rest of the callout
521
- button: # optional
522
- text: The button text
523
- href: /button-href/
524
-
525
- # optional, but must be used in conjunction with 'intro', below
526
- tagline: A tagline for your page
527
- # also optional, but must be used with 'tagline', above
528
- intro: |
529
- Some introductory text content.
457
+ template](https://designsystem.digital.gov/page-templates/landing/), which accommodates the following [front matter]:
530
458
 
531
- This will be processed as **Markdown**.
532
-
533
- # an optional list of graphics to display before or after the content
534
- graphics:
535
- - image:
536
- # note the indentation here: graphics[n].image.src
537
- src: /path/to/image.ext
538
- alt: optional alt text
539
- title: Optional graphic title, rendered as an <h3>
540
- description: Graphic description text, processed as _Markdown_.
541
-
542
- # optional
543
- graphics_position: (before|after)
544
- ```
545
-
546
- Check out the YAML front matter in the [home demo
547
- page](demo/home.html) for an example of how to structure it.
459
+ Check out the YAML front matter in the [home demo page](demo/home.html) for an example of how to structure it.
548
460
 
549
461
  ### `layout: page`
550
462
 
551
- This layout implements the [document page
552
- template](https://designsystem.digital.gov/page-templates/docs/), and
553
- accommodates an optional side navigation. Supported [front matter]:
463
+ This layout implements the [document page template](https://designsystem.digital.gov/page-templates/docs/).
554
464
 
555
- * `sidenav` is a key _into_ `_data/navigation.yml`. See the
556
- [navigation](#navigation) docs for more info.
557
-
558
- A page's "current" or "active" state in the sidenav is
559
- determined by whether a link's `href` matches `page.url` or
560
- `page.permalink` for each page being rendered.
561
-
562
- * `subnav` is a list of links to display on this page under its own
563
- link in the side navigation.
564
-
565
- **Note that subnav link hrefs are not prefixed with
566
- `site.baseurl`** because this breaks hash links prefixed with
567
- `#`.
568
-
569
- See the [page demo page](demo/page.md) for an example of how this
570
- works, and see [_data/navigation.yml](_data/navigation.yml) for how
571
- to structure named navigation data for your site.
465
+ See the [page demo page](demo/page.md) for an example of how this works, and see [\_data/navigation.yml](_data/navigation.yml) for how to structure named navigation data for your site.
572
466
 
573
467
  ### `layout: post`
574
468
 
575
- This layout is identical to the layout `page` and is included to allow for easier site creation using `Jekyll new`.
469
+ This layout is identical to the layout `page` and is included to allow for easier site creation using `Jekyll new`.
576
470
 
577
471
  ### `layout: project`
578
472
 
@@ -606,6 +500,142 @@ email: email@address.gov
606
500
 
607
501
  To show a listing of team members on a page add `{% include team-list.html %} to the page`
608
502
 
609
- [Sass]: http://sass-lang.com/guide
610
- [Jekyll Sass]: https://jekyllrb.com/docs/assets/#sassscss
503
+ [sass]: http://sass-lang.com/guide
504
+ [jekyll sass]: https://jekyllrb.com/docs/assets/#sassscss
611
505
  [front matter]: https://jekyllrb.com/docs/frontmatter/
506
+
507
+ ## Migration
508
+
509
+ ### From [guides_style_18f](https://github.com/18F/guides-style)
510
+
511
+ See [this example pull request](https://github.com/18F/before-you-ship/pull/458).
512
+
513
+ ### From earlier versions
514
+
515
+ **Note:** `uswds-jekyll` 5.x is only compatible with Jekyll 4.0 and higher.
516
+
517
+ 1. Update your `uswds-jekyll` gem in your project's Gemfile. Replace the current `gem 'uswds-jekyll'` line with:
518
+
519
+ ```ruby
520
+ gem 'uswds-jekyll', '~> 5.0'
521
+ ```
522
+
523
+ Then, in the terminal, run
524
+
525
+ ```sh
526
+ bundle update uswds-jekyll
527
+ ```
528
+
529
+ 1. If you have an existing `_sass` folder, it needs to move to the root level, and out of any directory like `/assets`.
530
+ 1. Add or move any custom styles or variables to `/_sass/_uswds-theme-custom-styles.scss`.
531
+
532
+ If you have multiple custom styles files, add them to the `/_sass` directory and `@import` them from `_uswds-theme-custom-styles.scss`.
533
+ 1. Convert manual values to tokenized values using the guidance on the [USWDS migration page](https://designsystem.digital.gov/documentation/migration/#spacing-units).
534
+ 1. Don't duplicate the `h1` in the body content of `page` template pages. (This is automatically inserted at the top with the content of `page.title`.)
535
+ 1. Check that certain data keys exist
536
+
537
+ ```
538
+ --> config.yml
539
+ styles:
540
+ [nothing unless adding additional stylesheets]
541
+
542
+ --> header.yml
543
+ type: [basic | basic-mega | extended | extended-mega]
544
+
545
+ --> footer.yml
546
+ type: [slim | default | big]
547
+
548
+ --> theme.yml (examples)
549
+ colors:
550
+ usa-banner:
551
+ usa-banner-bg: 'base-lightest'
552
+ usa-banner-text: 'ink'
553
+ usa-banner-link: 'primary-dark'
554
+ usa-banner-link-hover: 'primary-darker'
555
+ header:
556
+ header-bg: 'white'
557
+ header-title: 'ink'
558
+ header-link: 'base'
559
+ header-link-hover: 'primary-dark'
560
+ alt-section:
561
+ bg-color: 'primary-darker'
562
+ header-color: 'accent-cool'
563
+ text-color: 'white'
564
+ link-color: 'base-lightest'
565
+ link-hover-color: 'white'
566
+ hero:
567
+ hero-bg: 'primary-darker'
568
+ hero-header: 'accent-cool'
569
+ hero-header-alt: 'white'
570
+ hero-text: 'white'
571
+ hero-link: 'accent-cool'
572
+ hero-button-bg: 'primary'
573
+ hero-button-text: 'white'
574
+ top-navigation:
575
+ top-nav-bg: 'white'
576
+ top-nav-link: 'base-dark'
577
+ top-nav-link-hover: 'primary'
578
+ top-nav-link-hover-bg: 'white'
579
+ top-nav-link-current: 'base-dark'
580
+ top-nav-dropdown-bg: 'primary-dark'
581
+ top-nav-dropdown-link: 'white'
582
+ top-nav-dropdown-link-hover-bg: 'transparent'
583
+ side-navigation:
584
+ side-nav-bg: 'transparent'
585
+ side-nav-link: 'ink'
586
+ side-nav-link-hover: 'primary-dark'
587
+ side-nav-link-hover-bg: 'base-lightest'
588
+ side-nav-link-current: 'primary-dark'
589
+ footer:
590
+ primary-footer-bg: 'base-lightest'
591
+ primary-footer-link: 'ink'
592
+ footer-bg: 'base-lighter'
593
+ footer-text: 'ink'
594
+ footer-link: 'ink'
595
+ footer-social-link: 'black-transparent-10'
596
+
597
+ ```
598
+
599
+ 1. Check that css is referencing `uswds-theme.css`
600
+
601
+ ## Development
602
+
603
+ To develop this theme and/or test it locally:
604
+
605
+ 1. Clone this repo
606
+
607
+ 1. Check the version of USWDS in `package.json` — update to the newest version if necessary, and sync its new files to the theme.
608
+
609
+ > `rake update`
610
+
611
+ 1. Start Jekyll to preview the effects of your changes. This will build the Jekyll site, watch the Sass files, and recompile the Sass when there are changes.
612
+
613
+ > `npm start`
614
+
615
+ **or**
616
+
617
+ Create a new Jekyll project, follow the
618
+ [installation](#installation) instructions, then change your
619
+ `Gemfile` to point at the local clone of this repo:
620
+
621
+ ```ruby
622
+ gem 'uswds-jekyll', :path => '../path/to/uswds-jekyll'
623
+ ```
624
+
625
+ ### Publish to Rubygems
626
+
627
+ 1. Update `spec.version = "NUMBER HERE"` in the uswds-jekyll.gemspec file to the version you want to publish
628
+ 1. Run `bundle install`
629
+ 1. Add a PR for the update and get it merged
630
+ 1. Run `bundle exec rake release`
631
+ 1. Add a GitHub release to the releases page with the same version number
632
+ 1. You should see the latest version here https://rubygems.org/gems/uswds-jekyll
633
+
634
+ #### Scripts
635
+
636
+ - `start`: Starts the jekyll site
637
+ - `setup-uswds`: Copies assets from the USWDS package to their theme locations, but running the following scipts, which can also be run separately:
638
+ - `sync-assets`: Copies assets to `assets/uswds`
639
+ - `sync-sass`: Copies Sass cource files to `_sass/uswds/src/`
640
+ - `sync-default-settings`: Copies default settings files to `_sass/uswds/settings`
641
+ - `sync-theme-settings`: Copies only theme settings files to `_sass/settings`