~/talk

Shining the Light on HTML Email Dark Modes

Talkat SmashingConf Freiburg 2022 · 2022-09-05..09-07· [web-platform]
slides:none on file

Maintains canIemail.com and shows five practical fixes: always test (use parser.io and Firefox devtools), prefer transparent images or add invisible outlines for dark backgrounds, and add the Apple Mail meta/color-scheme so CSS dark rules and picture switching work. For Outlook.com use the data-ogsb/data-ogsc attributes plus class-name exclusion to emulate light/dark, and for Gmail apply a linear-gradient background plus difference and screen blend modes to keep button colors intact. Notes Outlook for Windows moving to Edge WebView.

AI-written summary · about

  1. 0:00Introduction to HTML email
  2. 1:54The impact of dark mode
  3. 4:00Embracing user preferences
  4. 7:22Image optimization techniques
  5. 10:31Using media queries
  6. 15:05Outlook-specific tweaks
  7. 18:54Fixing Gmail with blend modes
  8. 29:14Outlook future and outlook
  9. 31:20Q&A and community closing
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.