fix dark mode script

pull/189/head
Harvey Tindall 3 years ago
parent 9874dce520
commit 3b0701e772
No known key found for this signature in database
GPG Key ID: BBC65952848FB1A2

@ -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

Loading…
Cancel
Save