wwf
3 天以前 a430284aa21e3ae1f0d5654e55b2ad2852519cc2
app/components/base/chat/embedded-chatbot/theme/theme-context.ts
@@ -9,7 +9,7 @@
  public backgroundHeaderColorStyle = 'backgroundImage: linear-gradient(to right, #2563eb, #0ea5e9)'
  public headerBorderBottomStyle = ''
  public colorFontOnHeaderStyle = 'color: white'
  public colorPathOnHeader = 'text-text-primary-on-surface'
  public colorPathOnHeader = 'white'
  public backgroundButtonDefaultColorStyle = 'backgroundColor: #1C64F2'
  public roundedBackgroundColorStyle = 'backgroundColor: rgb(245 248 255)'
  public chatBubbleColorStyle = 'backgroundColor: rgb(225 239 254)'
@@ -48,13 +48,10 @@
  private buildChecker = false
  public get theme() {
    if (this._theme === undefined) {
      this._theme = new Theme()
    if (this._theme === undefined)
      throw new Error('The theme should be built first and then accessed')
    else
      return this._theme
    }
    else {
      return this._theme
    }
  }
  public buildTheme(chatColorTheme: string | null = null, chatColorThemeInverted = false) {