rogden / tailwind-config-viewer

A local UI tool for visualizing your Tailwind CSS configuration file.
2.01k stars 111 forks source link

What about z-index? #52

Open marhali opened 2 years ago

marhali commented 2 years ago

I think it would be great if the configuration for z-index could also displayed.

It seems that the tailwind-config-viewer does not support these values right now? I could not find any other issue which is related to z-index.

Thanks in advance. Btw great project!

acharlop commented 2 years ago

Any thoughts or examples of how to display z-index?

acharlop commented 2 years ago

These are similar to how the tailwind documentation has it but if you have a long theme name prefix it might break.

image image
marhali commented 2 years ago

As an alternative, I imagine something like a deck of cards, with each card representing a Z index.

acharlop commented 2 years ago

@marhali square instead of rounded? To show z-index it needs to be compared to something below it so the would still have to overlap

dhruvkb commented 2 years ago

Something similar to this wouldn't have issues with longer names.

Screenshot 2022-09-09 at 10 37 44 AM