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
1 change: 1 addition & 0 deletions docs.json
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@
"group": "Code Insights",
"icon": "chart-line",
"root": "platform/insights",
"tag": "NEW",
"pages": [
"platform/insights/findings",
"platform/insights/repository-health",
Expand Down
15 changes: 15 additions & 0 deletions sidebar-groups.css
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,18 @@ html.dark #navigation-items a.nav-anchor svg {
html.dark #navigation-items a.nav-anchor:hover svg {
background-color: rgb(var(--gray-300)) !important;
}

/* Sidebar tags such as NEW. Mintlify draws them as primary text on
bg-primary/10. Our primary colour is black in both themes, so that
chip is clear in light mode and disappears in dark mode. Keep the
default light-mode chip, and use a light translucent chip in dark
mode. Body text is set to 400 across chrome, so restore the weight
Mintlify already asks for on the tag. */
.nav-tag-pill-text {
font-weight: 600;
}

html.dark .nav-tag-pill-text {
background-color: rgb(255 255 255 / 14%);
color: #fff;
}
Loading