stevezease / tailwind-converter

Website for converting css to tailwind
MIT License
271 stars 46 forks source link

support for generation @apply directives #4

Open dkuku opened 3 years ago

dkuku commented 3 years ago

sometimes you need to add custom css classes because some libraries need it. It should be easy to allow generation of:

.phx-modal {
  @apply opacity-100 fixed left-0 top-0 w-full h-full overflow-auto;
}

from

.phx-modal {
  opacity: 1!important;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
}
IRediTOTO commented 3 years ago

Yes, please make this func if you can

IRediTOTO commented 3 years ago

and option for comment the missing styles too