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

fix dark mode script

This commit is contained in:
Harvey Tindall 2022-01-04 20:46:22 +00:00
parent 9874dce520
commit 3b0701e772
Signed by: hrfee
GPG Key ID: BBC65952848FB1A2

View File

@ -2,7 +2,7 @@
# scan all typescript and automatically add dark variants to color tags if they're not already present. # scan all typescript and automatically add dark variants to color tags if they're not already present.
for f in $2/*.ts; do for f in $1/*.ts; do
# FIXME: inline html # FIXME: inline html
for l in $(grep -n "~neutral\|~positive\|~urge\|~warning\|~info\|~critical" $f | sed -e 's/:.*//g'); do for l in $(grep -n "~neutral\|~positive\|~urge\|~warning\|~info\|~critical" $f | sed -e 's/:.*//g'); do
# for l in $(sed -n '/classList/=' $f); do # for l in $(sed -n '/classList/=' $f); do