Skip to content

fix(theme) + docs: dark-mode persistence, merged DEPLOYMENT, GA env clarity - #34

Merged
slaveofcode merged 3 commits into
mainfrom
develop
Jul 26, 2026
Merged

fix(theme) + docs: dark-mode persistence, merged DEPLOYMENT, GA env clarity#34
slaveofcode merged 3 commits into
mainfrom
develop

Conversation

@slaveofcode

Copy link
Copy Markdown
Owner
  • fix(theme): dark mode no longer resets on View Transitions navigation (re-apply on astro:after-swap).
  • docs: merge DEPLOYMENT-GIT into one improved DEPLOYMENT.md; drop PUBLIC_GA_ID from .env.example (SITE_GA_ID is the single build-var knob).

Kresna added 3 commits July 26, 2026 23:11
Dark mode reset to light when navigating between pages: the inline theme script
ran only on initial load, so after a <ViewTransitions> swap the runtime 'dark'
class was lost when the incoming (light) static page swapped in. Re-apply the
stored theme on astro:after-swap (before paint, no flash).
Consolidate the two deploy docs; modernize the env-var section (SITE_GA_ID build
var + branch-based auto-gating, split prod/staging R2 buckets, sync:r2 scripts).
Remove DEPLOYMENT-GIT.md; fix the wrangler.jsonc reference.
… a build var

Reduces confusion: one GA knob (SITE_GA_ID, set as a production BUILD variable on
Cloudflare). PUBLIC_GA_ID remains internal plumbing (astro.config sets it from
SITE_GA_ID on main builds).
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Jul 26, 2026

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
✅ Deployment successful!
View logs
goodwebtools 84daf58 Jul 26 2026, 04:26 PM

@slaveofcode
slaveofcode merged commit 608199e into main Jul 26, 2026
2 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant