wrappid / styles

This package is a part of wrappid framework for wrappid-app projects, made for wrappid/wrappid-app projects created by wrappid/toolkit. This package is used by wrappid/core package, wrappid/native-web package and wrappid/native-mobile package.
MIT License
15 stars 5 forks source link

bugfix: when theme changes styles file's theme properties are not changing #45

Closed Edithmark42 closed 3 days ago

Edithmark42 commented 7 months ago

Issue Description:

When switching themes in our application, the styles file’s theme properties do not update as expected. This behavior is inconsistent with the intended behavior of theme changes.

Steps to Reproduce:

  1. Open the application.
  2. Change the theme (e.g., from light mode to dark mode).
  3. Observe that the styles defined in the styles file (such as colors, fonts, etc.) do not reflect the updated theme.

Expected Behavior:

When the theme changes, the styles file should dynamically update its theme-related properties to match the selected theme. Actual Behavior:

The styles file retains the properties from the initial theme, even after switching to a different theme.

Desktop :

Additional context

Edithmark42 commented 7 months ago

This issue was resolved. but may need further enhancement so keeping this issue and branch open as of now.