Add the error style to bindings (#1711)
This commit is contained in:
parent
fc29a31cd4
commit
86a419d42a
|
|
@ -163,10 +163,16 @@ export const EditorWrapper = styled.div<{
|
|||
color: #FFFFFF;
|
||||
}
|
||||
.binding-brackets {
|
||||
color: ${props =>
|
||||
props.editorTheme === EditorTheme.DARK
|
||||
? props.theme.colors.bindingTextDark
|
||||
: props.theme.colors.bindingText};
|
||||
${props =>
|
||||
props.hasError
|
||||
? `
|
||||
color: ${props.theme.colors.error};
|
||||
`
|
||||
: `color: ${
|
||||
props.editorTheme === EditorTheme.DARK
|
||||
? props.theme.colors.bindingTextDark
|
||||
: props.theme.colors.bindingText
|
||||
};`}
|
||||
font-weight: 700;
|
||||
}
|
||||
.datasource-highlight {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user