tldraw/scripts/purge-css.ts
Steve Ruiz 1f425dcab3
[tweak] dark mode colors (#2469)
This PR fixes a few dark mode colors and removes some unused styles.

### Change Type

- [x] `patch` — Bug fix
2024-01-14 16:27:16 +00:00

14 lines
326 B
TypeScript

import { PurgeCSS } from 'purgecss'
import { nicelog } from './lib/nicelog'
async function main() {
const purgeCSSResults = await new PurgeCSS().purge({
content: ['packages/tldraw/**/*.tsx', 'packages/editor/**/*.tsx'],
css: ['packages/tldraw/src/lib/ui.css'],
rejected: true,
})
nicelog(purgeCSSResults)
}
main()