react-native-paper-dates icon indicating copy to clipboard operation
react-native-paper-dates copied to clipboard

Is there a way to override the automatic title text color?

Open lemmatos opened this issue 4 years ago • 2 comments

If not, it would be nice to have a dark=boolean prop, like on the Appbar, to override the automatic title color based on the background. I'm in need of such a feature, or a way to set the color to whatever I'd like, without changing the background color.

From Appbar docs:

dark Type: boolean Whether the background color is a dark color. A dark appbar will render light text and vice-versa.

lemmatos avatar Mar 19 '21 12:03 lemmatos

agree, we're trying to use #000000 as Primary color which makes the text color very dark as well and not able to see which field is editing.

image

matthewwo avatar Mar 19 '21 14:03 matthewwo

@prankymat your issue should not be happening and we should use this hook there instead of color: #000 https://github.com/web-ridge/react-native-paper-dates/blob/master/src/utils.ts#L34

RichardLindhout avatar Mar 22 '21 18:03 RichardLindhout