Fix typos in query button theme
This commit is contained in:
1 parent
132b7c4e28
commit
41ebf9df20
2 files changed
+15
-15
No files matched your search
@@ -38,7 +38,7 @@ const QueryControl = (props) => {
|
||||
const onStopClick = () => {
|
||||
unsubscribe();
|
||||
};
|
||||
|
||||
|
||||
const onKeyDown = (e) => {
|
||||
// Detect keyboard shortcuts.
|
||||
// Ctrl+Enter : Run
|
||||
@@ -79,8 +79,8 @@ const QueryControl = (props) => {
|
||||
<Grid item>
|
||||
<Tooltip title="Run (Ctrl+Enter)">
|
||||
<Button onClick={onRunClick} sx={{
|
||||
color: `query_start_button.${queryState}.color`,
|
||||
bgcolor: `query_start_button.${queryState}.background_color`,
|
||||
color: `queryStartButton.${queryState}.color`,
|
||||
bgcolor: `queryStartButton.${queryState}.backgroundColor`,
|
||||
padding: '11px'
|
||||
}}>
|
||||
<PlayArrowIcon />
|
||||
@@ -90,8 +90,8 @@ const QueryControl = (props) => {
|
||||
<Grid item>
|
||||
<Tooltip title="Stop">
|
||||
<Button onClick={onStopClick} sx={{
|
||||
color: `query_stop_button.${queryState}.color`,
|
||||
bgcolor: `query_stop_button.${queryState}.background_color`,
|
||||
color: `queryStopButton.${queryState}.color`,
|
||||
bgcolor: `queryStopButton.${queryState}.backgroundColor`,
|
||||
padding: '11px'
|
||||
}}>
|
||||
<StopIcon />
|
||||
|
||||
@@ -49,27 +49,27 @@ const getDarkPalette = () => {
|
||||
primary: '#eaf8f8',
|
||||
dark: '#eaf8f8a0'
|
||||
},
|
||||
query_start_button: {
|
||||
active: {
|
||||
queryStartButton: {
|
||||
Subscribed: {
|
||||
color: '#33baf9',
|
||||
background_color: '#ffffff40',
|
||||
backgroundColor: '#ffffff40',
|
||||
},
|
||||
inactive: {
|
||||
Unsubscribed: {
|
||||
color: '#ffffff40',
|
||||
background_color: '#ffffff00',
|
||||
backgroundColor: '#ffffff00',
|
||||
}
|
||||
},
|
||||
warning: {
|
||||
main: '#c4823f'
|
||||
},
|
||||
query_stop_button: {
|
||||
active: {
|
||||
queryStopButton: {
|
||||
Subscribed: {
|
||||
color: '#ff4444a0',
|
||||
background_color: '#ffffff40',
|
||||
backgroundColor: '#ffffff40',
|
||||
},
|
||||
inactive: {
|
||||
Unsubscribed: {
|
||||
color: '#ff444450',
|
||||
background_color: '#ffffff00',
|
||||
backgroundColor: '#ffffff00',
|
||||
}
|
||||
},
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user