1
0
mirror of https://github.com/hrfee/jfa-go.git synced 2024-12-22 09:00:10 +00:00

fix inline

This commit is contained in:
Harvey Tindall 2021-12-30 02:59:44 +00:00
parent a31f174375
commit 0f0355fd01
Signed by: hrfee
GPG Key ID: BBC65952848FB1A2

View File

@ -24,8 +24,10 @@ elif [[ "$1" == "ts" ]]; then
echo "FIX: classList found, but color tag wasn't in it"
fi
else
echo "found inline @ " $l ", " $(sed -n "${l}p" $f)
sed -i "${l},${l}s/~${color}/~${color} dark:~d_${color}/g" $f
echo "found inline in " $f " @ " $l ", " $(sed -n "${l}p" $f)
for color in neutral positive urge warning info critical; do
sed -i "${l},${l}s/~${color}/~${color} dark:~d_${color}/g" $f
done
fi
done
done