0
0

Redlib: updated colours
Some checks failed
wolfree / build (push) Failing after 3s
simplytranslate / build (push) Failing after 2s
searxng / build-searxng (push) Failing after 3s
redlib / build-redlib (push) Failing after 2s
rat-aint-tieba / build (push) Failing after 6s
proxigram / build (push) Failing after 4s
priviblur / build-priviblur (push) Failing after 3s
imgin / build (push) Failing after 4s
binternet / build (push) Failing after 3s

This commit is contained in:
Opnxng 2024-10-09 22:50:14 +08:00
parent ca47d7a3a0
commit 88c1abe195

View File

@ -10,11 +10,18 @@ RUN apk add --no-cache curl git musl-dev
RUN git clone https://github.com/redlib-org/redlib && \ RUN git clone https://github.com/redlib-org/redlib && \
cd redlib && \ cd redlib && \
sed -i 's/--green: #5cff85;/--green: #0A8754;/g' static/style.css && \ sed -i 's/--green: #5cff85;/--green: #0A8754;/g' static/style.css && \
sed -i 's/#9a0000/#2968AC/g' static/themes/black.css && \
sed -i 's/#9a0000/#4385BE/g' static/themes/light.css && \
sed -i 's/--accent: red;/--accent: #2968AC;/g' static/style.css && \
sed -i 's/red/#4385BE/g' static/themes/dark.css && \
sed -i 's/--accent: #9a0000;/--accent: #4385BE;/g' static/style.css && \ sed -i 's/--accent: #9a0000;/--accent: #4385BE;/g' static/style.css && \
sed -i 's/--text: black;/--text: #0F0F0F;/g' static/style.css && \
sed -i 's/--accent: red;/--accent: #2968AC;/g' static/style.css && \
sed -i 's/--text: white;/--text: #CFCFCF;/g' static/themes/black.css && \
sed -i 's/--panel-border: 1px solid #ccc;/--panel-border: 1px solid #eee;/g' static/style.css && \
sed -i 's/--panel-border: 1px solid #333;/--panel-border: 1px solid #161616;/g' static/style.css && \
sed -i 's/#9a0000/#2968AC/g' static/themes/black.css && \
sed -i 's/--text: black;/--text: #0F0F0F;/g' static/themes/light.css && \
sed -i 's/#9a0000/#4385BE/g' static/themes/light.css && \
sed -i 's/--panel-border: 1px solid #ccc;/--panel-border: 1px solid #eee;/g' static/themes/light.css && \
sed -i 's/red/#4385BE/g' static/themes/dark.css && \
sed -i 's/--panel-border: 1px solid #333;/--panel-border: 1px solid #161616;/g' static/themes/dark.css && \
cargo build --release --target=${TARGET} && \ cargo build --release --target=${TARGET} && \
cp target/${TARGET}/release/redlib /usr/local/bin/redlib && \ cp target/${TARGET}/release/redlib /usr/local/bin/redlib && \
cd .. && \ cd .. && \