mirror of
https://github.com/open-webui/open-webui.git
synced 2026-07-16 06:03:26 -05:00
[PR #19601] [CLOSED] feat: Add per-model accent colors with intensity control #128917
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/open-webui/open-webui/pull/19601
Author: @troylar
Created: 11/30/2025
Status: ❌ Closed
Base:
dev← Head:feat/model-accent-colors📝 Commits (1)
c5cddfafeat: Add per-model accent colors with intensity control📊 Changes
16 files changed (+1064 additions, -436 deletions)
View changed files
📝
backend/open_webui/config.py(+47 -0)📝
backend/open_webui/main.py(+2 -0)📝
backend/open_webui/models/models.py(+12 -0)📝
backend/open_webui/routers/configs.py(+25 -1)📝
src/app.css(+62 -0)📝
src/lib/apis/configs/index.ts(+59 -1)📝
src/lib/components/admin/Settings/Interface.svelte(+27 -3)➕
src/lib/components/admin/Settings/Interface/ModelColors.svelte(+182 -0)📝
src/lib/components/chat/Chat.svelte(+15 -1)📝
src/lib/components/chat/MessageInput.svelte(+1 -1)📝
src/lib/components/chat/Messages/ResponseMessage.svelte(+1 -1)📝
src/lib/components/workspace/Models/ModelEditor.svelte(+436 -426)📝
src/lib/stores/index.ts(+7 -1)📝
src/lib/types/index.ts(+28 -0)📝
src/lib/utils/index.ts(+152 -0)📝
src/routes/(app)/+layout.svelte(+8 -1)📄 Description
Pull Request Checklist
Before submitting, make sure you've checked the following:
devbranch.feat:prefix.Changelog Entry
Description
Add the ability to set custom accent colors for models that provide visual distinction during conversations. This helps users quickly identify which model they're interacting with.
Added
accent_colorfield toModelMetain the backend for per-model accent color configurationaccent_intensityfield (0.1-1.0) for controlling color intensity per modelresolveModelAccentutility function with base model inheritanceChanged
Deprecated
Removed
Fixed
Security
Breaking Changes
Additional Information
Screenshots or Videos
Contributor License Agreement
By submitting this pull request, I confirm that I have read and fully agree to the Contributor License Agreement (CLA), and I am providing my contributions under its terms.
🤖 Generated with Claude Code
Accent Color (Default)

Accent Color Settings in Model

Prompt Box with Accent Color

Response and Prompt Box with Accent Color

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.