Skip to content
← writing

Faking an aurora glow with nothing but inset shadows

css
box-shadow
dark-mode
frontend

Ask your agent to implement this

Read the full writeup at https://seangeng.com/writing/faking-a-glow-with-inset-shadows.md and implement it in my project.

It covers: Faking an aurora glow with nothing but inset shadows. How to make a dark tile look lit from within, with a colored glow rising off the bottom edge, using four stacked inset box-shadows and one outer bloom. No gradients-on-gradients, no images, no blur filters.

Requirements:
- Follow the technique/approach exactly as described in the writeup.
- Adapt names, colors, and styling to my project's existing conventions.
- If it's a component, make it reusable with sensible props and TypeScript types.
- Keep it accessible: semantic HTML, keyboard support, and respect prefers-reduced-motion.
- When done, tell me which files you created or changed and how to use it.

Paste into Claude Code, Codex, Cursor, or any agent. view raw .md download source .zip