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:
parent
0a780b6d85
commit
b3c5357064
@ -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
|
||||
|
||||
@ -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 = () => {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user