Skip to content
This repository was archived by the owner on May 16, 2023. It is now read-only.
This repository was archived by the owner on May 16, 2023. It is now read-only.

How do i implement customtheme #183

Description

@keithlim

can anyone help me in loading the custom theme for ng-chat? Im not exactly sure the proper way of inserting the css into the code, what i've done so far isnt working. Any help will be greatly appreciated!

In my app.component.html im using

<ng-chat [adapter]="adapter" [userId]="userId" [title]="title" [theme]="theme" [customTheme]="customTheme">
</ng-chat>

and in my app.component.ts im using

theme = Theme.Custom
customTheme = "./ng-chat.css"

and in my ng-chat.css im using

#ng-chat.custom-theme .primary-background {
  background-color: blue;
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions