Skip to content

Commit

Permalink
Use semantic color name instead of absolute color name (#2792)
Browse files Browse the repository at this point in the history
Co-authored-by: Chris Swithinbank <[email protected]>
  • Loading branch information
dhruvkb and delucis authored Jan 13, 2025
1 parent d9d415b commit 412effb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/grumpy-terms-accept.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@astrojs/starlight": patch
---

Uses semantic `var(--sl-color-hairline)` for the page sidebar border instead of `var(--sl-color-gray-6)`. This is visually the same as previously but makes it easier to override the hairline color consistently across a site.
2 changes: 1 addition & 1 deletion packages/starlight/components/TwoColumnContent.astro
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ import type { Props } from '../props';
.right-sidebar {
position: fixed;
top: 0;
border-inline-start: 1px solid var(--sl-color-gray-6);
border-inline-start: 1px solid var(--sl-color-hairline);
padding-top: var(--sl-nav-height);
width: 100%;
height: 100vh;
Expand Down

0 comments on commit 412effb

Please sign in to comment.