Skip to content

Commit

Permalink
Merge pull request #286 from FlowiseAI/feature/Title-Bar-Color
Browse files Browse the repository at this point in the history
Feature/add ability to specify title bar color
  • Loading branch information
HenryHengZJ authored Jan 6, 2025
2 parents 3c243be + 8556ef5 commit a019fac
Show file tree
Hide file tree
Showing 15 changed files with 62 additions and 45 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,8 @@ You can also customize chatbot with different configuration
showAgentMessages: true,
title: 'Flowise Bot',
titleAvatarSrc: 'https://raw.githubusercontent.com/walkxcode/dashboard-icons/main/svg/google-messages.svg',
titleBackgroundColor: '#3B81F6',
titleTextColor: '#ffffff',
welcomeMessage: 'Hello! This is custom welcome message',
errorMessage: 'This is a custom error message',
backgroundColor: '#ffffff',
Expand Down Expand Up @@ -275,7 +277,7 @@ yarn start

```html
<!-- public/index.html -->
chatflowid: 'your-identifier-here' // Must match an identifier from your .env
chatflowid: 'your-identifier-here' // Must match an identifier from your .env
```

**Important Notes:**
Expand Down
2 changes: 2 additions & 0 deletions dist/components/Bot.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,8 @@ export type BotProps = {
showAgentMessages?: boolean;
title?: string;
titleAvatarSrc?: string;
titleTextColor?: string;
titleBackgroundColor?: string;
fontSize?: number;
isFullPage?: boolean;
footer?: FooterTheme;
Expand Down
2 changes: 1 addition & 1 deletion dist/components/Bot.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/features/bubble/components/Bubble.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions dist/features/bubble/types.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ export type ChatWindowTheme = {
showAgentMessages?: boolean;
title?: string;
titleAvatarSrc?: string;
titleTextColor?: string;
titleBackgroundColor?: string;
welcomeMessage?: string;
errorMessage?: string;
backgroundColor?: string;
Expand Down
2 changes: 1 addition & 1 deletion dist/features/bubble/types.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/features/full/components/Full.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/features/popup/components/DisclaimerPopup.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/web.js

Large diffs are not rendered by default.

Loading

0 comments on commit a019fac

Please sign in to comment.