Skip to content

Instantly share code, notes, and snippets.

View xylophonehero's full-sized avatar

Nick Worrall xylophonehero

View GitHub Profile
@xylophonehero
xylophonehero / convert-to-tailwind.js
Last active September 30, 2025 13:08
Twin.macro conversion to tailwind-styled-components
#!/usr/bin/env node
const fs = require('fs')
const path = require('path')
const childProcess = require('child_process')
/**
* Migration script for converting twin.macro to tailwind-styled-components
*
* Transformations: