Install
openclaw skills install shadowGenerate and preview CSS shadow effects using CLI tools. Use when you need box-shadow, text-shadow, drop-shadow, layered shadows, presets, animations,
openclaw skills install shadowA powerful CLI tool for generating, previewing, and managing CSS shadow effects. Supports box-shadow, text-shadow, drop-shadow, inset shadows, multi-layer effects, presets, random generation, animation keyframes, and export to CSS/JSON.
All saved shadow presets and configurations are persisted in ~/.shadow/data.jsonl. Each line is a JSON object representing a shadow definition with its parameters.
Run all commands via the script at scripts/script.sh.
boxGenerate a CSS box-shadow value.
bash scripts/script.sh box [--x 0] [--y 4] [--blur 8] [--spread 0] [--color "rgba(0,0,0,0.2)"] [--name my-shadow] [--save]
textGenerate a CSS text-shadow value.
bash scripts/script.sh text [--x 1] [--y 1] [--blur 2] [--color "#333"] [--name heading-shadow] [--save]
dropGenerate a CSS drop-shadow filter value.
bash scripts/script.sh drop [--x 0] [--y 4] [--blur 8] [--color "rgba(0,0,0,0.3)"] [--name drop1] [--save]
insetGenerate an inset box-shadow value.
bash scripts/script.sh inset [--x 0] [--y 2] [--blur 4] [--spread 0] [--color "rgba(0,0,0,0.1)"] [--name inner] [--save]
layerCombine multiple shadows into a layered effect.
bash scripts/script.sh layer <shadow_name1> <shadow_name2> [shadow_name3...] [--name layered] [--save]
presetList or apply built-in shadow presets (material, neumorphism, flat, elevated, etc.).
bash scripts/script.sh preset [list|apply] [--name material-1] [--save]
randomGenerate a random shadow effect with optional constraints.
bash scripts/script.sh random [--type box|text|drop] [--layers 1-3] [--save] [--name random1]
animateGenerate CSS animation keyframes for shadow transitions.
bash scripts/script.sh animate <shadow_name_from> <shadow_name_to> [--duration 0.3s] [--name hover-effect]
exportExport saved shadows to CSS, JSON, or SCSS format.
bash scripts/script.sh export [--format css|json|scss] [--name specific-shadow] [--all]
previewPreview a shadow as ASCII art or generate an HTML preview file.
bash scripts/script.sh preview <shadow_name> [--html] [--output preview.html]
helpShow usage information and available commands.
bash scripts/script.sh help
versionShow the current version of the shadow tool.
bash scripts/script.sh version
# Generate a box shadow
bash scripts/script.sh box --x 0 --y 4 --blur 12 --color "rgba(0,0,0,0.15)" --name card --save
# Generate an inset shadow
bash scripts/script.sh inset --x 0 --y 2 --blur 4 --color "rgba(0,0,0,0.08)" --name inner --save
# Layer them
bash scripts/script.sh layer card inner --name card-combo --save
# Preview
bash scripts/script.sh preview card-combo --html --output card-preview.html
# Export all as CSS
bash scripts/script.sh export --format css --all
Powered by BytesAgain | bytesagain.com | hello@bytesagain.com