From 10d5b4a58336236d9bf4a81dadb49718a7e919b6 Mon Sep 17 00:00:00 2001 From: ayaka Date: Wed, 5 Jun 2024 10:38:15 +1200 Subject: [PATCH 1/4] fix dockerfile --- Dockerfile | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Dockerfile b/Dockerfile index 2930173..b1021c8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,7 +4,7 @@ FROM rust:alpine AS builder RUN apk add --no-cache musl-dev git -WORKDIR /redlib +WORKDIR /redsunlib COPY . . @@ -19,16 +19,16 @@ COPY --from=builder /usr/share/ca-certificates /usr/share/ca-certificates COPY --from=builder /etc/ssl/certs /etc/ssl/certs # Copy our build -COPY --from=builder /redlib/target/x86_64-unknown-linux-musl/release/redlib /usr/local/bin/redlib +COPY --from=builder /redsunlib/target/x86_64-unknown-linux-musl/release/redsunlib /usr/local/bin/redsunlib # Use an unprivileged user. -RUN adduser --home /nonexistent --no-create-home --disabled-password redlib -USER redlib +RUN adduser --home /nonexistent --no-create-home --disabled-password redsunlib +USER redsunlib # Tell Docker to expose port 8080 EXPOSE 8080 -# Run a healthcheck every minute to make sure redlib is functional +# Run a healthcheck every minute to make sure redsunlib is functional HEALTHCHECK --interval=1m --timeout=3s CMD wget --spider -q http://localhost:8080/settings || exit 1 -CMD ["redlib"] \ No newline at end of file +CMD ["redsunlib"] \ No newline at end of file From bae220d4fe04746ca6124db0691f5d52bb6c79ef Mon Sep 17 00:00:00 2001 From: ayaka Date: Thu, 6 Jun 2024 04:30:32 +1200 Subject: [PATCH 2/4] fix settings selection alignment --- static/style.css | 1 + 1 file changed, 1 insertion(+) diff --git a/static/style.css b/static/style.css index 98c968e..3254dbb 100644 --- a/static/style.css +++ b/static/style.css @@ -1440,6 +1440,7 @@ summary.comment_data { box-shadow: var(--shadow); margin-left: 20px; background: var(--foreground); + text-align: right; } aside.prefs { From fb0814babd834438dea0c4faf561fbc3f9947a17 Mon Sep 17 00:00:00 2001 From: ayaka Date: Thu, 6 Jun 2024 04:43:43 +1200 Subject: [PATCH 3/4] change alignment fix --- static/style.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/style.css b/static/style.css index 3254dbb..fdfc832 100644 --- a/static/style.css +++ b/static/style.css @@ -1440,7 +1440,7 @@ summary.comment_data { box-shadow: var(--shadow); margin-left: 20px; background: var(--foreground); - text-align: right; + width: 30%; } aside.prefs { From 21da37246e83b744f42cb53923053689e3fff620 Mon Sep 17 00:00:00 2001 From: Ayaka Date: Thu, 6 Jun 2024 04:54:03 +1200 Subject: [PATCH 4/4] update catppuccin discernible difference in foreground color --- static/themes/catppuccin.css | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/static/themes/catppuccin.css b/static/themes/catppuccin.css index bb1d563..0072619 100644 --- a/static/themes/catppuccin.css +++ b/static/themes/catppuccin.css @@ -1,8 +1,9 @@ +/* Catppuccin theme setting */ .catppuccin { --accent: #b4befe; /* lavender */ --green: #a6e3a1; /* green */ --text: #cdd6f4; /* text */ - --foreground: #11111b; /* crust */ + --foreground: #181825; /* mantle */ --background: #1e1e2e; /* base */ --outside: #11111b; /* crust */ --post: #11111b; /* crust */