This example only works with dark mode, but feel free to edit this to your heart's desire. To integrate PyWal with Logseq create a script like this:
#!/bin/bash
# Run this script whenever updating your wal configuration
# ./wal-logseq.sh <logseq custom.css folder>;
LOGSEQ=$1
cat ~/.cache/wal/colors.css > $LOGSEQ/custom.css
cat $LOGSEQ/colors.css > $LOGSEQ/custom.css