uswds-jekyll 4.2.0 → 5.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +233 -211
- data/_includes/analytics.html +6 -9
- data/_includes/components/banner.html +35 -12
- data/_includes/components/footer--big.html +107 -79
- data/_includes/components/footer--default.html +104 -0
- data/_includes/components/footer--slim.html +52 -48
- data/_includes/components/github-edit.html +3 -0
- data/_includes/components/graphic-list.html +13 -11
- data/_includes/components/header.html +71 -60
- data/_includes/components/hero.html +6 -13
- data/_includes/components/search.html +31 -0
- data/_includes/footer.html +2 -2
- data/_includes/meta.html +1 -1
- data/_includes/scripts.html +7 -5
- data/_includes/sidenav.html +4 -4
- data/_includes/styles.html +1 -1
- data/_layouts/default.html +17 -9
- data/_layouts/home.html +6 -0
- data/_layouts/page.html +20 -13
- data/_layouts/project.html +0 -1
- data/_layouts/team-member.html +0 -1
- data/_sass/_uswds-theme-custom-styles.scss +0 -0
- data/_sass/_uswds-theme-override-settings.scss +2 -0
- data/_sass/_uswds-theme-packages.scss +1 -0
- data/_sass/_uswds-theme-settings.scss +0 -0
- data/_sass/uswds/components/_all.scss +8 -0
- data/_sass/{components → uswds/components}/_alt-color-section.scss +6 -7
- data/_sass/{components → uswds/components}/_card.scss +14 -17
- data/_sass/uswds/components/_footer.scss +16 -506
- data/_sass/uswds/components/_header.scss +29 -207
- data/_sass/uswds/components/_hero.scss +37 -29
- data/_sass/{components → uswds/components}/_nav-buttons.scss +4 -4
- data/_sass/uswds/components/_side-nav.scss +48 -0
- data/_sass/uswds/components/_site-width.scss +6 -0
- data/_sass/uswds/components/_top-nav.scss +84 -0
- data/_sass/uswds/components/_usa-banner.scss +30 -0
- data/_sass/uswds/custom/_uswds-theme-custom-styles.scss +47 -0
- data/_sass/uswds/settings/_uswds-conversion-variables.scss +0 -0
- data/_sass/uswds/src/base/_accessibility.scss +3 -0
- data/_sass/uswds/src/base/_body.scss +5 -0
- data/_sass/uswds/src/components/_accordions.scss +116 -0
- data/_sass/uswds/src/components/_alerts.scss +144 -0
- data/_sass/uswds/src/components/_banner.scss +226 -0
- data/_sass/uswds/src/components/_button-groups.scss +134 -0
- data/_sass/uswds/src/components/_card.scss +346 -0
- data/_sass/uswds/src/components/_checklist.scss +17 -0
- data/_sass/uswds/src/components/_footer.scss +349 -0
- data/_sass/uswds/src/components/_forms.scss +54 -0
- data/_sass/uswds/src/components/_graphic-list.scss +42 -0
- data/_sass/uswds/src/components/_header.scss +287 -0
- data/_sass/uswds/src/components/_hero.scss +32 -0
- data/_sass/uswds/src/components/_layout.scss +15 -0
- data/_sass/uswds/src/components/_media-block.scss +7 -0
- data/_sass/uswds/src/components/_megamenu.scss +42 -0
- data/_sass/uswds/src/components/_nav-container.scss +7 -0
- data/_sass/uswds/src/components/_navbar.scss +16 -0
- data/_sass/uswds/src/components/_navigation.scss +348 -0
- data/_sass/uswds/src/components/_search.scss +98 -0
- data/_sass/uswds/src/components/_section.scss +38 -0
- data/_sass/uswds/src/components/_sidenav.scss +19 -0
- data/_sass/uswds/{components → src/components}/_skipnav.scss +7 -6
- data/_sass/uswds/{core → src/core}/_defaults.scss +1 -1
- data/_sass/uswds/src/core/_deprecated.scss +33 -0
- data/_sass/uswds/src/core/_functions.scss +1323 -0
- data/_sass/uswds/src/core/_notifications.scss +86 -0
- data/_sass/uswds/src/core/_properties.scss +687 -0
- data/_sass/uswds/src/core/_system-tokens.scss +1673 -0
- data/_sass/uswds/src/core/_variables.scss +534 -0
- data/_sass/uswds/src/core/mixins/_add-aspect.scss +17 -0
- data/_sass/uswds/src/core/mixins/_add-background-svg.scss +9 -0
- data/_sass/uswds/src/core/mixins/_add-bar.scss +43 -0
- data/_sass/uswds/src/core/mixins/_add-checkbox-placeholder.scss +15 -0
- data/_sass/uswds/src/core/mixins/_add-kerning.scss +4 -0
- data/_sass/uswds/src/core/mixins/_add-knockout-font-smoothing.scss +9 -0
- data/_sass/uswds/src/core/mixins/_add-list-reset.scss +15 -0
- data/_sass/uswds/src/core/mixins/_add-responsive-site-margins.scss +6 -0
- data/_sass/uswds/src/core/mixins/_add-success-mark.scss +7 -0
- data/_sass/uswds/src/core/mixins/_all.scss +86 -0
- data/_sass/uswds/src/core/mixins/_at-media.scss +36 -0
- data/_sass/uswds/src/core/mixins/_border-box-sizing.scss +19 -0
- data/_sass/uswds/src/core/mixins/_button-disabled.scss +17 -0
- data/_sass/uswds/src/core/mixins/_button-unstyled.scss +20 -0
- data/_sass/uswds/src/core/mixins/_clearfix.scss +7 -0
- data/_sass/uswds/src/core/mixins/_embed-container.scss +3 -0
- data/_sass/uswds/src/core/mixins/_external-link.scss +21 -0
- data/_sass/uswds/src/core/mixins/_focus.scss +14 -0
- data/_sass/uswds/src/core/mixins/_font-face.scss +103 -0
- data/_sass/uswds/src/core/mixins/_icon.scss +64 -0
- data/_sass/uswds/src/core/mixins/_layout-grid.scss +128 -0
- data/_sass/uswds/src/core/mixins/_media-block-img.scss +4 -0
- data/_sass/uswds/{elements/_figure.scss → src/core/mixins/_media-link.scss} +0 -8
- data/_sass/uswds/src/core/mixins/_nav-list.scss +95 -0
- data/_sass/uswds/src/core/mixins/_override-prose.scss +6 -0
- data/_sass/uswds/src/core/mixins/_screen-reader.scss +23 -0
- data/_sass/uswds/src/core/mixins/_typography.scss +161 -0
- data/_sass/uswds/src/core/mixins/_unstyled-list.scss +11 -0
- data/_sass/uswds/src/core/mixins/_usa-list-styles.scss +10 -0
- data/_sass/uswds/src/core/mixins/_usa-table-styles.scss +8 -0
- data/_sass/uswds/src/core/mixins/_usa-typography.scss +54 -0
- data/_sass/uswds/src/core/mixins/_utility-builder.scss +369 -0
- data/_sass/uswds/src/core/mixins/layout-grid/_grid-container.scss +14 -0
- data/_sass/uswds/src/core/mixins/layout-grid/_grid-row.scss +7 -0
- data/_sass/uswds/src/core/mixins/utilities/_align-items.scss +11 -0
- data/_sass/uswds/src/core/mixins/utilities/_background-color.scss +9 -0
- data/_sass/uswds/src/core/mixins/utilities/_border-color.scss +11 -0
- data/_sass/uswds/src/core/mixins/utilities/_border-radius.scss +55 -0
- data/_sass/uswds/src/core/mixins/utilities/_border-width.scss +32 -0
- data/_sass/uswds/src/core/mixins/utilities/_border.scss +142 -0
- data/_sass/uswds/src/core/mixins/utilities/_bottom.scss +10 -0
- data/_sass/uswds/src/core/mixins/utilities/_circle.scss +9 -0
- data/_sass/uswds/src/core/mixins/utilities/_color.scss +10 -0
- data/_sass/uswds/src/core/mixins/utilities/_cursor.scss +10 -0
- data/_sass/uswds/src/core/mixins/utilities/_display.scss +11 -0
- data/_sass/uswds/src/core/mixins/utilities/_flex-direction.scss +10 -0
- data/_sass/uswds/src/core/mixins/utilities/_flex.scss +50 -0
- data/_sass/uswds/src/core/mixins/utilities/_float.scss +10 -0
- data/_sass/uswds/src/core/mixins/utilities/_font-weight.scss +10 -0
- data/_sass/uswds/src/core/mixins/utilities/_font.scss +42 -0
- data/_sass/uswds/src/core/mixins/utilities/_height.scss +11 -0
- data/_sass/uswds/src/core/mixins/utilities/_justify-content.scss +10 -0
- data/_sass/uswds/src/core/mixins/utilities/_left.scss +10 -0
- data/_sass/uswds/src/core/mixins/utilities/_line-height.scss +13 -0
- data/_sass/uswds/src/core/mixins/utilities/_margin.scss +85 -0
- data/_sass/uswds/src/core/mixins/utilities/_max-height.scss +10 -0
- data/_sass/uswds/src/core/mixins/utilities/_max-width.scss +10 -0
- data/_sass/uswds/src/core/mixins/utilities/_measure.scss +10 -0
- data/_sass/uswds/src/core/mixins/utilities/_min-height.scss +10 -0
- data/_sass/uswds/src/core/mixins/utilities/_min-width.scss +10 -0
- data/_sass/uswds/src/core/mixins/utilities/_order.scss +10 -0
- data/_sass/uswds/src/core/mixins/utilities/_outline-color.scss +10 -0
- data/_sass/uswds/src/core/mixins/utilities/_outline.scss +35 -0
- data/_sass/uswds/src/core/mixins/utilities/_overflow.scss +28 -0
- data/_sass/uswds/src/core/mixins/utilities/_padding.scss +49 -0
- data/_sass/uswds/src/core/mixins/utilities/_pin.scss +82 -0
- data/_sass/uswds/src/core/mixins/utilities/_position.scss +10 -0
- data/_sass/uswds/src/core/mixins/utilities/_right.scss +10 -0
- data/_sass/uswds/src/core/mixins/utilities/_shadow.scss +10 -0
- data/_sass/uswds/src/core/mixins/utilities/_square.scss +7 -0
- data/_sass/uswds/src/core/mixins/utilities/_text-align.scss +10 -0
- data/_sass/uswds/src/core/mixins/utilities/_text-decoration-color.scss +10 -0
- data/_sass/uswds/src/core/mixins/utilities/_text-decoration.scss +17 -0
- data/_sass/uswds/src/core/mixins/utilities/_text-indent.scss +10 -0
- data/_sass/uswds/src/core/mixins/utilities/_text.scss +72 -0
- data/_sass/uswds/src/core/mixins/utilities/_top.scss +10 -0
- data/_sass/uswds/src/core/mixins/utilities/_vertical-align.scss +10 -0
- data/_sass/uswds/src/core/mixins/utilities/_white-space.scss +10 -0
- data/_sass/uswds/src/core/mixins/utilities/_width.scss +11 -0
- data/_sass/uswds/src/core/mixins/utilities/_z-index.scss +10 -0
- data/_sass/uswds/src/core/placeholders/_all.scss +2 -0
- data/_sass/uswds/src/core/placeholders/_list.scss +18 -0
- data/_sass/uswds/src/core/placeholders/_table.scss +58 -0
- data/_sass/uswds/src/core/system-tokens/_blue-cool.scss +26 -0
- data/_sass/uswds/src/core/system-tokens/_blue-warm.scss +26 -0
- data/_sass/uswds/src/core/system-tokens/_blue.scss +26 -0
- data/_sass/uswds/src/core/system-tokens/_cyan.scss +26 -0
- data/_sass/uswds/src/core/system-tokens/_gold.scss +26 -0
- data/_sass/uswds/src/core/system-tokens/_gray-cool.scss +18 -0
- data/_sass/uswds/src/core/system-tokens/_gray-warm.scss +18 -0
- data/_sass/uswds/src/core/system-tokens/_gray.scss +19 -0
- data/_sass/uswds/src/core/system-tokens/_green-cool.scss +26 -0
- data/_sass/uswds/src/core/system-tokens/_green-warm.scss +26 -0
- data/_sass/uswds/src/core/system-tokens/_green.scss +26 -0
- data/_sass/uswds/src/core/system-tokens/_indigo-cool.scss +26 -0
- data/_sass/uswds/src/core/system-tokens/_indigo-warm.scss +26 -0
- data/_sass/uswds/src/core/system-tokens/_indigo.scss +26 -0
- data/_sass/uswds/src/core/system-tokens/_magenta.scss +26 -0
- data/_sass/uswds/src/core/system-tokens/_mint-cool.scss +26 -0
- data/_sass/uswds/src/core/system-tokens/_mint.scss +26 -0
- data/_sass/uswds/src/core/system-tokens/_orange-warm.scss +26 -0
- data/_sass/uswds/src/core/system-tokens/_orange.scss +26 -0
- data/_sass/uswds/src/core/system-tokens/_red-cool.scss +26 -0
- data/_sass/uswds/src/core/system-tokens/_red-warm.scss +26 -0
- data/_sass/uswds/src/core/system-tokens/_red.scss +26 -0
- data/_sass/uswds/src/core/system-tokens/_violet-warm.scss +26 -0
- data/_sass/uswds/src/core/system-tokens/_violet.scss +26 -0
- data/_sass/uswds/src/core/system-tokens/_yellow.scss +26 -0
- data/_sass/uswds/src/elements/_buttons.scss +217 -0
- data/_sass/uswds/{elements → src/elements}/_embed.scss +0 -4
- data/_sass/uswds/src/elements/_figure.scss +7 -0
- data/_sass/uswds/src/elements/_layout-grid.scss +159 -0
- data/_sass/uswds/src/elements/_table.scss +7 -0
- data/_sass/uswds/src/elements/_tags.scss +18 -0
- data/_sass/uswds/src/elements/form-controls/_all.scss +9 -0
- data/_sass/uswds/src/elements/form-controls/_character-count.scss +9 -0
- data/_sass/uswds/src/elements/form-controls/_checkbox-and-radio.scss +115 -0
- data/_sass/uswds/src/elements/form-controls/_combo-box.scss +55 -0
- data/_sass/uswds/src/elements/form-controls/_date-input.scss +31 -0
- data/_sass/uswds/src/elements/form-controls/_dropdown.scss +25 -0
- data/_sass/uswds/src/elements/form-controls/_file-input.scss +4 -0
- data/_sass/uswds/src/elements/form-controls/_global.scss +84 -0
- data/_sass/uswds/src/elements/form-controls/_range-input.scss +89 -0
- data/_sass/uswds/src/elements/form-controls/_text-input.scss +13 -0
- data/_sass/uswds/src/elements/typography/_content.scss +62 -0
- data/_sass/uswds/src/elements/typography/_links.scss +15 -0
- data/_sass/uswds/src/elements/typography/_list.scss +14 -0
- data/_sass/uswds/src/elements/typography/_prose.scss +6 -0
- data/_sass/uswds/src/global/_focus.scss +24 -0
- data/_sass/uswds/src/global/_font-face.scss +11 -0
- data/_sass/uswds/src/global/_sizing.scss +14 -0
- data/_sass/uswds/src/global/_typography.scss +32 -0
- data/_sass/uswds/src/lib/_normalize.scss +349 -0
- data/_sass/uswds/src/packages/_form-controls.scss +4 -0
- data/_sass/uswds/src/packages/_form-templates.scss +8 -0
- data/_sass/uswds/src/packages/_global.scss +7 -0
- data/_sass/uswds/src/packages/_layout-grid.scss +4 -0
- data/_sass/uswds/src/packages/_required.scss +21 -0
- data/_sass/uswds/src/packages/_typography.scss +7 -0
- data/_sass/uswds/src/packages/_usa-accordion.scss +4 -0
- data/_sass/uswds/src/packages/_usa-alert.scss +4 -0
- data/_sass/uswds/src/packages/_usa-banner.scss +7 -0
- data/_sass/uswds/src/packages/_usa-button-group.scss +2 -0
- data/_sass/uswds/src/packages/_usa-button.scss +4 -0
- data/_sass/uswds/src/packages/_usa-card.scss +4 -0
- data/_sass/uswds/src/packages/_usa-checklist.scss +4 -0
- data/_sass/uswds/src/packages/_usa-footer.scss +10 -0
- data/_sass/uswds/src/packages/_usa-header.scss +13 -0
- data/_sass/uswds/src/packages/_usa-hero.scss +6 -0
- data/_sass/uswds/src/packages/_usa-media-block.scss +5 -0
- data/_sass/uswds/src/packages/_usa-megamenu.scss +4 -0
- data/_sass/uswds/src/packages/_usa-nav-container.scss +4 -0
- data/_sass/uswds/src/packages/_usa-nav.scss +5 -0
- data/_sass/uswds/src/packages/_usa-navbar.scss +4 -0
- data/_sass/uswds/src/packages/_usa-search.scss +8 -0
- data/_sass/uswds/src/packages/_usa-sidenav.scss +4 -0
- data/_sass/uswds/src/packages/_usa-skipnav.scss +4 -0
- data/_sass/uswds/src/packages/_usa-table.scss +4 -0
- data/_sass/uswds/src/packages/_usa-tag.scss +4 -0
- data/_sass/uswds/src/packages/_uswds-components.scss +44 -0
- data/_sass/uswds/src/packages/_uswds-fonts.scss +2 -0
- data/_sass/uswds/src/packages/_uswds-utilities.scss +6 -0
- data/_sass/uswds/src/packages/_validation.scss +8 -0
- data/_sass/uswds/src/settings/_settings-color.scss +133 -0
- data/_sass/uswds/src/settings/_settings-components.scss +85 -0
- data/_sass/uswds/src/settings/_settings-general.scss +101 -0
- data/_sass/uswds/src/settings/_settings-spacing.scss +93 -0
- data/_sass/uswds/src/settings/_settings-typography.scss +422 -0
- data/_sass/uswds/src/settings/_settings-utilities.scss +853 -0
- data/_sass/uswds/src/theme/_uswds-theme-color.scss +133 -0
- data/_sass/uswds/src/theme/_uswds-theme-components.scss +85 -0
- data/_sass/uswds/src/theme/_uswds-theme-custom-styles.scss +21 -0
- data/_sass/uswds/src/theme/_uswds-theme-general.scss +101 -0
- data/_sass/uswds/src/theme/_uswds-theme-spacing.scss +93 -0
- data/_sass/uswds/src/theme/_uswds-theme-typography.scss +422 -0
- data/_sass/uswds/src/theme/_uswds-theme-utilities.scss +854 -0
- data/_sass/uswds/src/theme/styles.scss +72 -0
- data/_sass/uswds/src/uswds.scss +17 -0
- data/_sass/uswds/src/utilities/palettes/_all.scss +41 -0
- data/_sass/uswds/src/utilities/palettes/_default-palettes.scss +72 -0
- data/_sass/uswds/src/utilities/palettes/_font-palettes.scss +2762 -0
- data/_sass/uswds/src/utilities/palettes/_palette-registry.scss +46 -0
- data/_sass/uswds/src/utilities/palettes/_spacing-palettes.scss +135 -0
- data/_sass/uswds/src/utilities/palettes/colors/_all-colors-palettes.scss +56 -0
- data/_sass/uswds/src/utilities/palettes/colors/_black-transparent-palettes.scss +16 -0
- data/_sass/uswds/src/utilities/palettes/colors/_blue-cool-palettes.scss +69 -0
- data/_sass/uswds/src/utilities/palettes/colors/_blue-palettes.scss +66 -0
- data/_sass/uswds/src/utilities/palettes/colors/_blue-warm-palettes.scss +69 -0
- data/_sass/uswds/src/utilities/palettes/colors/_cyan-palettes.scss +66 -0
- data/_sass/uswds/src/utilities/palettes/colors/_gold-palettes.scss +66 -0
- data/_sass/uswds/src/utilities/palettes/colors/_gray-cool-palettes.scss +40 -0
- data/_sass/uswds/src/utilities/palettes/colors/_gray-palettes.scss +40 -0
- data/_sass/uswds/src/utilities/palettes/colors/_gray-warm-palettes.scss +40 -0
- data/_sass/uswds/src/utilities/palettes/colors/_green-cool-palettes.scss +69 -0
- data/_sass/uswds/src/utilities/palettes/colors/_green-palettes.scss +66 -0
- data/_sass/uswds/src/utilities/palettes/colors/_green-warm-palettes.scss +69 -0
- data/_sass/uswds/src/utilities/palettes/colors/_indigo-cool-palettes.scss +70 -0
- data/_sass/uswds/src/utilities/palettes/colors/_indigo-palettes.scss +66 -0
- data/_sass/uswds/src/utilities/palettes/colors/_indigo-warm-palettes.scss +70 -0
- data/_sass/uswds/src/utilities/palettes/colors/_magenta-palettes.scss +67 -0
- data/_sass/uswds/src/utilities/palettes/colors/_mint-cool-palettes.scss +69 -0
- data/_sass/uswds/src/utilities/palettes/colors/_mint-palettes.scss +66 -0
- data/_sass/uswds/src/utilities/palettes/colors/_orange-palettes.scss +66 -0
- data/_sass/uswds/src/utilities/palettes/colors/_orange-warm-palettes.scss +70 -0
- data/_sass/uswds/src/utilities/palettes/colors/_red-cool-palettes.scss +68 -0
- data/_sass/uswds/src/utilities/palettes/colors/_red-palettes.scss +66 -0
- data/_sass/uswds/src/utilities/palettes/colors/_red-warm-palettes.scss +68 -0
- data/_sass/uswds/src/utilities/palettes/colors/_violet-palettes.scss +66 -0
- data/_sass/uswds/src/utilities/palettes/colors/_violet-warm-palettes.scss +70 -0
- data/_sass/uswds/src/utilities/palettes/colors/_white-transparent-palettes.scss +16 -0
- data/_sass/uswds/src/utilities/palettes/colors/_yellow-palettes.scss +66 -0
- data/_sass/uswds/src/utilities/rules/_all.scss +56 -0
- data/_sass/uswds/src/utilities/rules/_package.scss +61 -0
- data/_sass/uswds/src/utilities/rules/add-aspect.scss +84 -0
- data/_sass/uswds/src/utilities/rules/add-list-reset.scss +39 -0
- data/_sass/uswds/src/utilities/rules/align-items.scss +30 -0
- data/_sass/uswds/src/utilities/rules/background-color.scss +32 -0
- data/_sass/uswds/src/utilities/rules/border-color.scss +32 -0
- data/_sass/uswds/src/utilities/rules/border-radius.scss +51 -0
- data/_sass/uswds/src/utilities/rules/border-style.scss +30 -0
- data/_sass/uswds/src/utilities/rules/border-width.scss +44 -0
- data/_sass/uswds/src/utilities/rules/border.scss +47 -0
- data/_sass/uswds/src/utilities/rules/bottom.scss +28 -0
- data/_sass/uswds/src/utilities/rules/box-shadow.scss +27 -0
- data/_sass/uswds/src/utilities/rules/circle.scss +35 -0
- data/_sass/uswds/src/utilities/rules/clearfix.scss +35 -0
- data/_sass/uswds/src/utilities/rules/color.scss +32 -0
- data/_sass/uswds/src/utilities/rules/cursor.scss +26 -0
- data/_sass/uswds/src/utilities/rules/display.scss +26 -0
- data/_sass/uswds/src/utilities/rules/flex-direction.scss +30 -0
- data/_sass/uswds/src/utilities/rules/flex-wrap.scss +27 -0
- data/_sass/uswds/src/utilities/rules/flex.scss +32 -0
- data/_sass/uswds/src/utilities/rules/float.scss +26 -0
- data/_sass/uswds/src/utilities/rules/font-family.scss +38 -0
- data/_sass/uswds/src/utilities/rules/font-feature.scss +31 -0
- data/_sass/uswds/src/utilities/rules/font-style.scss +29 -0
- data/_sass/uswds/src/utilities/rules/font-weight.scss +30 -0
- data/_sass/uswds/src/utilities/rules/font.scss +38 -0
- data/_sass/uswds/src/utilities/rules/height.scss +26 -0
- data/_sass/uswds/src/utilities/rules/justify-content.scss +32 -0
- data/_sass/uswds/src/utilities/rules/left.scss +28 -0
- data/_sass/uswds/src/utilities/rules/letter-spacing.scss +30 -0
- data/_sass/uswds/src/utilities/rules/line-height.scss +30 -0
- data/_sass/uswds/src/utilities/rules/margin.scss +70 -0
- data/_sass/uswds/src/utilities/rules/max-height.scss +27 -0
- data/_sass/uswds/src/utilities/rules/max-width.scss +27 -0
- data/_sass/uswds/src/utilities/rules/measure.scss +28 -0
- data/_sass/uswds/src/utilities/rules/min-height.scss +27 -0
- data/_sass/uswds/src/utilities/rules/min-width.scss +27 -0
- data/_sass/uswds/src/utilities/rules/opacity.scss +28 -0
- data/_sass/uswds/src/utilities/rules/order.scss +29 -0
- data/_sass/uswds/src/utilities/rules/outline-color.scss +33 -0
- data/_sass/uswds/src/utilities/rules/outline.scss +30 -0
- data/_sass/uswds/src/utilities/rules/overflow.scss +31 -0
- data/_sass/uswds/src/utilities/rules/padding.scss +43 -0
- data/_sass/uswds/src/utilities/rules/pin.scss +101 -0
- data/_sass/uswds/src/utilities/rules/position.scss +27 -0
- data/_sass/uswds/src/utilities/rules/right.scss +28 -0
- data/_sass/uswds/src/utilities/rules/square.scss +33 -0
- data/_sass/uswds/src/utilities/rules/text-align.scss +27 -0
- data/_sass/uswds/src/utilities/rules/text-decoration-color.scss +31 -0
- data/_sass/uswds/src/utilities/rules/text-decoration.scss +30 -0
- data/_sass/uswds/src/utilities/rules/text-indent.scss +30 -0
- data/_sass/uswds/src/utilities/rules/text-transform.scss +30 -0
- data/_sass/uswds/src/utilities/rules/top.scss +28 -0
- data/_sass/uswds/src/utilities/rules/vertical-align.scss +30 -0
- data/_sass/uswds/src/utilities/rules/whitespace.scss +27 -0
- data/_sass/uswds/src/utilities/rules/width.scss +26 -0
- data/_sass/uswds/src/utilities/rules/z-index.scss +28 -0
- data/_sass/uswds/src/utilities/utility-fonts.scss +20 -0
- data/assets/css/uswds-theme.scss +187 -0
- data/assets/uswds/fonts/merriweather/Latin-Merriweather-Black.ttf +0 -0
- data/assets/uswds/fonts/merriweather/Latin-Merriweather-Black.woff +0 -0
- data/assets/uswds/fonts/merriweather/Latin-Merriweather-Black.woff2 +0 -0
- data/assets/uswds/fonts/merriweather/Latin-Merriweather-BlackItalic.ttf +0 -0
- data/assets/uswds/fonts/merriweather/Latin-Merriweather-BlackItalic.woff +0 -0
- data/assets/uswds/fonts/merriweather/Latin-Merriweather-BlackItalic.woff2 +0 -0
- data/assets/uswds/fonts/merriweather/Latin-Merriweather-Bold.ttf +0 -0
- data/assets/uswds/fonts/merriweather/Latin-Merriweather-Bold.woff +0 -0
- data/assets/uswds/fonts/merriweather/Latin-Merriweather-Bold.woff2 +0 -0
- data/assets/uswds/fonts/merriweather/Latin-Merriweather-BoldItalic.ttf +0 -0
- data/assets/uswds/fonts/merriweather/Latin-Merriweather-BoldItalic.woff +0 -0
- data/assets/uswds/fonts/merriweather/Latin-Merriweather-BoldItalic.woff2 +0 -0
- data/assets/uswds/fonts/merriweather/Latin-Merriweather-Italic.ttf +0 -0
- data/assets/uswds/fonts/merriweather/Latin-Merriweather-Italic.woff +0 -0
- data/assets/uswds/fonts/merriweather/Latin-Merriweather-Italic.woff2 +0 -0
- data/assets/uswds/fonts/merriweather/Latin-Merriweather-Light.ttf +0 -0
- data/assets/uswds/fonts/merriweather/Latin-Merriweather-Light.woff +0 -0
- data/assets/uswds/fonts/merriweather/Latin-Merriweather-Light.woff2 +0 -0
- data/assets/uswds/fonts/merriweather/Latin-Merriweather-LightItalic.ttf +0 -0
- data/assets/uswds/fonts/merriweather/Latin-Merriweather-LightItalic.woff +0 -0
- data/assets/uswds/fonts/merriweather/Latin-Merriweather-LightItalic.woff2 +0 -0
- data/assets/uswds/fonts/merriweather/Latin-Merriweather-Regular.ttf +0 -0
- data/assets/uswds/fonts/merriweather/Latin-Merriweather-Regular.woff +0 -0
- data/assets/uswds/fonts/merriweather/Latin-Merriweather-Regular.woff2 +0 -0
- data/assets/uswds/fonts/public-sans/PublicSans-Black.ttf +0 -0
- data/assets/uswds/fonts/public-sans/PublicSans-Black.woff +0 -0
- data/assets/uswds/fonts/public-sans/PublicSans-Black.woff2 +0 -0
- data/assets/uswds/fonts/public-sans/PublicSans-BlackItalic.ttf +0 -0
- data/assets/uswds/fonts/public-sans/PublicSans-BlackItalic.woff +0 -0
- data/assets/uswds/fonts/public-sans/PublicSans-BlackItalic.woff2 +0 -0
- data/assets/uswds/fonts/public-sans/PublicSans-Bold.ttf +0 -0
- data/assets/uswds/fonts/public-sans/PublicSans-Bold.woff +0 -0
- data/assets/uswds/fonts/public-sans/PublicSans-Bold.woff2 +0 -0
- data/assets/uswds/fonts/public-sans/PublicSans-BoldItalic.ttf +0 -0
- data/assets/uswds/fonts/public-sans/PublicSans-BoldItalic.woff +0 -0
- data/assets/uswds/fonts/public-sans/PublicSans-BoldItalic.woff2 +0 -0
- data/assets/uswds/fonts/public-sans/PublicSans-ExtraBold.ttf +0 -0
- data/assets/uswds/fonts/public-sans/PublicSans-ExtraBold.woff +0 -0
- data/assets/uswds/fonts/public-sans/PublicSans-ExtraBold.woff2 +0 -0
- data/assets/uswds/fonts/public-sans/PublicSans-ExtraBoldItalic.ttf +0 -0
- data/assets/uswds/fonts/public-sans/PublicSans-ExtraBoldItalic.woff +0 -0
- data/assets/uswds/fonts/public-sans/PublicSans-ExtraBoldItalic.woff2 +0 -0
- data/assets/uswds/fonts/public-sans/PublicSans-ExtraLight.ttf +0 -0
- data/assets/uswds/fonts/public-sans/PublicSans-ExtraLight.woff +0 -0
- data/assets/uswds/fonts/public-sans/PublicSans-ExtraLight.woff2 +0 -0
- data/assets/uswds/fonts/public-sans/PublicSans-ExtraLightItalic.ttf +0 -0
- data/assets/uswds/fonts/public-sans/PublicSans-ExtraLightItalic.woff +0 -0
- data/assets/uswds/fonts/public-sans/PublicSans-ExtraLightItalic.woff2 +0 -0
- data/assets/uswds/fonts/public-sans/PublicSans-Italic.ttf +0 -0
- data/assets/uswds/fonts/public-sans/PublicSans-Italic.woff +0 -0
- data/assets/uswds/fonts/public-sans/PublicSans-Italic.woff2 +0 -0
- data/assets/uswds/fonts/public-sans/PublicSans-Light.ttf +0 -0
- data/assets/uswds/fonts/public-sans/PublicSans-Light.woff +0 -0
- data/assets/uswds/fonts/public-sans/PublicSans-Light.woff2 +0 -0
- data/assets/uswds/fonts/public-sans/PublicSans-LightItalic.ttf +0 -0
- data/assets/uswds/fonts/public-sans/PublicSans-LightItalic.woff +0 -0
- data/assets/uswds/fonts/public-sans/PublicSans-LightItalic.woff2 +0 -0
- data/assets/uswds/fonts/public-sans/PublicSans-Medium.ttf +0 -0
- data/assets/uswds/fonts/public-sans/PublicSans-Medium.woff +0 -0
- data/assets/uswds/fonts/public-sans/PublicSans-Medium.woff2 +0 -0
- data/assets/uswds/fonts/public-sans/PublicSans-MediumItalic.ttf +0 -0
- data/assets/uswds/fonts/public-sans/PublicSans-MediumItalic.woff +0 -0
- data/assets/uswds/fonts/public-sans/PublicSans-MediumItalic.woff2 +0 -0
- data/assets/uswds/fonts/public-sans/PublicSans-Regular.ttf +0 -0
- data/assets/uswds/fonts/public-sans/PublicSans-Regular.woff +0 -0
- data/assets/uswds/fonts/public-sans/PublicSans-Regular.woff2 +0 -0
- data/assets/uswds/fonts/public-sans/PublicSans-SemiBold.ttf +0 -0
- data/assets/uswds/fonts/public-sans/PublicSans-SemiBold.woff +0 -0
- data/assets/uswds/fonts/public-sans/PublicSans-SemiBold.woff2 +0 -0
- data/assets/uswds/fonts/public-sans/PublicSans-SemiBoldItalic.ttf +0 -0
- data/assets/uswds/fonts/public-sans/PublicSans-SemiBoldItalic.woff +0 -0
- data/assets/uswds/fonts/public-sans/PublicSans-SemiBoldItalic.woff2 +0 -0
- data/assets/uswds/fonts/public-sans/PublicSans-Thin.ttf +0 -0
- data/assets/uswds/fonts/public-sans/PublicSans-Thin.woff +0 -0
- data/assets/uswds/fonts/public-sans/PublicSans-Thin.woff2 +0 -0
- data/assets/uswds/fonts/public-sans/PublicSans-ThinItalic.ttf +0 -0
- data/assets/uswds/fonts/public-sans/PublicSans-ThinItalic.woff +0 -0
- data/assets/uswds/fonts/public-sans/PublicSans-ThinItalic.woff2 +0 -0
- data/assets/uswds/fonts/roboto-mono/roboto-mono-v5-latin-100.ttf +0 -0
- data/assets/uswds/fonts/roboto-mono/roboto-mono-v5-latin-100.woff +0 -0
- data/assets/uswds/fonts/roboto-mono/roboto-mono-v5-latin-100.woff2 +0 -0
- data/assets/uswds/fonts/roboto-mono/roboto-mono-v5-latin-100italic.ttf +0 -0
- data/assets/uswds/fonts/roboto-mono/roboto-mono-v5-latin-100italic.woff +0 -0
- data/assets/uswds/fonts/roboto-mono/roboto-mono-v5-latin-100italic.woff2 +0 -0
- data/assets/uswds/fonts/roboto-mono/roboto-mono-v5-latin-300.ttf +0 -0
- data/assets/uswds/fonts/roboto-mono/roboto-mono-v5-latin-300.woff +0 -0
- data/assets/uswds/fonts/roboto-mono/roboto-mono-v5-latin-300.woff2 +0 -0
- data/assets/uswds/fonts/roboto-mono/roboto-mono-v5-latin-300italic.ttf +0 -0
- data/assets/uswds/fonts/roboto-mono/roboto-mono-v5-latin-300italic.woff +0 -0
- data/assets/uswds/fonts/roboto-mono/roboto-mono-v5-latin-300italic.woff2 +0 -0
- data/assets/uswds/fonts/roboto-mono/roboto-mono-v5-latin-500.ttf +0 -0
- data/assets/uswds/fonts/roboto-mono/roboto-mono-v5-latin-500.woff +0 -0
- data/assets/uswds/fonts/roboto-mono/roboto-mono-v5-latin-500.woff2 +0 -0
- data/assets/uswds/fonts/roboto-mono/roboto-mono-v5-latin-500italic.ttf +0 -0
- data/assets/uswds/fonts/roboto-mono/roboto-mono-v5-latin-500italic.woff +0 -0
- data/assets/uswds/fonts/roboto-mono/roboto-mono-v5-latin-500italic.woff2 +0 -0
- data/assets/uswds/fonts/roboto-mono/roboto-mono-v5-latin-700.ttf +0 -0
- data/assets/uswds/fonts/roboto-mono/roboto-mono-v5-latin-700.woff +0 -0
- data/assets/uswds/fonts/roboto-mono/roboto-mono-v5-latin-700.woff2 +0 -0
- data/assets/uswds/fonts/roboto-mono/roboto-mono-v5-latin-700italic.ttf +0 -0
- data/assets/uswds/fonts/roboto-mono/roboto-mono-v5-latin-700italic.woff +0 -0
- data/assets/uswds/fonts/roboto-mono/roboto-mono-v5-latin-700italic.woff2 +0 -0
- data/assets/uswds/fonts/roboto-mono/roboto-mono-v5-latin-italic.ttf +0 -0
- data/assets/uswds/fonts/roboto-mono/roboto-mono-v5-latin-italic.woff +0 -0
- data/assets/uswds/fonts/roboto-mono/roboto-mono-v5-latin-italic.woff2 +0 -0
- data/assets/uswds/fonts/roboto-mono/roboto-mono-v5-latin-regular.ttf +0 -0
- data/assets/uswds/fonts/roboto-mono/roboto-mono-v5-latin-regular.woff +0 -0
- data/assets/uswds/fonts/roboto-mono/roboto-mono-v5-latin-regular.woff2 +0 -0
- data/assets/uswds/fonts/source-sans-pro/sourcesanspro-black-webfont.ttf +0 -0
- data/assets/uswds/fonts/source-sans-pro/sourcesanspro-black-webfont.woff +0 -0
- data/assets/uswds/fonts/source-sans-pro/sourcesanspro-black-webfont.woff2 +0 -0
- data/assets/uswds/fonts/source-sans-pro/sourcesanspro-blackitalic-webfont.ttf +0 -0
- data/assets/uswds/fonts/source-sans-pro/sourcesanspro-blackitalic-webfont.woff +0 -0
- data/assets/uswds/fonts/source-sans-pro/sourcesanspro-blackitalic-webfont.woff2 +0 -0
- data/assets/uswds/fonts/source-sans-pro/sourcesanspro-bold-webfont.ttf +0 -0
- data/assets/uswds/fonts/source-sans-pro/sourcesanspro-bold-webfont.woff +0 -0
- data/assets/uswds/fonts/source-sans-pro/sourcesanspro-bold-webfont.woff2 +0 -0
- data/assets/uswds/fonts/source-sans-pro/sourcesanspro-bolditalic-webfont.ttf +0 -0
- data/assets/uswds/fonts/source-sans-pro/sourcesanspro-bolditalic-webfont.woff +0 -0
- data/assets/uswds/fonts/source-sans-pro/sourcesanspro-bolditalic-webfont.woff2 +0 -0
- data/assets/uswds/fonts/source-sans-pro/sourcesanspro-extralight-webfont.ttf +0 -0
- data/assets/uswds/fonts/source-sans-pro/sourcesanspro-extralight-webfont.woff +0 -0
- data/assets/uswds/fonts/source-sans-pro/sourcesanspro-extralight-webfont.woff2 +0 -0
- data/assets/uswds/fonts/source-sans-pro/sourcesanspro-extralightitalic-webfont.ttf +0 -0
- data/assets/uswds/fonts/source-sans-pro/sourcesanspro-extralightitalic-webfont.woff +0 -0
- data/assets/uswds/fonts/source-sans-pro/sourcesanspro-extralightitalic-webfont.woff2 +0 -0
- data/assets/uswds/fonts/source-sans-pro/sourcesanspro-italic-webfont.ttf +0 -0
- data/assets/uswds/fonts/source-sans-pro/sourcesanspro-italic-webfont.woff +0 -0
- data/assets/uswds/fonts/source-sans-pro/sourcesanspro-italic-webfont.woff2 +0 -0
- data/assets/uswds/fonts/source-sans-pro/sourcesanspro-light-webfont.ttf +0 -0
- data/assets/uswds/fonts/source-sans-pro/sourcesanspro-light-webfont.woff +0 -0
- data/assets/uswds/fonts/source-sans-pro/sourcesanspro-light-webfont.woff2 +0 -0
- data/assets/uswds/fonts/source-sans-pro/sourcesanspro-lightitalic-webfont.ttf +0 -0
- data/assets/uswds/fonts/source-sans-pro/sourcesanspro-lightitalic-webfont.woff +0 -0
- data/assets/uswds/fonts/source-sans-pro/sourcesanspro-lightitalic-webfont.woff2 +0 -0
- data/assets/uswds/fonts/source-sans-pro/sourcesanspro-regular-webfont.ttf +0 -0
- data/assets/uswds/fonts/source-sans-pro/sourcesanspro-regular-webfont.woff +0 -0
- data/assets/uswds/fonts/source-sans-pro/sourcesanspro-regular-webfont.woff2 +0 -0
- data/assets/uswds/fonts/source-sans-pro/sourcesanspro-semibold-webfont.ttf +0 -0
- data/assets/uswds/fonts/source-sans-pro/sourcesanspro-semibold-webfont.woff +0 -0
- data/assets/uswds/fonts/source-sans-pro/sourcesanspro-semibold-webfont.woff2 +0 -0
- data/assets/uswds/fonts/source-sans-pro/sourcesanspro-semibolditalic-webfont.ttf +0 -0
- data/assets/uswds/fonts/source-sans-pro/sourcesanspro-semibolditalic-webfont.woff +0 -0
- data/assets/uswds/fonts/source-sans-pro/sourcesanspro-semibolditalic-webfont.woff2 +0 -0
- data/assets/uswds/img/alerts/error.svg +4 -17
- data/assets/uswds/img/alerts/info.svg +4 -18
- data/assets/uswds/img/alerts/success.svg +1 -12
- data/assets/uswds/img/alerts/warning.svg +4 -16
- data/assets/uswds/img/angle-arrow-down-hover.svg +1 -1
- data/assets/uswds/img/angle-arrow-down-primary-hover.svg +1 -1
- data/assets/uswds/img/angle-arrow-down-primary.svg +1 -1
- data/assets/uswds/img/angle-arrow-down-white.svg +1 -0
- data/assets/uswds/img/angle-arrow-down.svg +1 -1
- data/assets/uswds/img/angle-arrow-up-primary-hover.svg +1 -1
- data/assets/uswds/img/angle-arrow-up-primary.svg +1 -1
- data/assets/uswds/img/angle-arrow-up-white.svg +1 -0
- data/assets/uswds/img/arrow-both.svg +1 -1
- data/assets/uswds/img/arrow-down.svg +1 -1
- data/assets/uswds/img/arrow-right.svg +1 -1
- data/assets/uswds/img/checkbox-check-print.svg +1 -0
- data/assets/uswds/img/close-blue-30-alt.svg +3 -0
- data/assets/uswds/img/close-blue-40v-alt.svg +3 -0
- data/assets/uswds/img/close-blue-50-alt.svg +3 -0
- data/assets/uswds/img/close-blue-50v-alt.svg +3 -0
- data/assets/uswds/img/close-blue-60-alt.svg +3 -0
- data/assets/uswds/img/close-blue-60v-alt.svg +3 -0
- data/assets/uswds/img/close-gray-90-alt.svg +3 -0
- data/assets/uswds/img/close-primary.svg +1 -16
- data/assets/uswds/img/close-white-alt.svg +3 -0
- data/assets/uswds/img/close-white.svg +3 -0
- data/assets/uswds/img/close.svg +1 -12
- data/assets/uswds/img/correct8-alt.svg +1 -1
- data/assets/uswds/img/correct8.svg +1 -1
- data/assets/uswds/img/correct9.svg +1 -1
- data/assets/uswds/img/external-link-alt-hover.svg +1 -1
- data/assets/uswds/img/external-link-alt.svg +1 -1
- data/assets/uswds/img/external-link-hover.svg +1 -1
- data/assets/uswds/img/external-link.svg +1 -1
- data/assets/uswds/img/favicons/favicon-114.png +0 -0
- data/assets/uswds/img/favicons/favicon-144.png +0 -0
- data/assets/uswds/img/favicons/favicon-16.png +0 -0
- data/assets/uswds/img/favicons/favicon-192.png +0 -0
- data/assets/uswds/img/favicons/favicon-40.png +0 -0
- data/assets/uswds/img/favicons/favicon-57.png +0 -0
- data/assets/uswds/img/favicons/favicon-72.png +0 -0
- data/assets/uswds/img/favicons/favicon.ico +0 -0
- data/assets/uswds/img/favicons/favicon.png +0 -0
- data/assets/uswds/img/icon-dot-gov.svg +1 -1
- data/assets/uswds/img/icon-https.svg +1 -1
- data/assets/uswds/img/minus-alt.svg +1 -1
- data/assets/uswds/img/minus.svg +1 -1
- data/assets/uswds/img/plus-alt.svg +1 -1
- data/assets/uswds/img/plus.svg +1 -1
- data/assets/uswds/img/search-alt.svg +1 -1
- data/assets/uswds/img/search-primary.svg +1 -12
- data/assets/uswds/img/search.svg +1 -1
- data/assets/uswds/img/social-icons/{png/facebook25.png → facebook25.png} +0 -0
- data/assets/uswds/img/social-icons/{svg/facebook25.svg → facebook25.svg} +1 -1
- data/assets/uswds/img/social-icons/{png/rss25.png → rss25.png} +0 -0
- data/assets/uswds/img/social-icons/{svg/rss25.svg → rss25.svg} +1 -1
- data/assets/uswds/img/social-icons/{png/twitter16.png → twitter16.png} +0 -0
- data/assets/uswds/img/social-icons/{svg/twitter16.svg → twitter16.svg} +1 -1
- data/assets/uswds/img/social-icons/{png/youtube15.png → youtube15.png} +0 -0
- data/assets/uswds/img/social-icons/{svg/youtube15.svg → youtube15.svg} +1 -1
- data/assets/uswds/js/uswds.js +1330 -809
- data/assets/uswds/js/uswds.min.js +1 -1
- data/assets/uswds/js/uswds.min.js.map +1 -1
- metadata +498 -222
- data/_includes/components/footer--medium.html +0 -100
- data/_sass/components/_all.scss +0 -8
- data/_sass/components/_footer.scss +0 -26
- data/_sass/components/_header.scss +0 -27
- data/_sass/components/_hero.scss +0 -45
- data/_sass/components/_side-nav.scss +0 -61
- data/_sass/components/_site-width.scss +0 -12
- data/_sass/components/_top-nav.scss +0 -73
- data/_sass/components/_usa-banner.scss +0 -29
- data/_sass/uswds/_all.scss +0 -1
- data/_sass/uswds/components/_accordions.scss +0 -150
- data/_sass/uswds/components/_alerts.scss +0 -128
- data/_sass/uswds/components/_banner.scss +0 -203
- data/_sass/uswds/components/_forms.scss +0 -144
- data/_sass/uswds/components/_graphic-list.scss +0 -35
- data/_sass/uswds/components/_layout.scss +0 -36
- data/_sass/uswds/components/_media-block.scss +0 -12
- data/_sass/uswds/components/_navigation.scss +0 -561
- data/_sass/uswds/components/_search.scss +0 -111
- data/_sass/uswds/components/_section.scss +0 -37
- data/_sass/uswds/components/_sidenav.scss +0 -31
- data/_sass/uswds/core/_base.scss +0 -36
- data/_sass/uswds/core/_fonts.scss +0 -65
- data/_sass/uswds/core/_grid-settings.scss +0 -3
- data/_sass/uswds/core/_grid.scss +0 -198
- data/_sass/uswds/core/_utilities.scss +0 -252
- data/_sass/uswds/core/_variables-vendor.scss +0 -12
- data/_sass/uswds/core/_variables.scss +0 -159
- data/_sass/uswds/elements/_buttons.scss +0 -217
- data/_sass/uswds/elements/_inputs.scss +0 -405
- data/_sass/uswds/elements/_labels.scss +0 -20
- data/_sass/uswds/elements/_list.scss +0 -19
- data/_sass/uswds/elements/_table.scss +0 -55
- data/_sass/uswds/elements/_typography.scss +0 -238
- data/_sass/uswds/lib/_bourbon-deprecated-upcoming.scss +0 -411
- data/_sass/uswds/lib/_bourbon.scss +0 -87
- data/_sass/uswds/lib/_neat-helpers.scss +0 -11
- data/_sass/uswds/lib/_neat.scss +0 -23
- data/_sass/uswds/lib/_normalize.scss +0 -424
- data/_sass/uswds/lib/addons/_border-color.scss +0 -26
- data/_sass/uswds/lib/addons/_border-radius.scss +0 -48
- data/_sass/uswds/lib/addons/_border-style.scss +0 -25
- data/_sass/uswds/lib/addons/_border-width.scss +0 -25
- data/_sass/uswds/lib/addons/_buttons.scss +0 -64
- data/_sass/uswds/lib/addons/_clearfix.scss +0 -25
- data/_sass/uswds/lib/addons/_ellipsis.scss +0 -30
- data/_sass/uswds/lib/addons/_font-stacks.scss +0 -31
- data/_sass/uswds/lib/addons/_hide-text.scss +0 -27
- data/_sass/uswds/lib/addons/_margin.scss +0 -26
- data/_sass/uswds/lib/addons/_padding.scss +0 -26
- data/_sass/uswds/lib/addons/_position.scss +0 -48
- data/_sass/uswds/lib/addons/_prefixer.scss +0 -66
- data/_sass/uswds/lib/addons/_retina-image.scss +0 -25
- data/_sass/uswds/lib/addons/_size.scss +0 -51
- data/_sass/uswds/lib/addons/_text-inputs.scss +0 -113
- data/_sass/uswds/lib/addons/_timing-functions.scss +0 -34
- data/_sass/uswds/lib/addons/_triangle.scss +0 -63
- data/_sass/uswds/lib/addons/_word-wrap.scss +0 -29
- data/_sass/uswds/lib/css3/_animation.scss +0 -43
- data/_sass/uswds/lib/css3/_appearance.scss +0 -3
- data/_sass/uswds/lib/css3/_backface-visibility.scss +0 -3
- data/_sass/uswds/lib/css3/_background-image.scss +0 -42
- data/_sass/uswds/lib/css3/_background.scss +0 -55
- data/_sass/uswds/lib/css3/_border-image.scss +0 -59
- data/_sass/uswds/lib/css3/_calc.scss +0 -4
- data/_sass/uswds/lib/css3/_columns.scss +0 -47
- data/_sass/uswds/lib/css3/_filter.scss +0 -4
- data/_sass/uswds/lib/css3/_flex-box.scss +0 -287
- data/_sass/uswds/lib/css3/_font-face.scss +0 -24
- data/_sass/uswds/lib/css3/_font-feature-settings.scss +0 -4
- data/_sass/uswds/lib/css3/_hidpi-media-query.scss +0 -10
- data/_sass/uswds/lib/css3/_hyphens.scss +0 -4
- data/_sass/uswds/lib/css3/_image-rendering.scss +0 -14
- data/_sass/uswds/lib/css3/_keyframes.scss +0 -36
- data/_sass/uswds/lib/css3/_linear-gradient.scss +0 -38
- data/_sass/uswds/lib/css3/_perspective.scss +0 -8
- data/_sass/uswds/lib/css3/_placeholder.scss +0 -8
- data/_sass/uswds/lib/css3/_radial-gradient.scss +0 -39
- data/_sass/uswds/lib/css3/_selection.scss +0 -42
- data/_sass/uswds/lib/css3/_text-decoration.scss +0 -19
- data/_sass/uswds/lib/css3/_transform.scss +0 -15
- data/_sass/uswds/lib/css3/_transition.scss +0 -71
- data/_sass/uswds/lib/css3/_user-select.scss +0 -3
- data/_sass/uswds/lib/functions/_assign-inputs.scss +0 -11
- data/_sass/uswds/lib/functions/_contains-falsy.scss +0 -20
- data/_sass/uswds/lib/functions/_contains.scss +0 -26
- data/_sass/uswds/lib/functions/_is-length.scss +0 -11
- data/_sass/uswds/lib/functions/_is-light.scss +0 -21
- data/_sass/uswds/lib/functions/_is-number.scss +0 -11
- data/_sass/uswds/lib/functions/_is-size.scss +0 -13
- data/_sass/uswds/lib/functions/_modular-scale.scss +0 -69
- data/_sass/uswds/lib/functions/_new-breakpoint.scss +0 -49
- data/_sass/uswds/lib/functions/_private.scss +0 -114
- data/_sass/uswds/lib/functions/_px-to-em.scss +0 -13
- data/_sass/uswds/lib/functions/_px-to-rem.scss +0 -15
- data/_sass/uswds/lib/functions/_shade.scss +0 -24
- data/_sass/uswds/lib/functions/_strip-units.scss +0 -17
- data/_sass/uswds/lib/functions/_tint.scss +0 -24
- data/_sass/uswds/lib/functions/_transition-property-name.scss +0 -22
- data/_sass/uswds/lib/functions/_unpack.scss +0 -27
- data/_sass/uswds/lib/grid/_box-sizing.scss +0 -15
- data/_sass/uswds/lib/grid/_direction-context.scss +0 -33
- data/_sass/uswds/lib/grid/_display-context.scss +0 -28
- data/_sass/uswds/lib/grid/_fill-parent.scss +0 -22
- data/_sass/uswds/lib/grid/_media.scss +0 -92
- data/_sass/uswds/lib/grid/_omega.scss +0 -87
- data/_sass/uswds/lib/grid/_outer-container.scss +0 -34
- data/_sass/uswds/lib/grid/_pad.scss +0 -25
- data/_sass/uswds/lib/grid/_private.scss +0 -35
- data/_sass/uswds/lib/grid/_row.scss +0 -52
- data/_sass/uswds/lib/grid/_shift.scss +0 -50
- data/_sass/uswds/lib/grid/_span-columns.scss +0 -94
- data/_sass/uswds/lib/grid/_to-deprecate.scss +0 -97
- data/_sass/uswds/lib/grid/_visual-grid.scss +0 -42
- data/_sass/uswds/lib/helpers/_convert-units.scss +0 -21
- data/_sass/uswds/lib/helpers/_directional-values.scss +0 -96
- data/_sass/uswds/lib/helpers/_font-source-declaration.scss +0 -43
- data/_sass/uswds/lib/helpers/_gradient-positions-parser.scss +0 -13
- data/_sass/uswds/lib/helpers/_linear-angle-parser.scss +0 -25
- data/_sass/uswds/lib/helpers/_linear-gradient-parser.scss +0 -41
- data/_sass/uswds/lib/helpers/_linear-positions-parser.scss +0 -61
- data/_sass/uswds/lib/helpers/_linear-side-corner-parser.scss +0 -31
- data/_sass/uswds/lib/helpers/_radial-arg-parser.scss +0 -69
- data/_sass/uswds/lib/helpers/_radial-gradient-parser.scss +0 -50
- data/_sass/uswds/lib/helpers/_radial-positions-parser.scss +0 -18
- data/_sass/uswds/lib/helpers/_render-gradients.scss +0 -26
- data/_sass/uswds/lib/helpers/_shape-size-stripper.scss +0 -10
- data/_sass/uswds/lib/helpers/_str-to-num.scss +0 -50
- data/_sass/uswds/lib/mixins/_clearfix.scss +0 -25
- data/_sass/uswds/lib/settings/_asset-pipeline.scss +0 -7
- data/_sass/uswds/lib/settings/_disable-warnings.scss +0 -13
- data/_sass/uswds/lib/settings/_grid.scss +0 -51
- data/_sass/uswds/lib/settings/_prefixer.scss +0 -9
- data/_sass/uswds/lib/settings/_px-to-em.scss +0 -1
- data/_sass/uswds/lib/settings/_visual-grid.scss +0 -27
- data/_sass/uswds/uswds.scss +0 -42
- data/assets/css/main.scss +0 -93
- data/assets/uswds/fonts/merriweather-bold-webfont.eot +0 -0
- data/assets/uswds/fonts/merriweather-bold-webfont.ttf +0 -0
- data/assets/uswds/fonts/merriweather-bold-webfont.woff +0 -0
- data/assets/uswds/fonts/merriweather-bold-webfont.woff2 +0 -0
- data/assets/uswds/fonts/merriweather-italic-webfont.eot +0 -0
- data/assets/uswds/fonts/merriweather-italic-webfont.ttf +0 -0
- data/assets/uswds/fonts/merriweather-italic-webfont.woff +0 -0
- data/assets/uswds/fonts/merriweather-italic-webfont.woff2 +0 -0
- data/assets/uswds/fonts/merriweather-light-webfont.eot +0 -0
- data/assets/uswds/fonts/merriweather-light-webfont.ttf +0 -0
- data/assets/uswds/fonts/merriweather-light-webfont.woff +0 -0
- data/assets/uswds/fonts/merriweather-light-webfont.woff2 +0 -0
- data/assets/uswds/fonts/merriweather-regular-webfont.eot +0 -0
- data/assets/uswds/fonts/merriweather-regular-webfont.ttf +0 -0
- data/assets/uswds/fonts/merriweather-regular-webfont.woff +0 -0
- data/assets/uswds/fonts/merriweather-regular-webfont.woff2 +0 -0
- data/assets/uswds/fonts/sourcesanspro-bold-webfont.eot +0 -0
- data/assets/uswds/fonts/sourcesanspro-bold-webfont.ttf +0 -0
- data/assets/uswds/fonts/sourcesanspro-bold-webfont.woff +0 -0
- data/assets/uswds/fonts/sourcesanspro-bold-webfont.woff2 +0 -0
- data/assets/uswds/fonts/sourcesanspro-italic-webfont.eot +0 -0
- data/assets/uswds/fonts/sourcesanspro-italic-webfont.ttf +0 -0
- data/assets/uswds/fonts/sourcesanspro-italic-webfont.woff +0 -0
- data/assets/uswds/fonts/sourcesanspro-italic-webfont.woff2 +0 -0
- data/assets/uswds/fonts/sourcesanspro-light-webfont.eot +0 -0
- data/assets/uswds/fonts/sourcesanspro-light-webfont.ttf +0 -0
- data/assets/uswds/fonts/sourcesanspro-light-webfont.woff +0 -0
- data/assets/uswds/fonts/sourcesanspro-light-webfont.woff2 +0 -0
- data/assets/uswds/fonts/sourcesanspro-regular-webfont.eot +0 -0
- data/assets/uswds/fonts/sourcesanspro-regular-webfont.ttf +0 -0
- data/assets/uswds/fonts/sourcesanspro-regular-webfont.woff +0 -0
- data/assets/uswds/fonts/sourcesanspro-regular-webfont.woff2 +0 -0
- data/assets/uswds/img/alerts/error.png +0 -0
- data/assets/uswds/img/alerts/info.png +0 -0
- data/assets/uswds/img/alerts/success.png +0 -0
- data/assets/uswds/img/alerts/warning.png +0 -0
- data/assets/uswds/img/angle-arrow-down-hover.png +0 -0
- data/assets/uswds/img/angle-arrow-down-primary-hover.png +0 -0
- data/assets/uswds/img/angle-arrow-down-primary.png +0 -0
- data/assets/uswds/img/angle-arrow-down.png +0 -0
- data/assets/uswds/img/angle-arrow-up-primary-hover.png +0 -0
- data/assets/uswds/img/angle-arrow-up-primary.png +0 -0
- data/assets/uswds/img/arrow-both.png +0 -0
- data/assets/uswds/img/arrow-down.png +0 -0
- data/assets/uswds/img/arrow-right.png +0 -0
- data/assets/uswds/img/close-primary.png +0 -0
- data/assets/uswds/img/close.png +0 -0
- data/assets/uswds/img/correct8.png +0 -0
- data/assets/uswds/img/correct9.png +0 -0
- data/assets/uswds/img/external-link-alt-hover.png +0 -0
- data/assets/uswds/img/external-link-alt.png +0 -0
- data/assets/uswds/img/external-link-hover.png +0 -0
- data/assets/uswds/img/external-link.png +0 -0
- data/assets/uswds/img/minus-alt.png +0 -0
- data/assets/uswds/img/minus.png +0 -0
- data/assets/uswds/img/plus-alt.png +0 -0
- data/assets/uswds/img/plus.png +0 -0
- data/assets/uswds/img/search-alt.png +0 -0
- data/assets/uswds/img/search-primary.png +0 -0
- data/assets/uswds/img/search.png +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e5e338726e8357ad03b9947d7ddd0b977b5658671627d2f068fe6a05cb22002f
|
4
|
+
data.tar.gz: 42f04fbefa5c026573c1190baecbbb79065917375f9f8e41ad8aab3377b0430b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 33fa5198894809d8031f7c1fa9923502c124f930e32463fdb8d7330b6ac18d0211aa42620be8b2b27c288135c05fc376f8a90eac379a6509c5f7621b0ae2c88d
|
7
|
+
data.tar.gz: f826137b0b11b0c427866588c610e0ff35462363d3e255cdcffeb128faf183124935bdf309413978092dc888ab547cb93e3b2d7a85b85a9c47667e233f6a23ea
|
data/README.md
CHANGED
@@ -4,175 +4,146 @@ 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
|
-
|
9
|
-
- [Versioning](#versioning)
|
9
|
+
- [Versioning](#versioning)
|
10
10
|
1. [Configuration](#configuration)
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
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
23
|
1. [Assets](#assets)
|
24
|
-
|
25
|
-
|
26
|
-
|
24
|
+
- [Stylesheets](#stylesheets)
|
25
|
+
- [Scripts](#scripts)
|
26
|
+
- [Asset load order](#asset-load-order)
|
27
27
|
1. [Customization](#customization)
|
28
|
-
|
29
|
-
|
30
|
-
|
28
|
+
- [Customizing with Sass](#customizing-with-sass)
|
29
|
+
- [Customizing with CSS overrides](#customizing-with-css-overrides)
|
30
|
+
- [Overriding includes and layouts](#overriding-includes-and-layouts)
|
31
31
|
1. [Components](#components)
|
32
|
-
|
33
|
-
|
32
|
+
- [Header](#header)
|
33
|
+
- [Footer](#footer)
|
34
34
|
1. [Layouts](#layouts)
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
35
|
+
- [Default](#layout-default)
|
36
|
+
- [Page](#layout-page)
|
37
|
+
- [Home](#layout-home)
|
38
|
+
- [Post](#layout-post)
|
39
|
+
- [Project](#layout-project)
|
40
|
+
- [Team member](#layout-team-member)
|
41
|
+
1. [Migrating from earlier versions](#migrating-from-earlier-versions)
|
42
|
+
1. [Development](#development)
|
43
43
|
|
44
44
|
## Installation
|
45
45
|
|
46
46
|
1. Install the theme as a Ruby Gem by adding it to your `Gemfile`
|
47
47
|
like so:
|
48
48
|
|
49
|
-
|
50
|
-
|
51
|
-
|
49
|
+
```ruby
|
50
|
+
gem 'uswds-jekyll', :git => 'https://github.com/18F/uswds-jekyll.git', :branch => 'update-uswds-2.0'
|
51
|
+
```
|
52
52
|
|
53
53
|
1. Fetch and update your bundled gems by running:
|
54
54
|
|
55
|
-
|
56
|
-
|
57
|
-
|
55
|
+
```sh
|
56
|
+
bundle
|
57
|
+
```
|
58
58
|
|
59
59
|
1. Set the `theme` in your site's Jekyll configuration,
|
60
60
|
`_config.yml`:
|
61
61
|
|
62
|
-
|
63
|
-
|
64
|
-
|
62
|
+
```yml
|
63
|
+
theme: uswds-jekyll
|
64
|
+
```
|
65
65
|
|
66
66
|
You will need to restart your Jekyll server to see the effects.
|
67
67
|
|
68
68
|
### Install as a new Jekyll site
|
69
69
|
|
70
70
|
1. Create a new Jekyll site:
|
71
|
-
|
72
|
-
|
73
|
-
|
71
|
+
```
|
72
|
+
jekyll new
|
73
|
+
```
|
74
74
|
1. Replace the default `gem "minima", "~> 2.0"` gem with the `uswds-jekyll` gem in your `Gemfile`:
|
75
75
|
|
76
|
-
|
77
|
-
|
78
|
-
|
76
|
+
```ruby
|
77
|
+
gem 'uswds-jekyll', :git => 'https://github.com/18F/uswds-jekyll.git', :branch => 'update-uswds-2.0'
|
78
|
+
```
|
79
79
|
|
80
80
|
1. Set the `theme` in your site's Jekyll configuration,
|
81
81
|
`_config.yml`:
|
82
82
|
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
1. Fetch and update your bundled gems by running:
|
87
|
-
|
88
|
-
```sh
|
89
|
-
bundle
|
90
|
-
```
|
91
|
-
1. Run Jekyll `jekyll serve` to build your site locally at http://localhost:4000/
|
83
|
+
```yml
|
84
|
+
theme: uswds-jekyll
|
85
|
+
```
|
92
86
|
|
93
|
-
|
87
|
+
1. Fetch and update your bundled gems by running:
|
94
88
|
|
95
|
-
|
89
|
+
```sh
|
90
|
+
bundle
|
91
|
+
```
|
96
92
|
|
97
|
-
1.
|
98
|
-
1. Run Jekyll (`jekyll serve`) in the local clone of this repo;
|
99
|
-
**or**
|
100
|
-
1. Create a new Jekyll project, follow the
|
101
|
-
[installation](#installation) instructions, then change your
|
102
|
-
`Gemfile` to point at the local clone of this repo:
|
103
|
-
|
104
|
-
```ruby
|
105
|
-
gem 'uswds-jekyll', :path => '../path/to/uswds-jekyll'
|
106
|
-
```
|
107
|
-
### Publish to Rubygems
|
108
|
-
1. Update `spec.version = "NUMBER HERE"` in the uswds-jekyll.gemspec file to the version you want to publish
|
109
|
-
1. Run `bundle install`
|
110
|
-
1. Add a PR for the update and get it merged
|
111
|
-
1. Run `bundle exec rake release`
|
112
|
-
1. Add a GitHub release to the releases page with the same version number
|
113
|
-
1. You should see the latest version here https://rubygems.org/gems/uswds-jekyll
|
93
|
+
1. Run `bundle exec jekyll serve` to build your site locally at http://localhost:4000/
|
114
94
|
|
115
95
|
### Versioning
|
116
96
|
|
117
|
-
To reference a specific version of this
|
97
|
+
To reference a specific version of this theme:
|
118
98
|
|
119
99
|
1. Visit the [releases page](https://github.com/18F/uswds-jekyll/releases) and
|
120
100
|
decide which version you want to use.
|
121
101
|
1. Specify the version in your `Gemfile`.
|
122
102
|
|
123
|
-
|
124
|
-
|
125
|
-
|
103
|
+
```ruby
|
104
|
+
gem 'uswds-jekyll', '5.0.0'
|
105
|
+
```
|
126
106
|
|
127
107
|
## Configuration
|
128
108
|
|
129
109
|
Configuration of common elements ([header](#header),
|
130
|
-
[footer](#footer), [navigation](#navigation), etc.) happens in your
|
131
|
-
project's [data files](https://jekyllrb.com/docs/datafiles/). See
|
132
|
-
this project's [data directory](_data) for reference configurations
|
110
|
+
[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
|
133
111
|
of each component.
|
134
112
|
|
135
|
-
The [default layout](#layout-default) also provides a mechanism for
|
136
|
-
automatically including [stylesheets](#stylesheets) and
|
137
|
-
[scripts](#scripts) on a site-wide, layout-wide, and per-page
|
138
|
-
basis. See [asset load order](#asset-load-order) for more
|
139
|
-
information.
|
140
|
-
|
113
|
+
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.
|
141
114
|
|
142
115
|
### Site title
|
143
116
|
|
144
|
-
You can change your site's title with the `title` field in
|
145
|
-
`_config.yml`. If you want to provide an alternate title for use
|
146
|
-
_only_ in the site header, you can set the `title` field in
|
147
|
-
`_data/header.yml`.
|
117
|
+
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`.
|
148
118
|
|
149
119
|
### Site description
|
150
120
|
|
151
|
-
You can change your site's description with the `description` field in
|
152
|
-
`_config.yml`. If you want to override it for a particular page, you can set the `description` field in that page's frontmatter.
|
121
|
+
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.
|
153
122
|
|
154
123
|
### Navigation
|
155
124
|
|
156
|
-
This theme's navigation system is powerful and flexible. Named
|
157
|
-
navigational lists live in your project's `_data/navigation.yml`,
|
158
|
-
e.g.
|
125
|
+
This theme's navigation system is powerful and flexible. Named navigational lists live in your project's `_data/navigation.yml`.
|
159
126
|
|
160
127
|
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.
|
161
128
|
|
162
129
|
```yml
|
163
130
|
# _data/navigation.yml
|
131
|
+
|
164
132
|
primary:
|
165
133
|
- text: Documentation
|
166
134
|
href: /docs/
|
167
135
|
- text: Support
|
168
136
|
href: /help/
|
169
|
-
|
137
|
+
class: highlight
|
138
|
+
- text: "18F"
|
170
139
|
href: https://18f.gsa.gov
|
171
140
|
external: true
|
172
141
|
|
173
142
|
# link objects with a 'links' field will be presented as
|
174
|
-
# collapsible link lists. The 'links' field can either be
|
175
|
-
# reference to another link list in this file, or
|
143
|
+
# collapsible link lists. The 'links' field can either be
|
144
|
+
# a reference to another link list in this file, or
|
145
|
+
# a literal list.
|
146
|
+
|
176
147
|
- text: Section title
|
177
148
|
links: <links>
|
178
149
|
```
|
@@ -186,7 +157,7 @@ more info.
|
|
186
157
|
|
187
158
|
Set each page's title in its frontmatter:
|
188
159
|
|
189
|
-
```
|
160
|
+
```
|
190
161
|
---
|
191
162
|
title: About us
|
192
163
|
---
|
@@ -194,8 +165,7 @@ title: About us
|
|
194
165
|
|
195
166
|
### Page subnavigation
|
196
167
|
|
197
|
-
If you're using the [page layout](#layout-page), each page may declare its own
|
198
|
-
side navigation and subnavigation in its [front matter]:
|
168
|
+
If you're using the [page layout](#layout-page), each page may declare its own side navigation and subnavigation in its front matter:
|
199
169
|
|
200
170
|
```md
|
201
171
|
---
|
@@ -206,35 +176,26 @@ subnav:
|
|
206
176
|
- text: Section two
|
207
177
|
href: '#section-two
|
208
178
|
---
|
179
|
+
|
209
180
|
## Section one
|
210
181
|
|
211
182
|
## Section two
|
212
183
|
```
|
213
184
|
|
214
|
-
As with the [header](#header) and [footer](#footer), the `sidenav` field may
|
215
|
-
either reference a common [navigation list](#navigation) from
|
216
|
-
`_data/navigation.yml` (recommended) or be a literal list of links.
|
217
|
-
|
218
|
-
The `subnav` field should be used to link to sections _within_ the current
|
219
|
-
page, because links to other pages will cause the linking page's side
|
220
|
-
navigation to collapse when visited.
|
185
|
+
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.
|
221
186
|
|
187
|
+
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.
|
222
188
|
|
223
189
|
`sidenav` is a key _into_ `_data/navigation.yml`. See the [navigation](#navigation) docs for more info.
|
224
190
|
|
225
|
-
A page's "current" or "active" state in the sidenav is
|
226
|
-
determined by whether a link's `href` matches `page.url` or
|
227
|
-
`page.permalink` for each page being rendered.
|
191
|
+
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.
|
228
192
|
|
229
193
|
`subnav` is a list of links to display on this page under its own link in the side navigation.
|
230
194
|
|
231
195
|
**Note that subnav link hrefs are not prefixed with
|
232
|
-
`site.baseurl`** because this breaks hash links prefixed with
|
233
|
-
`#`.
|
196
|
+
`site.baseurl`** because this breaks hash links prefixed with `#`.
|
234
197
|
|
235
|
-
**Pro tip:** Unless your Jekyll configuration specifies otherwise, the default
|
236
|
-
Markdown formatter (Kramdown) will automatically generate predictable `id`
|
237
|
-
attributes for your page headings and convert markdown like this:
|
198
|
+
**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:
|
238
199
|
|
239
200
|
```md
|
240
201
|
## Section one
|
@@ -284,6 +245,7 @@ intro: |
|
|
284
245
|
```
|
285
246
|
|
286
247
|
### Graphics list
|
248
|
+
|
287
249
|
```yml
|
288
250
|
# an optional list of graphics to display before or after the content
|
289
251
|
graphics:
|
@@ -298,10 +260,9 @@ graphics:
|
|
298
260
|
graphics_position: (before|after)
|
299
261
|
```
|
300
262
|
|
301
|
-
### Color
|
302
|
-
|
303
|
-
The default colors and fonts can be configured in the `_data/theme.yml` file.
|
263
|
+
### Color configuration
|
304
264
|
|
265
|
+
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.)
|
305
266
|
|
306
267
|
### Search
|
307
268
|
|
@@ -310,7 +271,7 @@ The default colors and fonts can be configured in the `_data/theme.yml` file.
|
|
310
271
|
Before configuring your search you will need to create a search.gov account and set up your website
|
311
272
|
with search.gov.
|
312
273
|
|
313
|
-
After setting up your site on search.gov you can then add your `
|
274
|
+
After setting up your site on search.gov you can then add your `search_site_handle` to the `config.yml`.
|
314
275
|
|
315
276
|
### Analytics
|
316
277
|
|
@@ -334,8 +295,7 @@ You can add DAP to your site by uncommenting the `dap_agency` line and, if need
|
|
334
295
|
|
335
296
|
### Last modified date
|
336
297
|
|
337
|
-
You can show the last date a page was last modified by uncommenting this line from the `footer.yml` data file.
|
338
|
-
This will add the date right before the footer component and uses the `last-modified.html` include.
|
298
|
+
You can show the last date a page was last modified by uncommenting this line from the `footer.yml` data file. This will add the date right before the footer component and uses the `last-modified.html` include.
|
339
299
|
|
340
300
|
```yml
|
341
301
|
# Used to show the "Last updated" date and time;
|
@@ -344,9 +304,7 @@ This will add the date right before the footer component and uses the `last-modi
|
|
344
304
|
|
345
305
|
### Anchor JS
|
346
306
|
|
347
|
-
You can show an anchor link next to header tags by uncommenting this section from the `_config.yml` data file.
|
348
|
-
This will add an anchor link after the header tag on the page and post layouts making ech header linkable.
|
349
|
-
See https://github.com/bryanbraun/anchorjs for more information.
|
307
|
+
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.
|
350
308
|
|
351
309
|
```yml
|
352
310
|
# anchor_js_targets: [h1, h2, h3, h4, h5, h6]
|
@@ -354,10 +312,7 @@ See https://github.com/bryanbraun/anchorjs for more information.
|
|
354
312
|
|
355
313
|
## Assets
|
356
314
|
|
357
|
-
The [stylesheet](_includes/styles.html) and [script](_includes/scripts.html)
|
358
|
-
includes each incorporate the USWDS CSS and JS files if the corresponding
|
359
|
-
`styles` and `scripts` lists aren't defined in your `_config.yml`. So unless
|
360
|
-
you add one or both of those manually, your HTML will include the following:
|
315
|
+
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:
|
361
316
|
|
362
317
|
```html
|
363
318
|
<!-- in the <head> -->
|
@@ -366,16 +321,12 @@ you add one or both of those manually, your HTML will include the following:
|
|
366
321
|
<script src="/assets/uswds/js/uswds.min.js" async>
|
367
322
|
```
|
368
323
|
|
369
|
-
Read more about customizing [stylesheets](#stylesheets) and [scripts](#scripts)
|
370
|
-
below.
|
371
|
-
|
324
|
+
Read more about customizing [stylesheets](#stylesheets) and [scripts](#scripts) below.
|
372
325
|
|
373
326
|
### Stylesheets
|
374
327
|
|
375
328
|
As a general rule, all stylesheets are inserted in a layouts'
|
376
|
-
`<head>`, which qualifies them as "render-blocking". Site
|
377
|
-
stylesheets can be specified in `_config.yml` or a layout or page's
|
378
|
-
[front matter] YAML in the following form:
|
329
|
+
`<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:
|
379
330
|
|
380
331
|
```yml
|
381
332
|
styles:
|
@@ -387,7 +338,6 @@ styles:
|
|
387
338
|
Stylesheets specified as objects (in the latter item above) must
|
388
339
|
have an `href` property. The `media` defaults to `screen`.
|
389
340
|
|
390
|
-
|
391
341
|
### Scripts
|
392
342
|
|
393
343
|
As a general rule, all scripts are inserted before a layouts'
|
@@ -403,14 +353,7 @@ scripts:
|
|
403
353
|
```
|
404
354
|
|
405
355
|
Scripts specified as objects (in the latter item above) must have a `src`
|
406
|
-
property. Scripts with `async: true` will get an `async` attribute, which tells
|
407
|
-
the browser _not_ to let this script's loading block the execution of
|
408
|
-
subsequent scripts. If the execution order of your scripts is **not**
|
409
|
-
important, setting `async: true` may provide performance benefits to your
|
410
|
-
users. (Conversely, if you don't know whether your scripts need to execute in a
|
411
|
-
particular order, then you should not set `async: true` because it may prevent
|
412
|
-
your scripts from running propertly.)
|
413
|
-
|
356
|
+
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.)
|
414
357
|
|
415
358
|
### Asset load order
|
416
359
|
|
@@ -424,70 +367,20 @@ Both [stylesheets](#stylesheets) and [scripts](#scripts) can be configured
|
|
424
367
|
1. Those configured at the page level (in the page's [front matter])
|
425
368
|
will be loaded last.
|
426
369
|
|
427
|
-
|
428
370
|
## Customization
|
429
371
|
|
430
|
-
|
431
|
-
[CSS overrides](#customizing-with-css-overrides). Individual sites can also
|
432
|
-
[selectively override](#overriding-includes-and-layouts) individual includes
|
433
|
-
and layouts.
|
434
|
-
|
435
|
-
|
436
|
-
### Customizing with Sass
|
437
|
-
|
438
|
-
1. Create a [Sass][] (or SCSS) entry point that sets variables and then imports
|
439
|
-
the USWDS source files:
|
440
|
-
|
441
|
-
```scss
|
442
|
-
---
|
443
|
-
# assets/main.scss
|
444
|
-
---
|
445
|
-
// set your variables or @import them here.
|
446
|
-
|
447
|
-
// at the very least, you should set the USWDS font and image paths
|
448
|
-
// to the correct paths relative to assets/main.css, like so:
|
449
|
-
$font-path: 'uswds/fonts';
|
450
|
-
$image-path: 'uswds/img';
|
372
|
+
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 manually add these custom files to your Jekyll project into a couple specific locations.
|
451
373
|
|
452
|
-
|
453
|
-
```
|
374
|
+
1. Find the **most current settings files** in the `_sass/settings` [folder of this theme](https://github.com/18F/uswds-jekyll/tree/update-uswds-2.0/_sass/settings). [Download these files with DownGit](https://minhaskamal.github.io/DownGit/#/home?url=https://github.com/18F/uswds-jekyll/tree/update-uswds-2.0/_sass/settings)
|
454
375
|
|
455
|
-
1.
|
376
|
+
1. Copy these theme settings files to you project's `_sass/settings` directory. If this directory doesn't exist, create it.
|
456
377
|
|
457
|
-
|
458
|
-
styles:
|
459
|
-
- /assets/main.css
|
460
|
-
```
|
378
|
+
1. Edit these new settings files to customize your USWDS implementation, following the USWDS's [theme settings guidance](https://designsystem.digital.gov/documentation/settings/).
|
461
379
|
|
462
|
-
|
463
|
-
are placed in the [_sass/uswds](_sass/uswds) directory and are available as
|
464
|
-
Sass imports via `@import 'uswds/<path>';`. See the [Jekyll docs][Jekyll Sass]
|
465
|
-
for more information about its Sass/SCSS support, and configuring its Sass
|
466
|
-
renderer in your site's config.
|
380
|
+
1. Add any **custom CSS or Sass** to a folder called `_sass/custom/_uswds-theme-custom-styles.scss`. You can also use this file to import any additional Sass or CSS files your project needs. [Download this file from Github](https://raw.githubusercontent.com/18F/uswds-jekyll/update-uswds-2.0/_sass/custom/_uswds-theme-custom-styles.scss)
|
467
381
|
|
468
|
-
|
469
|
-
|
470
|
-
|
471
|
-
1. Create a new CSS or Sass file that defines your customizations,
|
472
|
-
e.g.
|
473
|
-
|
474
|
-
```scss
|
475
|
-
---
|
476
|
-
# assets/uswds-overrides.scss
|
477
|
-
---
|
478
|
-
.usa-header {
|
479
|
-
// overrides here
|
480
|
-
}
|
481
|
-
```
|
482
|
-
|
483
|
-
1. Add the new stylesheet's path to your `_config.yml` _after_
|
484
|
-
`uswds.min.css`:
|
485
|
-
|
486
|
-
```yml
|
487
|
-
styles:
|
488
|
-
- /assets/uswds/css/uswds.min.css
|
489
|
-
- /assets/uswds-overrides.css
|
490
|
-
```
|
382
|
+
You have two options for customizing the CSS: [Sass](#customizing-with-sass) or [CSS overrides (#customizing-with-css-overrides). Individual sites can also
|
383
|
+
[selectively override](#overriding-includes-and-layouts) individual includes and layouts.
|
491
384
|
|
492
385
|
### Overriding includes and layouts
|
493
386
|
|
@@ -530,11 +423,10 @@ header data to come directly from the Jekyll configuration file
|
|
530
423
|
`_includes/header.html` to look like this:
|
531
424
|
|
532
425
|
```html
|
533
|
-
{% assign header = site.data.header %}
|
534
|
-
|
426
|
+
{% assign header = site.data.header %} {% include components/header--basic.html
|
427
|
+
%}
|
535
428
|
```
|
536
429
|
|
537
|
-
|
538
430
|
### Header
|
539
431
|
|
540
432
|
The [header.html include](_includes/header.html) sets the `header`
|
@@ -545,7 +437,6 @@ render the header's markup.
|
|
545
437
|
|
546
438
|
See this repo's [header.yml](_data/header.yml) for more info.
|
547
439
|
|
548
|
-
|
549
440
|
### Footer
|
550
441
|
|
551
442
|
The [footer.html include](_includes/footer.html) sets the `header`
|
@@ -556,7 +447,6 @@ render the footer's markup.
|
|
556
447
|
|
557
448
|
See this repo's [footer.yml](_data/footer.yml) for more info.
|
558
449
|
|
559
|
-
|
560
450
|
## Layouts
|
561
451
|
|
562
452
|
This theme provides the following layouts, which you can use by
|
@@ -566,7 +456,9 @@ setting the `layout` [front matter] on each page, like so:
|
|
566
456
|
---
|
567
457
|
layout: name
|
568
458
|
---
|
459
|
+
|
569
460
|
```
|
461
|
+
|
570
462
|
Supported (optional) front matter for page layouts.
|
571
463
|
|
572
464
|
- [page navigation](#page-subnavigation)
|
@@ -591,7 +483,6 @@ This layout implements the [home page
|
|
591
483
|
template](https://designsystem.digital.gov/page-templates/landing/), which
|
592
484
|
accommodates the following [front matter]:
|
593
485
|
|
594
|
-
|
595
486
|
Check out the YAML front matter in the [home demo
|
596
487
|
page](demo/home.html) for an example of how to structure it.
|
597
488
|
|
@@ -601,12 +492,12 @@ This layout implements the [document page
|
|
601
492
|
template](https://designsystem.digital.gov/page-templates/docs/).
|
602
493
|
|
603
494
|
See the [page demo page](demo/page.md) for an example of how this
|
604
|
-
works, and see [_data/navigation.yml](_data/navigation.yml) for how
|
495
|
+
works, and see [\_data/navigation.yml](_data/navigation.yml) for how
|
605
496
|
to structure named navigation data for your site.
|
606
497
|
|
607
498
|
### `layout: post`
|
608
499
|
|
609
|
-
This layout is identical to the layout `page` and is included to allow for easier site creation using
|
500
|
+
This layout is identical to the layout `page` and is included to allow for easier site creation using `Jekyll new`.
|
610
501
|
|
611
502
|
### `layout: project`
|
612
503
|
|
@@ -640,6 +531,137 @@ email: email@address.gov
|
|
640
531
|
|
641
532
|
To show a listing of team members on a page add `{% include team-list.html %} to the page`
|
642
533
|
|
643
|
-
[
|
644
|
-
[
|
534
|
+
[sass]: http://sass-lang.com/guide
|
535
|
+
[jekyll sass]: https://jekyllrb.com/docs/assets/#sassscss
|
645
536
|
[front matter]: https://jekyllrb.com/docs/frontmatter/
|
537
|
+
|
538
|
+
## Migrating from earlier versions
|
539
|
+
|
540
|
+
**Note:** `uswds-jekyll 5.0.0` is only compatible with Jekyll 4.0 and higher.
|
541
|
+
|
542
|
+
1. Update your `uswds-jekyll` gem in your project's Gemfile. Replace the current `gem 'uswds-jekyll'` line with:
|
543
|
+
|
544
|
+
```ruby
|
545
|
+
gem 'uswds-jekyll', '5.0.0'
|
546
|
+
```
|
547
|
+
|
548
|
+
Then, in the terminal, run
|
549
|
+
|
550
|
+
```
|
551
|
+
bundle update uswds-jekyll
|
552
|
+
```
|
553
|
+
|
554
|
+
1. Add any custom styles to `/_sass/custom/`
|
555
|
+
1. `_sass` folder needs to be at the root level, not in assets.
|
556
|
+
1. Convert manual values to tokenzied values using the guidance on the [USWDS migration page](https://designsystem.digital.gov/documentation/migration/#spacing-units).
|
557
|
+
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`.)
|
558
|
+
1. Check that certain data keys exist
|
559
|
+
|
560
|
+
```
|
561
|
+
--> config.yml
|
562
|
+
styles:
|
563
|
+
[nothing unless adding additional stylesheets]
|
564
|
+
|
565
|
+
--> header.yml
|
566
|
+
type: [basic | basic-mega | extended | extended-mega]
|
567
|
+
|
568
|
+
--> footer.yml
|
569
|
+
type: [slim | default | big]
|
570
|
+
|
571
|
+
--> navigation.yml
|
572
|
+
sidenav-breakpoint: {{ breakpoint_token }}
|
573
|
+
|
574
|
+
--> theme.yml (examples)
|
575
|
+
colors:
|
576
|
+
usa-banner:
|
577
|
+
usa-banner-bg: 'base-lightest'
|
578
|
+
usa-banner-text: 'ink'
|
579
|
+
usa-banner-link: 'primary-dark'
|
580
|
+
usa-banner-link-hover: 'primary-darker'
|
581
|
+
header:
|
582
|
+
header-bg: 'white'
|
583
|
+
header-title: 'ink'
|
584
|
+
header-link: 'base'
|
585
|
+
header-link-hover: 'primary-dark'
|
586
|
+
alt-section:
|
587
|
+
bg-color: 'primary-darker'
|
588
|
+
header-color: 'accent-cool'
|
589
|
+
text-color: 'white'
|
590
|
+
link-color: 'base-lightest'
|
591
|
+
link-hover-color: 'white'
|
592
|
+
hero:
|
593
|
+
hero-bg: 'primary-darker'
|
594
|
+
hero-header: 'accent-cool'
|
595
|
+
hero-header-alt: 'white'
|
596
|
+
hero-text: 'white'
|
597
|
+
hero-link: 'accent-cool'
|
598
|
+
hero-button-bg: 'primary'
|
599
|
+
hero-button-text: 'white'
|
600
|
+
top-navigation:
|
601
|
+
top-nav-bg: 'white'
|
602
|
+
top-nav-link: 'base-dark'
|
603
|
+
top-nav-link-hover: 'primary'
|
604
|
+
top-nav-link-hover-bg: 'white'
|
605
|
+
top-nav-link-current: 'base-dark'
|
606
|
+
top-nav-dropdown-bg: 'primary-dark'
|
607
|
+
top-nav-dropdown-link: 'white'
|
608
|
+
top-nav-dropdown-link-hover-bg: 'transparent'
|
609
|
+
side-navigation:
|
610
|
+
side-nav-bg: 'transparent'
|
611
|
+
side-nav-link: 'ink'
|
612
|
+
side-nav-link-hover: 'primary-dark'
|
613
|
+
side-nav-link-hover-bg: 'base-lightest'
|
614
|
+
side-nav-link-current: 'primary-dark'
|
615
|
+
footer:
|
616
|
+
primary-footer-bg: 'base-lightest'
|
617
|
+
primary-footer-link: 'ink'
|
618
|
+
footer-bg: 'base-lighter'
|
619
|
+
footer-text: 'ink'
|
620
|
+
footer-link: 'ink'
|
621
|
+
footer-social-link: 'black-transparent-10'
|
622
|
+
|
623
|
+
```
|
624
|
+
|
625
|
+
1. Check that css is referencing `uswds-theme.css`
|
626
|
+
|
627
|
+
## Development
|
628
|
+
|
629
|
+
To develop this theme and/or test it locally:
|
630
|
+
|
631
|
+
1. Clone this repo
|
632
|
+
|
633
|
+
1. Check the version of USWDS in `package.json` — update to the newest version if necessary, and sync its new files to the theme.
|
634
|
+
|
635
|
+
> `rake update`
|
636
|
+
|
637
|
+
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.
|
638
|
+
|
639
|
+
> `npm start`
|
640
|
+
|
641
|
+
**or**
|
642
|
+
|
643
|
+
Create a new Jekyll project, follow the
|
644
|
+
[installation](#installation) instructions, then change your
|
645
|
+
`Gemfile` to point at the local clone of this repo:
|
646
|
+
|
647
|
+
```ruby
|
648
|
+
gem 'uswds-jekyll', :path => '../path/to/uswds-jekyll'
|
649
|
+
```
|
650
|
+
|
651
|
+
### Publish to Rubygems
|
652
|
+
|
653
|
+
1. Update `spec.version = "NUMBER HERE"` in the uswds-jekyll.gemspec file to the version you want to publish
|
654
|
+
1. Run `bundle install`
|
655
|
+
1. Add a PR for the update and get it merged
|
656
|
+
1. Run `bundle exec rake release`
|
657
|
+
1. Add a GitHub release to the releases page with the same version number
|
658
|
+
1. You should see the latest version here https://rubygems.org/gems/uswds-jekyll
|
659
|
+
|
660
|
+
#### Scripts
|
661
|
+
|
662
|
+
- `start`: Starts the jekyll site
|
663
|
+
- `setup-uswds`: Copies assets from the USWDS package to their theme locations, but running the following scipts, which can also be run separately:
|
664
|
+
- `sync-assets`: Copies assets to `assets/uswds`
|
665
|
+
- `sync-sass`: Copies Sass cource files to `_sass/uswds/src/`
|
666
|
+
- `sync-default-settings`: Copies default settings files to `_sass/uswds/settings`
|
667
|
+
- `sync-theme-settings`: Copies only theme settings files to `_sass/settings`
|