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
yarn install
# Run local server
yarn 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 dependancy. Follow these steps every time you install or update an npm or yarn dependancy:
- Install your new dependancy
yarn install my-new-package
// or
npm install my-new-package
- Delete the cache
leonardo/packages/ui/.cache
- Link local Leonardo
cd packages/contrast-colors
npm link
cd ..
cd ui
npm link @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.