fix: update dark mode logo and add subtle gradient background #89
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
This PR addresses two visual improvements for the docs-starter:
Dark mode logo fix: Updated the logo configuration to use a separate dark mode logo (
logo-dark.svg) with white text, replacing the previous setup that used the same logo for both modes.Subtle gradient background: Added a custom CSS file with a subtle linear gradient background that works for both light and dark modes, using the respective accent colors at 3% opacity fading from top to transparent.
Files changed:
fern/docs.yml- Updated logo config to referencelogo-dark.svgfor dark mode, added CSS referencefern/docs/assets/logo-dark.svg- Replaced with new SVG logo (white text)fern/styles.css- New file with gradient background CSS for both modesUpdates since last revision
rgba(0, 135, 0, 0.03)(the light accent color)rgba(112, 225, 85, 0.03)(the dark accent color)Review & Testing Checklist for Human
.fern-background-imageand:root.dark .fern-background-imageselectorsRecommended test plan: Run
fern docs devlocally, toggle between light and dark modes, and verify both the logo and gradient background look correct in each mode. Check multiple pages to ensure the gradient appears consistently.Notes
fern checkpasses with 0 errorsLink to Devin run: https://app.devin.ai/sessions/95131426440742f1912ad251034b5c53
Requested by: Kapil Gowru (@kgowru)