Design experiment: dark-mode elevation + homepage masthead/index - #44
Merged
Conversation
Elevated surfaces (search modal, newsletter dialog) drew near-black on near-black with an invisible shadow. Add --elevated/--elevated-border/ --scrim tokens so dialogs sit lighter than the page with a visible edge.
Deploying mlsystems with
|
| Latest commit: |
b4b66d6
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://11afb5ce.mlsystems.pages.dev |
| Branch Preview URL: | https://design-masthead-and-dark-ele.mlsystems.pages.dev |
|
Tip |
Replace the hero card grids (Featured/Latest) with a numbered, ruled editorial index and add a masthead rule with a mono wordmark, so the homepage reads as a publication rather than a template.
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.
Experimental branch for the Cloudflare preview — not for merge yet.
In this PR
1. Dark-mode dialog contrast (fix) ✅
Elevated surfaces (search modal, newsletter dialog, side panel) were drawing near-black on near-black with invisible shadows, so edges vanished in dark mode. Added
--elevated/--elevated-border/--scrimtokens: dialogs now sit lighter than the page with a visibly lighter border (shadows can't separate surfaces on a near-black background).2. Homepage masthead + editorial index 🚧 (incoming)
Replacing the SaaS-template silhouette (hero + two identical card grids) with a zine masthead and a numbered, ruled editorial index — to make the site read as a publication, not a generated template.
Preview both on the Cloudflare deployment for this PR.