@mixin chat-layout-mat($theme) {
  
  $color-config: mat-get-color-config($theme);
  $primary-color: mat.get-color-from-palette(map-get($color-config, primary));

  app-chat-layout{
    .mat-small{
      color: map-get($theme, inactive-text);
    }

    #new-message-sign{
      background-color: $primary-color;
      color: map-get(map-get(map-get($color-config, primary), contrast), 900);
    }
  }

  app-chat-message.selected{
    ::selection{
      background: unset;
    }
  }

}