From 3b0701e77230a863fcddb919f5a3e140d6e70a37 Mon Sep 17 00:00:00 2001 From: Harvey Tindall Date: Tue, 4 Jan 2022 20:46:22 +0000 Subject: [PATCH] fix dark mode script --- scripts/dark-variant.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/dark-variant.sh b/scripts/dark-variant.sh index 0e140bb..507065d 100755 --- a/scripts/dark-variant.sh +++ b/scripts/dark-variant.sh @@ -2,7 +2,7 @@ # 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 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