0

Styling of text labels on a form?

In the absence of a dark mode option, I've attempted to reduce glare by changing the background colour for each tab to mid grey. But now the text field labels become black on grey and are difficult to read.

Is there any means of styling the text labels, or of changing their colour?

3 replies

null
    • michael.6
    • 3 yrs ago
    • Reported - view

    I assume the answer is no?

    • Sean
    • 3 yrs ago
    • Reported - view

    You will need to add a Formula field and put this code in it...

     

    html("

    <style>

    .form .component>label {color: #FF0000;}

    </style>

    ")

     

    Change the color code to any color that you like. You can't hide the Formula field that contains this code, but you can hide the label and set the background color to the same color as your form.

    • michael.6
    • 3 yrs ago
    • Reported - view

    Ok, thanks very much