mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-01-27 16:57:00 -06:00
ab5d53f3b1
1) When some option from filter is selected, that particular type should be completely removed from top level result instead of showing identical:0 2) Copy button is missing for Difference SQL 3) Throw error when source & target server versions selected are different 4) In High contrast - Font color for identical turns same as background. 5) In High contrast - Checkbox box column turns same color of row resulting unable to distingiush about selection of item. refs #6133
115 lines
2.8 KiB
JavaScript
115 lines
2.8 KiB
JavaScript
/////////////////////////////////////////////////////////////
|
|
//
|
|
// pgAdmin 4 - PostgreSQL Tools
|
|
//
|
|
// Copyright (C) 2013 - 2022, The pgAdmin Development Team
|
|
// This software is released under the PostgreSQL Licence
|
|
//
|
|
//////////////////////////////////////////////////////////////
|
|
|
|
/* The dark theme */
|
|
import { createMuiTheme } from '@material-ui/core/styles';
|
|
|
|
export default function(basicSettings) {
|
|
return createMuiTheme(basicSettings, {
|
|
palette: {
|
|
default: {
|
|
main: 'transparent',
|
|
contrastText: '#84d6ff',
|
|
borderColor: '#84d6ff',
|
|
disabledBorderColor: '#8B9CAD',
|
|
disabledContrastText: '#8B9CAD',
|
|
hoverMain: 'transparent',
|
|
hoverContrastText: '#fff',
|
|
hoverBorderColor: '#fff',
|
|
},
|
|
primary: {
|
|
main: '#84D6FF',
|
|
light: '#84D6FF',
|
|
contrastText: '#010B15',
|
|
hoverMain: '#fff',
|
|
hoverBorderColor: '#fff',
|
|
disabledMain: '#8B9CAD',
|
|
},
|
|
success: {
|
|
main: '#45D48A',
|
|
light: '#010B15',
|
|
contrastText: '#000',
|
|
},
|
|
error: {
|
|
main: '#EE7A55',
|
|
light: '#EE7A55',
|
|
contrastText: '#010B15',
|
|
},
|
|
warning: {
|
|
main: '#F4D35E',
|
|
light: '#F4D35E',
|
|
contrastText: '#010B15',
|
|
},
|
|
info: {
|
|
main: '#fde74c',
|
|
},
|
|
grey: {
|
|
'200': '#8B9CAD',
|
|
'400': '#2D3A48',
|
|
'600': '#1F2932',
|
|
'800': '#010B15',
|
|
},
|
|
text: {
|
|
primary: '#fff',
|
|
muted: '#8b9cac',
|
|
},
|
|
checkbox: {
|
|
disabled: '#6b6b6b'
|
|
},
|
|
background: {
|
|
paper: '#010B15',
|
|
default: '#010B15',
|
|
},
|
|
},
|
|
custom: {
|
|
icon: {
|
|
main: '#010B15',
|
|
contrastText: '#fff',
|
|
borderColor: '#fff',
|
|
disabledMain: '#1F2932',
|
|
disabledContrastText: '#8B9CAD',
|
|
disabledBorderColor: '#8B9CAD',
|
|
hoverMain: '#fff',
|
|
hoverContrastText: '#010B15',
|
|
}
|
|
},
|
|
otherVars: {
|
|
borderColor: '#A6B7C8',
|
|
inputBorderColor: '#6b6b6b',
|
|
inputDisabledBg: '#1F2932',
|
|
headerBg: '#010B15',
|
|
activeBorder: '#fff',
|
|
activeColor: '#fff',
|
|
tableBg: '#010B15',
|
|
activeStepBg: '#84D6FF',
|
|
activeStepFg: '#010b15',
|
|
stepBg: '#FFFFFF',
|
|
stepFg: '#000',
|
|
toggleBtnBg: '#6B6B6B',
|
|
editorToolbarBg: '#010B15',
|
|
qtDatagridBg: '#010B15',
|
|
qtDatagridSelectFg: '#010B15',
|
|
cardHeaderBg: '#062F57',
|
|
colorFg: '#FFFFFF',
|
|
emptySpaceBg: '#010B15',
|
|
textMuted: '#8b9cad',
|
|
erdCanvasBg: '#010B15',
|
|
erdGridColor: '#1F2932',
|
|
schemaDiff: {
|
|
diffRowColor: '#CFC56E',
|
|
sourceRowColor: '#EE97A5',
|
|
targetRowColor: '#FFAD65',
|
|
diffColorFg: '#FFFFFF',
|
|
diffSelectFG: '#010B15',
|
|
diffSelCheckbox: '#010b15',
|
|
}
|
|
}
|
|
});
|
|
}
|