<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Peiwen Lu</title><description>Peiwen Lu writes about frontend architecture, CSS, web UX engineering, developer tools, and the reasoning behind practical interface solutions.</description><link>https://peiwen.lu</link><atom:link href="https://peiwen.lu/rss.xml" rel="self" type="application/rss+xml"/><lastBuildDate>Fri, 16 Oct 2026 13:30:00 GMT</lastBuildDate><item><title>Revisiting SCSS with Tree-sitter: tree-sitter-scss, scss2-mode and emmet2-mode</title><link>https://peiwen.lu/posts/tree-sitter-scss</link><guid isPermaLink="true">https://peiwen.lu/posts/tree-sitter-scss</guid><description>An independent grammar for SCSS and CSS, finished three and a half years after I shelved it, with the Emacs packages built on it.</description><pubDate>Fri, 16 Oct 2026 00:00:00 GMT</pubDate><category>Sass</category><category>Emacs</category><category>Tree-sitter</category></item><item><title>Blanksheet 2.0: What a CSS Reset Should Be</title><link>https://peiwen.lu/posts/blanksheet</link><guid isPermaLink="true">https://peiwen.lu/posts/blanksheet</guid><description>A reset earns its place by what it leaves behind: what Blanksheet 2.0 leaves and why, and how its principles were made.</description><pubDate>Fri, 06 Mar 2026 15:00:00 GMT</pubDate><category>CSS</category><category>Reset</category></item><item><title>Pixel Mirror</title><link>https://peiwen.lu/posts/pixel-mirror</link><guid isPermaLink="true">https://peiwen.lu/posts/pixel-mirror</guid><description>Pixel Mirror overlays design mockups on a live page for checking a UI against its design pixel by pixel.</description><pubDate>Sat, 28 Dec 2024 13:30:00 GMT</pubDate><category>Design</category><category>CSS</category><category>Svelte</category></item><item><title>Achieving Perfect Vertical Rhythm in Web Browsers</title><link>https://peiwen.lu/posts/rhythm-sass</link><guid isPermaLink="true">https://peiwen.lu/posts/rhythm-sass</guid><description>How rhythm-sass uses baseline ratios derived from font metrics to place every text baseline on a vertical rhythm grid.</description><pubDate>Wed, 23 Oct 2024 09:00:00 GMT</pubDate><category>Sass</category><category>Vertical Rhythm</category><category>Typography</category></item><item><title>Structural Editing of JSX in Emacs with Tree-sitter</title><link>https://peiwen.lu/posts/mastering-jsx-editing-in-emacs</link><guid isPermaLink="true">https://peiwen.lu/posts/mastering-jsx-editing-in-emacs</guid><description>Emacs commands that empty or raise a JSX element, clear an attribute value or delete up to a closing delimiter, with their code and keybindings.</description><pubDate>Wed, 15 May 2024 00:00:00 GMT</pubDate><category>Emacs</category><category>Tree-sitter</category><category>JSX</category></item><item><title>Selectors for Humans, Hashes for Machines</title><link>https://peiwen.lu/posts/hashing-collision-detection</link><guid isPermaLink="true">https://peiwen.lu/posts/hashing-collision-detection</guid><description>A Vite config that ships short CSS Modules hashes in production and stops the build when two of them collide.</description><pubDate>Fri, 19 Apr 2024 00:00:00 GMT</pubDate><category>CSS</category><category>CSS Modules</category><category>Vite</category></item><item><title>Embedding SVG Icons in CSS</title><link>https://peiwen.lu/posts/svg-in-css</link><guid isPermaLink="true">https://peiwen.lu/posts/svg-in-css</guid><description>SVG icons as URL-encoded CSS masks colored by the element&apos;s background, and a tool that generates the CSS for a whole icon set.</description><pubDate>Mon, 18 Sep 2023 00:00:00 GMT</pubDate><category>SVG</category><category>CSS Mask</category></item><item><title>Anonymous Functions and Threading Macros in Sass</title><link>https://peiwen.lu/posts/lambda-sass</link><guid isPermaLink="true">https://peiwen.lu/posts/lambda-sass</guid><description>How lambda-sass turns Clojure-style function literals into Sass function calls, from a wrapper around meta.call() to reduce().</description><pubDate>Wed, 12 Jul 2023 00:00:00 GMT</pubDate><category>Sass</category><category>Clojure</category></item><item><title>Extending Emmet in Emacs</title><link>https://peiwen.lu/posts/emmet2-mode</link><guid isPermaLink="true">https://peiwen.lu/posts/emmet2-mode</guid><description>emmet2-mode&apos;s original design, which ran Emmet through Deno and added abbreviations of my own for JSX, CSS Modules and SCSS.</description><pubDate>Mon, 03 Jul 2023 00:00:00 GMT</pubDate><category>Emmet</category><category>Emacs</category><category>Deno</category></item></channel></rss>