diff --git a/docs/_includes/helpers/base-component.html b/docs/_includes/helpers/base-component.html index 06d70517..994f451d 100644 --- a/docs/_includes/helpers/base-component.html +++ b/docs/_includes/helpers/base-component.html @@ -2,10 +2,6 @@ {% assign uswds_url = include.component | append: '/' | prepend: 'https://designsystem.digital.gov/components/' %} {% assign sass_url = stylesheet | append: '.scss' | prepend: 'https://github.com/18F/identity-style-guide/blob/main/src/scss/components/_' %} - - View USWDS component - +[View USWDS component]({{ uswds_url }}){: .usa-link--external} - - View Login.gov SCSS on GitHub - +[View Login.gov SCSS on GitHub]({{ sass_url }}){: .usa-link--external} diff --git a/docs/_plugins/content_typography.rb b/docs/_plugins/content_typography.rb new file mode 100644 index 00000000..971d766d --- /dev/null +++ b/docs/_plugins/content_typography.rb @@ -0,0 +1,12 @@ +module Kramdown + module Parser + class Kramdown + prepend(Module.new do + def add_link(el, *args) + el.attr['class'] = [*el.attr['class'], 'usa-link'].join(' ') if el.type == :a + super(el, *args) + end + end) + end + end +end diff --git a/docs/_utilities/color.md b/docs/_utilities/color.md index 33796fdd..d2400a81 100644 --- a/docs/_utilities/color.md +++ b/docs/_utilities/color.md @@ -12,7 +12,7 @@ The color codes listed beneath each name indicate what names can be used with th This element has classes bg-primary-lighter and text-primary-dark. -Read more about the U.S. Web Design System’s color utility classes. +Read more about [the U.S. Web Design System’s color utility classes](https://designsystem.digital.gov/utilities/color/). ## Featured palette
diff --git a/docs/index.md b/docs/index.md index 36960ac5..029c2b74 100644 --- a/docs/index.md +++ b/docs/index.md @@ -37,7 +37,7 @@ Install images, stylesheets, and script files in both their original and compile # Built with USWDS -The {{ site.title }} is built using the U.S. Web Design System for a consistent appearance across government sites. +The {{ site.title }} is built using the [U.S. Web Design System](https://designsystem.digital.gov/) for a consistent appearance across government sites.
@@ -46,7 +46,7 @@ The {{ site.title }} is built using the {{ site.package_json.this_version }} which uses uswds@{{ site.package_json.uswds_version }}. Spot an issue? We’d love to hear about it on GitHub. +The latest version is {{ site.package_json.this_version }} which uses uswds@{{ site.package_json.uswds_version }}. Spot an issue? We’d love to hear about it [on GitHub](https://github.com/18F/identity-style-guide/issues).