Enhance color theme in HistoryDisplay and ThemeContext

- Updated color mapping in HistoryDisplay to include new colors: cyan, pink, purple, magenta, and volcano.
- Added corresponding color definitions in ThemeContext for improved theme customization.
This commit is contained in:
Tom Butcher 2025-12-27 13:46:58 +00:00
parent 0a780b6d85
commit b3c5357064
2 changed files with 13 additions and 3 deletions

View File

@ -253,10 +253,15 @@ const HistoryDisplay = ({
// Create color mapping from model stats
const colors = {
success: themeColors.colorSuccess,
info: themeColors.colorInfo,
processing: themeColors.colorInfo,
error: themeColors.colorError,
warning: themeColors.colorWarning,
default: '#8c8c8c'
default: '#8c8c8c',
cyan: themeColors.colorCyan,
pink: themeColors.colorPink,
purple: themeColors.colorPurple,
magenta: themeColors.colorMagenta,
volcano: themeColors.colorVolcano
}
// Build color range array based on model stats order

View File

@ -88,7 +88,12 @@ export const ThemeProvider = ({ children }) => {
colorWarning: '#FF9230',
colorError: '#FF4245',
colorInfo: '#0A84FF',
colorLink: '#5AC8F5'
colorLink: '#5AC8F5',
colorCyan: '#5AC8F5',
colorPink: '#FF69B4',
colorPurple: '#800080',
colorMagenta: '#FF00FF',
colorVolcano: '#FF4500'
}
const getColors = () => {