Repository navigation
fix(docs): valid accent token (orange -> peach) + ship logo.png - #40
Merged
Merged
Conversation
Live vision audit (2026-10-05) found two UI defects on codecora.dev/covecto/docs: 1. Primary CTA 'Get Started' invisible: accent: 'orange' is not a member of the theme's Accent union (green/mauve/blue/red/peach/teal/yellow/ lavender), so ACCENT_VAR['orange'] injected --cc-accent: undefined and the brand button rendered transparent-bg + dark text on dark bg. Computed style verified: backgroundColor rgba(0,0,0,0). Fix: 'peach' (closest to intended orange; --cc-peach = #fab387). 2. Navbar logo broken (naturalWidth=0): theme hardcodes src '/logo.png' which does not resolve under base '/covecto/docs/'; repo had no docs/public/. Fix: add brand logo at docs/public/logo.png (mirrors web-landing static asset). Validated: vitepress build clean; dist/index.html carries --cc-accent:var(--cc-peach); dist/logo.png present. Theme-level follow-ups tracked in codecora-theme#6.
ajianaz
added a commit
that referenced
this pull request
Oct 5, 2026
Merge develop into main — docs UI fixes (accent + logo, PR #40)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
What
docs/.vitepress/config.ts:accent: 'orange'→accent: 'peach'docs/public/logo.png: brand logo asset (28.7 KB, mirrors web-landingstatic/logo.png)Why (live vision audit 2026-10-05, codecora.dev/covecto/docs)
orangeis not a member of the theme'sAccentunion (green|mauve|blue|red|peach|teal|yellow|lavender), soACCENT_VAR['orange']injected--cc-accent: undefined— the brand button rendered withbackgroundColor: rgba(0,0,0,0)+ dark text on a dark background (computed-style verified in headless Chromium).peach(#fab387) is the closest valid token to the intended orange.naturalWidth = 0). The theme hardcodessrc: '/logo.png', which does not resolve under base/covecto/docs/, and the repo had nodocs/public/fallback. Shippingdocs/public/logo.pngmakes/covecto/docs/logo.pngexist (verified in build output).Both defects pre-date today's SEO meta change (PR #38) — found during the owner-requested live visual audit.
How
vitepress buildclean;dist/index.htmlcarries--cc-accent:var(--cc-peach);dist/logo.pngpresentcora reviewpassed pre-commit; only the two intended files staged/committedopts.head, literal#via defaulth2::before) tracked in codecora-theme#6deploy-website.yml