diff --git a/docs/en_US/images/query_execute_script.png b/docs/en_US/images/query_execute_script.png index c7e3dce9e..2f3b28844 100644 Binary files a/docs/en_US/images/query_execute_script.png and b/docs/en_US/images/query_execute_script.png differ diff --git a/web/pgadmin/static/js/Theme/dark.js b/web/pgadmin/static/js/Theme/dark.js index ddf4640a8..02a99b481 100644 --- a/web/pgadmin/static/js/Theme/dark.js +++ b/web/pgadmin/static/js/Theme/dark.js @@ -27,8 +27,10 @@ export default function(basicSettings) { main: '#234d6e', light: '#323E43', contrastText: '#fff', + contrastTextLight: '#fff', hoverMain: darken('#234d6e', 0.25), hoverBorderColor: darken('#234d6e', 0.25), + hoverLight: darken('#323E43', 0.25), disabledMain: '#234d6e', }, success: { diff --git a/web/pgadmin/static/js/Theme/index.jsx b/web/pgadmin/static/js/Theme/index.jsx index e98c7b654..889bfc828 100644 --- a/web/pgadmin/static/js/Theme/index.jsx +++ b/web/pgadmin/static/js/Theme/index.jsx @@ -648,7 +648,7 @@ function getFinalTheme(baseTheme) { backgroundColor: 'abc', }, '&.Mui-selected': { - color: baseTheme.palette.primary.main, + color: baseTheme.palette.primary.contrastTextLight ?? baseTheme.palette.primary.main, backgroundColor: baseTheme.palette.primary.light, borderColor: baseTheme.palette.primary.main, zIndex: 1,