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
2 changes: 1 addition & 1 deletion src/docs.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"colors": {
"primary": "#2F6868",
"light": "#84C4C0",
"dark": "#84C4C0"
"dark": "#2F6868"
},
"logo": {
"light": "/images/brand/langchain-docs-teal.svg",
Expand Down
29 changes: 7 additions & 22 deletions src/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -63,35 +63,20 @@ button.version-picker-button span {
margin-right: 0 !important; /* Remove any extra margin */
}

/* Force the dropdown arrow to always show */
button.version-picker-button svg {
display: block !important; /* Force display */
visibility: visible !important; /* Force visibility */
opacity: 1 !important; /* Make sure it's opaque */
flex-shrink: 0 !important; /* Don't shrink */
width: 12px !important; /* Set fixed width */
height: 12px !important; /* Set fixed height */
margin-left: 0 !important; /* Remove any extra margin */

/* Hide arrow in buttons with bg-primary-dark */
button:has(.bg-primary-dark) svg path[d="M0 0L3 3L0 6"],
.group:has(.bg-primary-dark) svg path[d="M0 0L3 3L0 6"],
button:has(.bg-primary-dark) svg,
.group:has(.bg-primary-dark) svg {
display: none !important;
}

#banner {
max-width: 100% !important;
color: var(--brand-600) !important; /* Use the dark green brand color */
}

#banner * {
color: var(
--brand-600
) !important; /* Force all banner text to use brand color */
}

#banner a {
text-decoration: underline !important;
color: var(
--brand-600
) !important; /* Ensure links also use the brand color */
}

/* Ensure callout links and lists match callout text formatting */
.callout a,
[class*="callout"] a {
Expand Down