0.0.4 • Published 11 months ago
ermis-chat-css v0.0.4
ermis-chat-css
Bundled CSS for ErmisChat SDKs
Install
# with npm
npm install --save ermis-chat-css
# with yarn
yarn add ermis-chat-cssUsage
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:
- Go to https://fontello.com/
- Upload the
svgfont fromsrc/assets/icons - Edit the font
- Set the font name to
stream-chat-iconsand the CSS prefix tostr-chat__icon-- - Download the font, and copy the content of the
fontfolder tosrc/assets/icons, and copy the mapping fromcss/stream-chat-icons.csstosrc/v2/Icon/Icon-layout.scss