fix some padding issues

This commit is contained in:
Harvey Tindall
2021-12-31 00:22:28 +00:00
parent 62be8adc65
commit e73ecb7a52
13 changed files with 306 additions and 306 deletions
+2 -2
View File
@@ -10,7 +10,7 @@ if [[ "$1" == "ts" ]]; then
if [ $? -eq 0 ]; then
echo $line | sed 's/.*classList//; s/).*//' | grep "~neutral\|~positive\|~urge\|~warning\|~info\|~critical" &> /dev/null
if [ $? -eq 0 ]; then
echo "found classList @ " $l
# echo "found classList @ " $l
for color in neutral positive urge warning info critical; do
sed -i "${l},${l}s/\"~${color}\"/\"~${color}\", \"dark:~d_${color}\"/g" $f
done
@@ -18,7 +18,7 @@ if [[ "$1" == "ts" ]]; then
echo "FIX: classList found, but color tag wasn't in it"
fi
else
echo "found inline in " $f " @ " $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
done