Skip to content

Latest commit

 

History

History

ui

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

@adobe/leonardo-ui

license Pull requests welcome

The Leonardo tool UI, deployed at http://www.leonardocolor.io/

Contributing

Contributions are welcomed! Read the Contributing Guide for more information.

Development

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

Cross-package development

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:

  1. Install your new dependency
pnpm add my-new-package
  1. Delete the cache (if it exists)
rm -rf <leonardo-root>/.parcel-cache
rm -rf <leonardo-root>/.moon/cache
  1. 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.

Licensing

This project is licensed under the Apache V2 License. See LICENSE for more information.