Files
Ely-GPUI-Components/scripts/icons.sh
T
ZacharyZhang-NY abf4cbcfc6 T00 foundation: theme, motion, assets, icon, buttons, gallery
Theme tokens in light and dark with high contrast, a palette cross-fade,
motion curves and a damped spring, embedded Lucide icons with Inter and
JetBrains Mono, Icon, Button, IconButton, and a gallery that captures
its own window. Reviewed by codex gpt-6-astra (max): PASS in round 3.
2026-09-24 23:59:55 -04:00

12 lines
365 B
Bash
Executable File

#!/bin/sh
# Copy Lucide icons: scripts/icons.sh name...
set -eu
VERSION=1.48.0
DIR=$(mktemp -d)
trap 'rm -rf "$DIR"' EXIT
(cd "$DIR" && npm pack "lucide-static@$VERSION" --silent >/dev/null && tar xzf "lucide-static-$VERSION.tgz")
cp "$DIR/package/LICENSE" assets/icons/LICENSE
for name in "$@"; do
cp "$DIR/package/icons/$name.svg" "assets/icons/$name.svg"
done