Repository navigation
feat(docs,website): add O_x geometric icon and favicon - #1234
Merged
Merged
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
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.
Summary
Add the adaptive light and dark geometric
O_xSVG icon as both the documentation site favicon and theREADME.mdheader icon.website/public/favicon.svgwith the adaptiveO_xnotched-ring SVG mark (prefers-color-scheme: darkmedia query).docs/assets/icon.svgsoREADME.mdreferences it via a relative path alongsidedocs/assets/demo/ox-demo.webp, andwebsite/public/assetsexposes it automatically.# oxide-codeheading inREADME.mdat48x48withalt="oxide-code icon".logooption unset inwebsite/astro.config.tsbecause Starlight emits<link rel="shortcut icon" href="/favicon.svg" type="image/svg+xml">by default and switches page themes viadata-themewhile the SVG adapts toprefers-color-scheme.Test plan
nix develop -c run-hookspassed (all 20 hooks, includingdprint,markdownlint-cli2,prettier,cspell, andclippy).nix develop .#website -c bash -c 'pnpm --dir website format:check && pnpm --dir website check && pnpm --dir website lint && pnpm --dir website build'passed (0 errors, 29 static pages built, all internal links valid).website/dist/index.htmllinks/favicon.svgand bothwebsite/dist/favicon.svgandwebsite/dist/assets/icon.svgare emitted.