You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Upon upgrading to Tailwind CSS v3.4.0 in a NativeWind project, there is a noticeable issue where the dark mode style modifiers fail to function. This problem specifically occurs with the new version of Tailwind CSS, impacting the application of conditional dark mode styles.
To Reproduce
Steps to reproduce the behavior:
Set up a NativeWind project with nativewind version 4.0.16.
Upgrade Tailwind CSS to version 3.4.0.
Configure dark mode in the application to apply styles using the class method.
Implement a component with distinct styles for dark mode. Example code:
Expected behavior
The component should display a blue background (dark:bg-blue-500) in dark mode.
Actual Behavior
The component maintains the red background (bg-red-500) irrespective of dark mode activation, indicating a failure in applying the dark mode-specific styles.
Additional context
This styling issue was not present before updating to Tailwind CSS v3.4.0.
The text was updated successfully, but these errors were encountered:
Please provide a full reproduction. This could be caused by a number of reasons and there is not enough information here for me to provide you an explanation.
Upon upgrading to Tailwind CSS v3.4.0 in a NativeWind project, there is a noticeable issue where the dark mode style modifiers fail to function. This problem specifically occurs with the new version of Tailwind CSS, impacting the application of conditional dark mode styles.
To Reproduce
Steps to reproduce the behavior:
nativewind
version 4.0.16.class
method.Expected behavior
The component should display a blue background (
dark:bg-blue-500
) in dark mode.Actual Behavior
The component maintains the red background (
bg-red-500
) irrespective of dark mode activation, indicating a failure in applying the dark mode-specific styles.Additional context
This styling issue was not present before updating to Tailwind CSS v3.4.0.
The text was updated successfully, but these errors were encountered: