Closed PrattiDev closed 2 years ago
Similar/duplicate of #59
With the latest update, this has been fixed. The token structure has been updated, so it won't work without renaming and adapting style folders inside Figma, but the plugin will recognize the proper paths and update them accordingly afterwards.
Describe the bug While all other styles switch to their /dark/ counterparts as expected, the opacity styles — used for state management in components — do not.
To Reproduce Steps to reproduce the behavior:
Expected behavior The style is supposed to swap to its dark counterpart so users can quickly switch themes without hunting down instances of opacity styles to manually switch.
Screenshots
Here is a FAB in a pressed state. It contains an opacity layer, corresponding with the Material You guidelines. Its pressed state overlay does not switch accordingly.
Desktop: