Skip to content

Commit

Permalink
Update the L2 nav to align with pulumi/docs#12693 (#5431)
Browse files Browse the repository at this point in the history
  • Loading branch information
cnunciato authored Sep 16, 2024
1 parent 74de88c commit 8e883e9
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 4 deletions.
15 changes: 12 additions & 3 deletions themes/default/layouts/partials/docs/search.html
Original file line number Diff line number Diff line change
@@ -1,8 +1,17 @@
<div class="docs-type-nav-search">
<div class="docs-type-nav">
<a class="tab" href="/docs/">
<div class="docs-type-nav pt-1 overflow-x-scroll">
<a class="whitespace-nowrap tab" href="/docs/">
<img class="tab-icon" src="/icons/docs-light.svg" />
Docs
Docs Home
</a>
<a class="whitespace-nowrap tab" href="/docs/iac/">
<span>Pulumi IaC</span>
</a>
<a class="whitespace-nowrap tab" href="/docs/esc/">
<span>Pulumi ESC</span>
</a>
<a class="whitespace-nowrap tab" href="/docs/pulumi-cloud/">
<span>Pulumi Cloud</span>
</a>
<a class="tab-selected" href="/registry">
<img class="tab-icon" src="/icons/registry.svg" />
Expand Down
2 changes: 1 addition & 1 deletion themes/default/theme/src/scss/_search.scss
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
@apply font-bold;
border-bottom: 5px solid map-get($brand, "violet");
color: map-get($gray, 950);
background-color: map-get($gray, 125);
background-color: map-get($gray, 100);
}
}
}
Expand Down

0 comments on commit 8e883e9

Please sign in to comment.