~/talk

How can Javascript improve your CSS mixins

Talkat JSConf Budapest 2017 · 2017-10-26..10-27· [javascript, developer-experience]
slides:none on file

Uses PostCSS to replace SASS-style mixins with JS files (example size.js), implements a real postcss plugin that reads declaration.value, uses node.cloneBefore and declaration.remove to emit width/height so original property is stripped, and drives development with unit tests via the provided run helper. The example plugin passes tests after fewer than ten lines of code, can handle multiple values, and is publishable (see postcss-short-size).

AI-written summary · about

  1. 0:00Introduction
  2. 1:20Post CSS
  3. 6:02Unit Tests
  4. 7:18My story
  5. 8:05Testing
  6. 9:18Web evolution
  7. 11:07How can you share this
  8. 13:57Run function
  9. 15:30Test
  10. 17:02Publish
  11. 18:16CSS NGS
~/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.