Giter Site home page Giter Site logo

Comments (7)

hymhub avatar hymhub commented on June 26, 2024 3

This is a useful feature, but I suggest enabling this setting by default.

I initially treid to use the tool and was confused why the output included classes like border-[2px]. It took me a while to realise that I needed to check the useAllDefaultValues box for conversions to work correctly.

Now, useAllDefaultValues defaults to true, and users who have modified the configuration before will not be affected, localStorage will remember the configuration
image

from css-to-tailwind.

hymhub avatar hymhub commented on June 26, 2024 1

Hey, the new version provides the useAllDefaultValues option, which can basically convert all default values
https://github.com/hymhub/css-to-tailwind#configuration
image

from css-to-tailwind.

hymhub avatar hymhub commented on June 26, 2024

Thanks for the suggestion, I will consider adding the preset writing method in the future #1 (comment)

from css-to-tailwind.

TobiasLueger avatar TobiasLueger commented on June 26, 2024

@hymhub Thanks, it would be useful in many projects.

from css-to-tailwind.

jamesscottbrown avatar jamesscottbrown commented on June 26, 2024

This is a useful feature, but I suggest enabling this setting by default.

I initially treid to use the tool and was confused why the output included classes like border-[2px]. It took me a while to realise that I needed to check the useAllDefaultValues box for conversions to work correctly.

from css-to-tailwind.

jorgezreik avatar jorgezreik commented on June 26, 2024

Should we close this issue now that the requested changes have been implemented?

from css-to-tailwind.

johann-taberlet avatar johann-taberlet commented on June 26, 2024

I think it doesn't works for font-size.
font-size: 3rem => text-[3rem] instead of text-5xl

from css-to-tailwind.

Related Issues (9)

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.