From da8e8b8b15986b7b5d01a4069a79ef19f1a24424 Mon Sep 17 00:00:00 2001 From: mkelvers Date: Sat, 25 Apr 2026 22:24:45 +0200 Subject: [PATCH] fix(ui): update tailwind source paths and build order --- .dockerignore | 8 ++++++++ Dockerfile | 6 +++--- static/style.css | 3 ++- 3 files changed, 13 insertions(+), 4 deletions(-) create mode 100644 .dockerignore diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 0000000..cf703a9 --- /dev/null +++ b/.dockerignore @@ -0,0 +1,8 @@ +node_modules +dist +.env +*.db +*.db-journal +*.db-wal +.DS_Store +.git diff --git a/Dockerfile b/Dockerfile index 7b0a1ff..6c5e461 100644 --- a/Dockerfile +++ b/Dockerfile @@ -24,12 +24,12 @@ RUN bun install --frozen-lockfile COPY . . -# Build frontend assets (tailwind + ts) -RUN bun run build:assets - # Generate templ files RUN templ generate +# Build frontend assets (tailwind + ts) +RUN bun run build:assets + # Generate sqlc code RUN sqlc generate diff --git a/static/style.css b/static/style.css index 5a87fea..a1919a3 100644 --- a/static/style.css +++ b/static/style.css @@ -2,7 +2,8 @@ @import url('https://fonts.googleapis.com/css2?family=DM+Sans:opsz,wght@9..40,400;9..40,500;9..40,600;9..40,700&display=swap'); @import '@toolwind/anchors'; -@source '../../internal/**/*.templ'; +@source "../internal/**/*.templ"; +@source "../web/**/*.templ"; :root { color-scheme: light dark;