~/talk

Two PostCSS plugins for color control

TalkinRussianat FrontTalks 2018 · 2018-09-14..09-15· [css, compilers-and-language-design]
links:none on file
slides:none on file

Covers two PostCSS plugins for color management: one simple plugin to replace one color with another (a junior-dev exercise) and a more complex theme generator that transforms component styles into multiple color variants. Explains how to traverse and modify the CSS AST (using PostCSS and CSSTree together) with concrete, real-world examples.

AI-written summary · about

  1. 0:00Introduction
  2. 2:29What is PostCSS and plugins
  3. 5:01Writing first plugin
  4. 8:22Color replacement issues
  5. 11:55CSS3 for precise parsing
  6. 14:45Color processing with visitors
  7. 17:35Real example with color schemes
  8. 21:59Plugin for themes
  9. 24:56Automating shades and variants
  10. 27:47Results and plugin benefits
  11. 28:31Conclusion
  12. 30:43Q&A
~/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.