Giter Site home page Giter Site logo

phthhieu / re-tailwind Goto Github PK

View Code? Open in Web Editor NEW
119.0 119.0 2.0 587 KB

Brings TailwindCSS https://tailwindcss.com to ReasonML

Home Page: https://phthhieu.github.io/re-tailwind

License: MIT License

Shell 0.05% Ruby 5.29% Reason 94.67%
reasonml tailwind tailwind-css

re-tailwind's Introduction

phthhieu

re-tailwind's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

re-tailwind's Issues

Add support for Responsive Design variants

First of all great job; we are using re-tailwind for a prototype implementation that is planned to go into production.

At the moment we are supporting responsive design variants by using bs-css addUnsafeClass but it would be great to have this out of the box and strongly typed.

let navBarBody = TW.( [Display(Block) ] |> make) |> addUnsafeClass("lg:hidden");

Let me know if I can help on this.

Thanks Again
Alberto

Great job!!

Hey,

This library looks really great! Thanks for putting it together :)

Unexpected token '{' at html{line-height

Atter adding [%bs.raw {|require("tailwindcss/dist/tailwind.min.css")|}]; to our index.re, we get an error unexpected token '{'.
Followed the installation steps as per the github readme
Any idea about this ??

PurgeCSS not recognizing classes

Hey folks!

When this library is used in combination with purgecss, it does not properly parse the used classes, so they are not added to the bundled css.
However, it's rather useful for tailwind, because it reduces the bundling-size by a lot.

Do you have some idea of a common workflow with that?

I've seen that one may manually whitelist classes, or manually remove unused ones, but it's cumbersome.

The ts-package has an automatic approach:
https://github.com/dvkndn/typed.tw#compile-time-usage-with-webpack
Do you think this would be feasable here as well, maybe even using a ppx?

Best Wishes

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.