Skip to content

Commit 0232f0f

Browse files
committed
fix: new tailwind logic
1 parent ea0be8c commit 0232f0f

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ COPY . .
99

1010
RUN curl -sLo tailwindcss https://github.com/tailwindlabs/tailwindcss/releases/latest/download/tailwindcss-linux-x64 && \
1111
chmod +x tailwindcss && \
12-
./tailwindcss -i static/themes.css -o static/tailwind.css --content "templates/**/*.html" --minify
12+
./tailwindcss -i static/themes.css -o static/tailwind.css --minify
1313

1414
RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -ldflags "-s -w" -o /ctp-auth-sso .
1515

static/themes.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
@import "tailwindcss";
2+
@source "../templates/**/*.html";
23

34
/* Enable class-based dark mode (toggled by adding 'dark' class to <html>) */
45
@variant dark (&:where(.dark, .dark *));

0 commit comments

Comments
 (0)