This may have been covered before but I could not easily find it!
I love knack, but sometimes struggled with branding within Knack to make everything look the way you wanted. With the help of ChatGPT this little script will help you change field label colours within a view
/* Target the detail labels in view_14 specifically /
#view_14 .kn-detail-label {
background-color: navy !important; / Navy background /
color: yellow !important; / Yellow text /
padding: 5px; / Add some padding /
border-radius: 3px; / Optional: Rounded corners /
display: inline-block; / Ensures proper styling */
}
Just change the view_14 to your view and change the colours to suit!