Black text not visible #5291

Issue #5291 black text not visible

Optimized code

Lint error fix

Fixed fontSizeScale issue
Concluded merge