Snippets
Bits of code I use and share. Each one is a plain file you can fetch with curl. Also as a feed.
Snippets · Pablo Murad
December 2026
-
A small script to pull a site's CSS variables
a-small-script-to-pull-a-sites-css-variables.js
A small piece of JavaScript I wrote: paste it in the browser's developer console and it collects a site's CSS variables, classes, IDs and the rules for colors, fonts and spacing, then downloads everything as a JSON file.
curl -O https://pablomurad.com/snippets/a-small-script-to-pull-a-sites-css-variables.js