From 0a1540325ba36c0df7a39f17251f848da3c46f0f Mon Sep 17 00:00:00 2001 From: Tom Butcher Date: Mon, 8 Dec 2025 23:03:04 +0000 Subject: [PATCH] Updated colours to match theme. --- .../Dashboard/context/ThemeContext.jsx | 20 ++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/src/components/Dashboard/context/ThemeContext.jsx b/src/components/Dashboard/context/ThemeContext.jsx index 39a9741..7c841e2 100644 --- a/src/components/Dashboard/context/ThemeContext.jsx +++ b/src/components/Dashboard/context/ThemeContext.jsx @@ -82,14 +82,23 @@ export const ThemeProvider = ({ children }) => { return isCompact ? [theme.compactAlgorithm, baseAlgorithm] : [baseAlgorithm] } + const colors = { + colorPrimary: '#0091FF', + colorSuccess: '#30D158', + colorWarning: '#FF9230', + colorError: '#FF4245', + colorInfo: '#0A84FF', + colorLink: '#5AC8F5' + } + + const getColors = () => { + return colors + } + const themeConfig = { algorithm: getThemeAlgorithm(), token: { - colorPrimary: '#007AFF', - colorSuccess: '#32D74B', - colorWarning: '#FF9F0A', - colorInfo: '#0A84FF', - colorLink: '#5AC8F5', + ...colors, borderRadius: '12px' }, components: { @@ -108,6 +117,7 @@ export const ThemeProvider = ({ children }) => { toggleCompact, isSystem, toggleSystem, + getColors, themeConfig }} >