layer5 icon indicating copy to clipboard operation
layer5 copied to clipboard

[UI][OrchestrationManagement] Fix missing template interpolation syntax and unclosed rule in orchestration styling

Open ayushbuilds-code opened this issue 2 weeks ago • 0 comments

Description

In src/sections/OrchestrationManagement/orchestration.style.js, two CSS issues exist:

  1. 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 the color declaration to be ignored by browsers and breaking theme-aware text coloring.

  2. Missing closing brace on .use-heading: The .use-heading rule 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 color property should use ${props => props.theme.whiteToBlack}; so the theme color is properly applied.
  • .use-heading should be closed with }, balancing curly braces (6/6).

Suggested Fix

  1. Add $ to {props => props.theme.whiteToBlack}.
  2. Add the closing } for .use-heading.

ayushbuilds-code avatar Nov 17 '26 11:11 ayushbuilds-code