mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-08-14 16:55:57 +08:00
parent
5213650fed
commit
7121afdd44
@ -26,7 +26,7 @@ export class Theme {
|
|||||||
if (this.chatColorTheme !== null && this.chatColorTheme !== '') {
|
if (this.chatColorTheme !== null && this.chatColorTheme !== '') {
|
||||||
this.primaryColor = this.chatColorTheme ?? '#1C64F2'
|
this.primaryColor = this.chatColorTheme ?? '#1C64F2'
|
||||||
this.backgroundHeaderColorStyle = `backgroundColor: ${this.primaryColor}`
|
this.backgroundHeaderColorStyle = `backgroundColor: ${this.primaryColor}`
|
||||||
this.backgroundButtonDefaultColorStyle = `backgroundColor: ${this.primaryColor}`
|
this.backgroundButtonDefaultColorStyle = `backgroundColor: ${this.primaryColor}; color: ${colorFontOnHeaderStyle};`
|
||||||
this.roundedBackgroundColorStyle = `backgroundColor: ${hexToRGBA(this.primaryColor, 0.05)}`
|
this.roundedBackgroundColorStyle = `backgroundColor: ${hexToRGBA(this.primaryColor, 0.05)}`
|
||||||
this.chatBubbleColorStyle = `backgroundColor: ${hexToRGBA(this.primaryColor, 0.15)}`
|
this.chatBubbleColorStyle = `backgroundColor: ${hexToRGBA(this.primaryColor, 0.15)}`
|
||||||
this.chatBubbleColor = `${hexToRGBA(this.primaryColor, 0.15)}`
|
this.chatBubbleColor = `${hexToRGBA(this.primaryColor, 0.15)}`
|
||||||
|
Loading…
x
Reference in New Issue
Block a user