diff --git a/docs/content/components/navigation.md b/docs/content/components/navigation.md index 090b9e39..2bb8268b 100644 --- a/docs/content/components/navigation.md +++ b/docs/content/components/navigation.md @@ -436,18 +436,7 @@ You can have `subnav-search` in the subnav bar.
``` @@ -462,53 +451,16 @@ You can also use a `subnav-search-context` to display search help in a select me Item 3 - ``` diff --git a/src/navigation/subnav.scss b/src/navigation/subnav.scss index f268a89f..c3aa9c2f 100644 --- a/src/navigation/subnav.scss +++ b/src/navigation/subnav.scss @@ -20,12 +20,12 @@ .subnav-item { position: relative; float: left; - // stylelint-disable-next-line primer/spacing - padding: 6px 14px; - font-weight: $font-weight-bold; + padding: 6px $spacer-3; + // stylelint-disable-next-line primer/typography + font-weight: 500; // stylelint-disable-next-line primer/typography line-height: 20px; - color: $text-gray; + color: $text-gray-dark; border: $border; + .subnav-item { @@ -46,7 +46,7 @@ color: $text-white; background-color: $bg-blue; // stylelint-disable-next-line primer/borders - border-color: $blue; + border-color: $blue-600; } &:first-child { @@ -63,13 +63,12 @@ .subnav-search { position: relative; // stylelint-disable-next-line primer/spacing - margin-left: 10px; + margin-left: 12px; } .subnav-search-input { width: 320px; - // stylelint-disable-next-line primer/spacing - padding-left: 30px; + padding-left: $spacer-5; color: $text-gray; } @@ -83,7 +82,7 @@ left: 8px; display: block; // stylelint-disable-next-line primer/colors - color: darken($gray-300, 4%); + color: $gray-400; text-align: center; pointer-events: none; } @@ -128,5 +127,5 @@ .subnav-spacer-right { // stylelint-disable-next-line primer/spacing - padding-right: 10px; + padding-right: 12px; }