Skip to content

Dialog.Title does not honor Dark mode text color #3876

@amutsch

Description

@amutsch

Is there an existing issue for this?

  • I have searched the existing issues

Explain what you did

Create Theme provider with default lightmode/darkmode.
Create component using Dialog.Title inside of a dialog.
Create component in same Dialog that is a plain Text component(from RNE)

Switch between light and dark mode. When in dark mode all text is white except for the Dialog Title which is color black. Dialog Title is black while in light mode as well.

Expected behavior

The text for Dialog.Title should follow the text of the theme

Describe the bug

Dialog.Title Text wrong color

Steps To Reproduce

Create Theme provider with default lightmode/darkmode.
Create component using Dialog.Title inside of a dialog.  
Create component in same Dialog that is a plain Text component(from RNE)

Switch between light and dark mode.  When in dark mode all text is white except for the Dialog Title which is color black.  Dialog Title is black while in light mode as well.

Screenshots

image
image

Your Environment

`npx @rneui/envinfo` ## Global Dependencies:

No related dependency found

Local Dependencies:

  • @rneui/base : ^4.0.0-rc.8
  • @rneui/themed : ^4.0.0-rc.8
  • react : 18.2.0
  • react-native : 0.72.6
  • @types/react : 18.2.33

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions