lemmy: hacktivism extra_themes + apply-branding
This commit is contained in:
parent
4609035d46
commit
d519fb3c80
9 changed files with 80 additions and 6 deletions
12
scripts/lemmy/apply-branding.sh
Executable file
12
scripts/lemmy/apply-branding.sh
Executable file
|
|
@ -0,0 +1,12 @@
|
|||
#!/usr/bin/env bash
|
||||
# Build extra_themes/hacktivism.css (darkly + hacktivism overrides) and set site default.
|
||||
set -euo pipefail
|
||||
LIVE="${HOME}/koopa-lemmy"
|
||||
ROOT="$(cd "$(dirname "$0")/../.." && pwd)"
|
||||
OVERRIDES="${ROOT}/configs/lemmy/extra_themes/hacktivism-overrides.css"
|
||||
OUT="${LIVE}/extra_themes/hacktivism.css"
|
||||
|
||||
mkdir -p "${LIVE}/extra_themes"
|
||||
podman exec koopa-lemmy-ui cat /app/dist/assets/css/themes/darkly.css > "${OUT}"
|
||||
cat "${OVERRIDES}" >> "${OUT}"
|
||||
echo "wrote ${OUT} ($(wc -l < "${OUT}") lines)"
|
||||
Loading…
Add table
Add a link
Reference in a new issue