# Shadowset 1.0

Preview CSS shadows for cards and panels, customize them and export editable CSS.

## Open and use

Extract the complete ZIP, then open app/index.html in a modern desktop or mobile browser. No install, network, account or build step is required. Keep app/core.js, app/editor.js and app/style.css beside index.html.

1. Select a preset such as Floating card or Inset well.
2. Adjust offsets, blur, spread, opacity and color. A layer switch adds a contact shadow.
3. Enter a safe class name. Invalid settings preserve the last valid shadow and block exports until corrected.
4. Copy CSS, or choose Download CSS pack for six named presets and your custom class. If clipboard permission is unavailable, the text is selected for your keyboard copy command.
5. Link the downloaded shadowset.css in your own page, then add your class, such as class="my-card", to a card or panel.
6. Export example HTML to inspect the actual complete collection without the editor.

Save project downloads a JSON file. Open project restores that exact file. Files larger than 100 KB, wrong versions and invalid values leave the current project untouched. Work stays in memory until saved, so save before closing or refreshing. Preview surface color changes only the editor background.

samples/gallery.html is a self-contained working CSS example. samples/shadows.css contains reusable CSS. samples/example.shadowset.json can be opened in the editor.

## Validate and rebuild the customer package

There are no third-party runtime dependencies and no package manager installation.

- Run node --test tests/core.test.cjs from the extracted package root with Node.js 20 or newer.
- Run python3 scripts/package.py from the extracted package root with Python 3.10 or newer to rebuild dist/shadowset-1.0.0.zip.

The tests import the supplied app/core.js. Both files are part of the ZIP. The standalone HTML exports need neither Node nor Python.

## Supported use and privacy

Uses standard CSS box-shadow, optional inset and two coordinated layers. Preview on your actual website background before adopting a class. Browsers may render soft edges slightly differently. The offline package performs no network requests, analytics or persistence. No account or identifiers are collected.

A hosted adapter is provided separately in hosted/adapter.mjs. It is inactive in the offline app. Activation and verified consent behavior belong to the host publisher.

## License and help

Free for personal and commercial use under LICENSE.txt. You may use and share the CSS and HTML outputs you create. Redistribution or resale of the complete tool/source package as a competing product is excluded. No paid checkout, guaranteed support or update schedule is offered. Custom integration requires a separate agreed scope.
