درباره این اپیزود
Light mode? Dark mode? Scott and Wes break down the best ways to implement theme switching in CSS, from prefers-color-scheme to manual overrides. Plus, tips on handling shadows, icons, and the dreaded flash of dark mode!
Show Notes- 00:00">00:00 Welcome to Syntax!
- 01:05">01:05 Brought to you by Sentry.io.
- 02:06">02:06 Light and dark mode, things to consider.
- 02:31">02:31 Light and dark mode from scratch.
- drop-in.css.
- 04:41">04:41 Calculations vs assigned color.
- 05:32">05:32 color-mix and relative color.
- 08:15">08:15 Foreground and background variables.
- –tint-or-shade: color-mix(in oklab, var(–fg), transparent 95%);
- –tint-or-shade-harder: color-mix(in oklab, var(–fg), transparent 90%);
- 09:13">09:13 Setting color scheme.
- 12:38">12:38 light-dark function in CSS.
- 15:48">15:48 Manually setting dark mode.
- 19:52">19:52 Shoehorning in dark mode.
- 22:25">22:25 Other things to consider.
Syntax: X Instagram Tiktok LinkedIn Threads
Wes: X Instagram Tiktok LinkedIn Threads
انگلیسی
ایالات متحده آمریکا
رونوشت 🔗
Are you the producer of this podcast?
Add a podcast transcript
Need Audio-to-Text?
Transcribe with Listen411 in Just 60 Seconds
جستجوی اپیزودهای گذشته
اپیزودهای قبلی Syntax - Tasty Web Development Treats را جستجو کن.
قسمت های دیگر در این پادکست
Scott and Wes tackle your potluck questions, from passing context between Claude Code and Codex to whether AI-generated skills are any good. Plus high-fidelity Figma builds, WebSerial reconnects on an ESP32, AG-UI vs WebMCP, a listener who thinks Syntax is too pro-AI, and Scott’s minimal Pi setup.
…
Deno is shutting down and the team is heading to Cloudflare — Scott, Wes, and CJ break down what that means for the runtime, JSR, and workerd. Plus OpenCode 2.0 on durable objects, TanStack Start 1.0, SubQ Snap, Gemini 4 Argon, and Wes’s accidental $50 photo frame movement.
Show Notes
00:00 Wel…
Wes, Scott, and CJ run through the week’s biggest web dev news: everyone’s hacking their TVs, VoidZero open-sourced its Void framework with Cloudflare deploys, OpenCode got hacked, and Anthropic built its own git replacement. Plus DeepSeek V4.1 Flash, Cloudflare’s security audit skill, Krea 3, a lo…
Scott, Wes, and CJ report live from GitHub Universe in San Francisco, breaking down GitHub’s re-architecture for agent-scale traffic, the GitHub Copilot app, Copilot Fusion, Projects, Automations, and AI push protection. Plus hacked conference badges, a USB-C lanyard, and the Syntax macropad.
Show…
Scott and Wes talk with Adam Jacob about software factories: what they actually are, why they’re unique to each team, and how to build trust in agent-generated code. They dig into Swamp Club, black box testing, domain driven design, adversarial review for accessibility, and whether unit tests still…
سلب مسئولیت: پادکست و آثار هنری تعبیه شده در این صفحه متعلق به Wes Bos & Scott Tolinski - Full Stack JavaScript Web Developers است که متعلق به صاحب آن است و به Listen Notes، Inc وابسته یا تایید نشده است.
ویرایش
از کمک شما برای بروز نگهداشتن پایگاهدادههای پادکست سپاسگزاریم