From d40314d5c705a25ae9753890e85db1133d4e7d22 Mon Sep 17 00:00:00 2001 From: Mike Bostock Date: Tue, 23 Jan 2024 12:54:17 -0800 Subject: [PATCH] tailwind --- package.json | 1 + src/render.ts | 11 ++ src/style/tailwind.css | 3 + tailwind.config.js | 7 + yarn.lock | 389 ++++++++++++++++++++++++++++++++++++++++- 5 files changed, 402 insertions(+), 9 deletions(-) create mode 100644 src/style/tailwind.css create mode 100644 tailwind.config.js diff --git a/package.json b/package.json index a9e6ae3b8..79be9a180 100644 --- a/package.json +++ b/package.json @@ -69,6 +69,7 @@ "rollup": "^4.6.0", "rollup-plugin-esbuild": "^6.1.0", "send": "^0.18.0", + "tailwindcss": "^3.4.1", "tar-stream": "^3.1.6", "tsx": "~4.2.1", "ws": "^8.14.2" diff --git a/src/render.ts b/src/render.ts index 420973a53..480370718 100644 --- a/src/render.ts +++ b/src/render.ts @@ -81,6 +81,17 @@ if (location.pathname.endsWith("/")) { `) : "" } + + +