1
0
mirror of https://github.com/hrfee/jfa-go.git synced 2024-12-22 17:10: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" echo "FIX: classList found, but color tag wasn't in it"
fi fi
else else
echo "found inline @ " $l ", " $(sed -n "${l}p" $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 sed -i "${l},${l}s/~${color}/~${color} dark:~d_${color}/g" $f
done
fi fi
done done
done done