samdenty/console-feed

Allow to configure more styles

davletovalmir opened this issue · 0 comments

Currently, some of the important styles can't be configured using the style property. For example, margin-left of the log message, or line-height of amount message (gets inconsistent whenever the log icon size is changed). Would be great to be able to add more styles, ideally not even limited to the specific keys. Something like:

<Console ... styles={{
  LOG_WARN_ICON: {
    backgroundColor: '...'
  },
  LOG_AMOUNT: {
    lineHeight: '...',
  },
  ...
}} />