0
0

Redlib: updated colours

This commit is contained in:
Opnxng 2024-10-13 01:27:20 +08:00
parent 1fce31ab58
commit cde5f98bd8

View File

@ -10,17 +10,17 @@ RUN apk add --no-cache curl git musl-dev
RUN git clone https://github.com/redlib-org/redlib && \
cd redlib && \
sed -i 's/--green: #5cff85;/--green: #0A8754;/g' static/style.css && \
sed -i 's/--accent: #9a0000;/--accent: #4385BE;/g' static/style.css && \
sed -i 's/--accent: #d54455;/--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/--accent: #bb2b3b;/--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/#bb2b3b/#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/#bb2b3b/#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/#d54455/#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} && \
cp target/${TARGET}/release/redlib /usr/local/bin/redlib && \