0.0.4 • Published 6 months ago

ermis-chat-css v0.0.4

Weekly downloads
-
License
MIT
Repository
github
Last release
6 months ago

ermis-chat-css

Bundled CSS for ErmisChat SDKs

Install

# with npm
npm install --save ermis-chat-css
# with yarn
yarn add ermis-chat-css

Usage

This repository comes as a dependency of ermis-chat-react-sdk and doesn't require explicit installation if you're using the component library. Add the styles to your app by importing the bundled CSS:

import 'ermis-chat-css/dist/css/index.css';

License

Icons - for Stream Developers

  • The icons for the UI components can be exported from Figma
  • Icons are used as fonts, the font files are located in src/assets/icons
  • If you need to change icons you have to regenerate the icon fonts:
  1. Go to https://fontello.com/
  2. Upload the svg font from src/assets/icons
  3. Edit the font
  4. Set the font name to stream-chat-icons and the CSS prefix to str-chat__icon--
  5. Download the font, and copy the content of the font folder to src/assets/icons, and copy the mapping from css/stream-chat-icons.css to src/v2/Icon/Icon-layout.scss
0.0.3

6 months ago

0.0.4

6 months ago

0.0.2

6 months ago

0.0.1

6 months ago