~/talk

Building the Dark Mode of Your Dreams with Color Science

Talkat React Boston 2019 · 2019-09-21..09-22· [design-collaboration, accessibility]
slides:none on file

Practical takeaways: use LCHuv (called here LCHuv) or HSLuv to generate perceptually uniform ramps so each hue yields usable light and dark stops; stops ≤50 pair with black above WCAG 4.5:1 and ≥60 pair with white above 4.5:1 (7:1 only for stricter cases); a demo tool Color Lab (colorlab.dev) generates ramps, exports JSON and CSS/Swift/Android and it works; implement switching with the CSS media query prefers-color-scheme plus a user preference and theme/context wiring in React.

AI-written summary · about

  1. 0:00Start
  2. 3:55Intuitive
  3. 5:38Light and Dark Modes
  4. 6:34Representing Color
  5. 13:47Creating a Color Ramp
  6. 16:09Putting It Together
  7. 21:20Color Lab
  8. 23:28Show me the code!
  9. 26:53Be kind to future you
  10. 27:24Thank you!
~/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.