Futuristic font, blue theme and a falling-blocks backdrop - #4
Merged
Merged
Conversation
Chakra Petch for the UI and body, JetBrains Mono for every font-mono, which includes fumadocs' code blocks since they read Tailwind's --font-mono. The arbitrary heading weights become font-semibold. Chakra Petch has no variable cut, so 620-650 resolved up to the 700 face and flattened the hierarchy they were tuned for.
Swaps fumadocs' neutral preset for ocean, which tints the surface in both modes. The logo blue stays as the primary because ocean's own is a near-black navy that barely reads as a link, and the light ground is dropped a step so light mode is blue rather than only its chrome. The backdrop is one SVG tile listed three times at three sizes, each layer travelling exactly its own tile height per cycle so the loop is seamless. It lives in body's background, the one layer above the page colour and below all content, and replaces ocean's dark-mode gradient.
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.
Three changes to the site's look, all in
src/app/layout.tsxandsrc/app/global.css.Fonts. Chakra Petch for UI and body, JetBrains Mono for every
font-mono, which includes fumadocs' code blocks since they read Tailwind's--font-mono. The arbitrary heading weights becomefont-semibold: Chakra Petch has no variable cut, so 620-650 resolved up to the 700 face and flattened the hierarchy they were tuned for.Blue theme. Swaps fumadocs'
neutralpreset forocean, which tints the surface in both modes. The logo blue stays as the primary because ocean's own is a near-black navy that barely reads as a link. The light ground drops a step so light mode is blue rather than only its chrome, scoped with:root:not(.dark)because a bare:rootties with ocean's.darkon specificity and, being imported later, would paint the dark page light.Falling-blocks backdrop. One SVG tile listed three times at three sizes, each layer travelling exactly its own tile height per cycle so the loop is seamless, and three distances in one duration is what gives three speeds. It lives in
body's background, the one layer guaranteed above the page colour and below all content, so there is no z-index to lose and nothing to exclude from pointer events. No element, no canvas, no JS. It replaces ocean's dark-mode gradient wash. Reduced-motion users get the pattern without the movement.Verified in Chrome over CDP in both modes: three layers repeating and animating at three different rates,
bodyresolving torgb(244,246,251)light andrgb(8,16,33)dark.🤖 Generated with Claude Code