Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect Mode Copying #114

Open
andreas-bylund opened this issue May 30, 2024 · 0 comments
Open

Incorrect Mode Copying #114

andreas-bylund opened this issue May 30, 2024 · 0 comments

Comments

@andreas-bylund
Copy link

Description:

When selecting to copy a mode, the incorrect mode is copied. Specifically:

  • When selecting to copy Light mode, Dark mode is copied instead.
  • When selecting to copy Dark mode, Light mode is copied instead.

Steps to Reproduce:

  1. Select the option to copy Light mode.
  2. Observe that Dark mode is copied instead.
  3. Select the option to copy Dark mode.
  4. Observe that Light mode is copied instead.

Example:

Outcome when I copy the following component in Light Mode:

<section className="p-6 bg-gray-800 text-gray-100">
    [...]
</section>

And when I copy the same component in Dark mode:

<section className="p-6 dark:bg-gray-100 dark:text-gray-800">
    [...]
</section>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant