Skip to content

Some UI improvements

Ghost User requested to merge am-ui into master

Added a light-ui lerna package to put UI components.

Need to think about how to handle the styling:

  • either recreate custom components and import style with className={styles.abc}, like in @parity/ui
  • or extend a framework like Semantic UI React, and apply own styles with theming (they use sass too)

Note: for both solutions, it might be good to look at styled-components, so that we don't need className anymore.

Right now only the JS of components (with correct classNames) are copied into light-ui. The CSS is still built with SASS (which is inside light-react) and imported as one huge file in index.js. I'll keep it like this for now, and focus on having a working v1 first.

Merge request reports