Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
43 changes: 43 additions & 0 deletions docs/_sass/color_schemes/rust.scss
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,46 @@ $nav-child-link-color: #c0c0c0;

// Footer
$footer-background-color: #171717;

// ── Accessibility & contrast overrides ──

// Active nav item: subtle background, high-contrast white text (no orange bleed)
.site-nav .nav-list-item {
.nav-list-link.active {
background: rgba(232, 125, 47, 0.12);
color: #ffffff;
font-weight: 600;
background-image: none; // kill the default gradient
border-left: 3px solid #e87d2f;
padding-left: 9px; // compensate for border
}

.nav-list-link:hover {
background: rgba(232, 125, 47, 0.08);
color: #ffffff;
background-image: none;
}
}

// Ensure sidebar text stays readable
.site-nav {
.nav-list-link {
color: #d0d0d0;
}
}

// Site title/header link contrast
.site-title {
color: #f0f0f0 !important;
}

// Search input contrast
.search-input {
color: #e0e0e0;
border-color: #3d3d3d;

&:focus {
border-color: #e87d2f;
box-shadow: 0 0 0 2px rgba(232, 125, 47, 0.25);
}
}
2 changes: 1 addition & 1 deletion docs/spec-format.md
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ Track reverse dependencies under `## Dependencies`. SpecSync validates that refe

## Full Example

<details>
<details markdown="block">
<summary>Complete spec file</summary>

```markdown
Expand Down
Loading