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
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

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 dependancy. Follow these steps every time you install or update an npm or yarn dependancy:

  1. Install your new dependancy
yarn install my-new-package
// or
npm install my-new-package
  1. Delete the cache
leonardo/packages/ui/.cache
  1. 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.

Licensing

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