juxtopposed / realtimecolors

Real-time UI Colorpicking Tool. See your favorite colors of choice for a website in real time.
https://realtimecolors.com
Other
798 stars 31 forks source link

Tailwind color export base color and dark theme color beeing same #74

Closed vasusubb47 closed 11 months ago

vasusubb47 commented 11 months ago

In Tailwind while exporting the color profile turning on shades and theme flags. both base and dark theme colors will be the same

Steps to reproduce the behavior:

  1. Create a color profile
  2. Click on export with shades and theme flags turned on.
  3. See both base and dark themes are the same.

Different color for base and dark theme.

base theme image

dark theme image

juxtopposed commented 11 months ago

Hi there. This is mainly because the shades are the same in both modes. What would you suggest is a better way to show this?

sa2812 commented 11 months ago

@juxtopposed - I too am tripped up by this. Shouldn't the dark shades be flipped with respect to the light shades?

In my code, I can have something like

<div class="bg-background-50">

and in dark mode, the background being referenced should be a different colour, but that's not how it currently works. It might be an implementation issue on my end, but I think that it's the same issue that @Vasu7777py encountered.

juxtopposed commented 11 months ago

This should be updated now. Let me know if it looks good.

sa2812 commented 11 months ago

That's perfect @juxtopposed! Thanks for the quick turnaround! I'm not OP, but this issue looks like one you can safely close.