The Leonardo tool UI, deployed at http://www.leonardocolor.io/
Contributions are welcomed! Read the Contributing Guide for more information.
To get started developing Leonardo's UI:
# Install dependencies
pnpm install
# Run local server
pnpm moon run dev
Then, visit the live reloading web UIs here: http://localhost:1234/index.html http://localhost:1234/theme.html http://localhost:1234/scales.html http://localhost:1234/tools.html
When making updates to @adobe/leonardo-contrast-colors
while also developing the user interface, some issues may occur while linking the local dependency.
Follow these steps every time you install or update an npm dependency:
- Install your new dependency
pnpm add my-new-package
- Delete the cache (if it exists)
rm -rf <leonardo-root>/.parcel-cache
rm -rf <leonardo-root>/.moon/cache
- Link local Leonardo
cd packages/contrast-colors/
pnpm link --global
cd ../../
cd docs/ui/
pnpm link --global @adobe/leonardo-contrast-colors
If you do not properly remove the cache and re-link the local @adobe/leonardo-contrast-colors
package, things won't work right.
This project is licensed under the Apache V2 License. See LICENSE for more information.