fix: 💄 fix UI problems in vscode light themes
This commit is contained in:
parent
454b75fc27
commit
5e8866da83
3 changed files with 12 additions and 4 deletions
|
|
@ -71,6 +71,10 @@ const MainTextInput = styled.textarea`
|
|||
outline: 1px solid ${lightGray};
|
||||
border: 1px solid transparent;
|
||||
}
|
||||
|
||||
&::placeholder {
|
||||
color: ${lightGray}80;
|
||||
}
|
||||
`;
|
||||
|
||||
const UlMaxHeight = 300;
|
||||
|
|
|
|||
|
|
@ -158,7 +158,7 @@ function StepContainer(props: StepContainerProps) {
|
|||
isLast={props.isLast}
|
||||
borderColor={
|
||||
props.historyNode.observation?.error
|
||||
? "#f00"
|
||||
? "#f005"
|
||||
: props.historyNode.active
|
||||
? undefined
|
||||
: "transparent"
|
||||
|
|
@ -176,7 +176,11 @@ function StepContainer(props: StepContainerProps) {
|
|||
loading={(props.historyNode.active as boolean) || false}
|
||||
error={props.historyNode.observation?.error ? true : false}
|
||||
>
|
||||
<LeftHeaderSubDiv>
|
||||
<LeftHeaderSubDiv
|
||||
style={
|
||||
props.historyNode.observation?.error ? { color: "white" } : {}
|
||||
}
|
||||
>
|
||||
{!isUserInput &&
|
||||
(props.open ? (
|
||||
<ChevronDownIcon width="1.4em" height="1.4em" />
|
||||
|
|
|
|||
|
|
@ -2,14 +2,14 @@ import { Tooltip } from "react-tooltip";
|
|||
import styled, { keyframes } from "styled-components";
|
||||
|
||||
export const defaultBorderRadius = "5px";
|
||||
export const lightGray = "rgb(100 100 100)";
|
||||
export const lightGray = "#646464";
|
||||
// export const secondaryDark = "rgb(45 45 45)";
|
||||
// export const vscBackground = "rgb(30 30 30)";
|
||||
export const vscBackgroundTransparent = "#1e1e1ede";
|
||||
export const buttonColor = "rgb(113 28 59)";
|
||||
export const buttonColorHover = "rgb(113 28 59 0.67)";
|
||||
|
||||
export const secondaryDark = "var(--vscode-textBlockQuote-background)";
|
||||
export const secondaryDark = "var(--vscode-list-hoverBackground)";
|
||||
export const vscBackground = "var(--vscode-editor-background)";
|
||||
export const vscForeground = "var(--vscode-editor-foreground)";
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue