Skip to content

Instantly share code, notes, and snippets.

@tafaust
tafaust / gen-tailwind-cmap.js
Last active January 5, 2023 14:17
Generates
const fs = require('fs');
const pseudo = ['hover', 'active', 'focus']
const prefix = ['text', 'bg'];
const colors = ['primary', 'secondary' , 'success' , 'error' , 'warning'];
const intensity = ['50' , '100' , '200' , '300' , '400' , '500' , '600' , '700' , '800' , '900'];
const fileContent = [];
const p = (str) => fileContent.push(str);