layer5
layer5 copied to clipboard
[UI][OrchestrationManagement] Fix missing template interpolation syntax and unclosed rule in orchestration styling
Description
In src/sections/OrchestrationManagement/orchestration.style.js, two CSS issues exist:
-
Missing
$in styled-component template interpolation: At line 27,color: {props => props.theme.whiteToBlack};is missing the$prefix before{props => ...}. As a result, the styled-components template literal outputs{props => props.theme.whiteToBlack}as literal invalid CSS text rather than evaluating the theme function, causing thecolordeclaration to be ignored by browsers and breaking theme-aware text coloring. -
Missing closing brace on
.use-heading: The.use-headingrule block opened at line 26 is never closed with a}before the template literal ends, leaving curly braces unbalanced (6 open vs 5 close).
Expected Behaviour
- The
colorproperty should use${props => props.theme.whiteToBlack};so the theme color is properly applied. .use-headingshould be closed with}, balancing curly braces (6/6).
Suggested Fix
- Add
$to{props => props.theme.whiteToBlack}. - Add the closing
}for.use-heading.