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:
parent
9874dce520
commit
3b0701e772
@ -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…
Reference in New Issue
Block a user