How can I get the default colors for a Text label ...
# compose
c
How can I get the default colors for a Text label in an OutlinedTextField. I can't use
Text
and instead am required to use
CustomText
and so I need to pass in the colors. I thought
TextFieldDefaults.textFieldColors().labelColor()
would work.
Copy code
label = { CustomText(
   text = labelText, 
   style = MyTextStyle.body,
   TextFieldDefaults.textFieldColors().labelColor(),
   )
},