WIP Migrate comment events to new style
@@ -106,11 +106,16 @@ export const ScriptEventHeader = styled.div<ScriptEventHeaderProps>`
}
${(props) =>
- !props.altBg && props.comment
+ props.comment
? css`
&&& {
- background: ${props.theme.colors.scripting.header
- .commentBackground};
+ background: linear-gradient(
+ 0deg,
+ ${(props) =>
+ props.theme.colors.scripting.header.commentBackgroundAlt},
+ ${(props) =>
+ props.theme.colors.scripting.header.commentBackground}
+ );
}
`
: ""}
@@ -122,16 +127,6 @@ export const ScriptEventHeader = styled.div<ScriptEventHeaderProps>`
`
: ""}
- ${(props) =>
- props.altBg && props.comment
- ? css`
- &&& {
- background: ${props.theme.colors.scripting.header
- .commentBackgroundAlt};
- }
- `
- : ""}
-
${(props) =>
props.child
? css`
