Giter VIP home page Giter VIP logo

tailwindcss-border-gradient-radius's People

Contributors

batistein avatar shunkakinoki avatar

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

tailwindcss-border-gradient-radius's Issues

Weird fade to black on certain color combos

I'm getting an odd low opacity edge on some of my colored border gradients but it doesn't happen with everything
Screen Shot 2021-07-19 at 1 19 00 PM

Red-blue works fine but rainbow has the black edge

    'red-blue': ['#f00', '#00f'],
    'rainbow': ['#51E650, #F9D600, #F08E0A , #EC5157 , #FF18BD , #1A4BFF , #62D8F9']

Cannot define custom border size

This does not work:

linearBorderGradients: {
    ...
    border: {
        '3': '3px',
    },
},

But if I change border to borders, then gradient-border-3 works (I still have issues with: border-3)

linearBorderGradients: {
    ...
    borders: {
        '3': '3px',
    },
},

Dark mode doesnt seem to apply

I have the following class applied to a button:

border-gradient-r-amber-pink-cyan-white 
dark:border-gradient-r-amber-pink-cyan-black

Now in dark mode the second class doesnt apply. So basically my button is still white.

Is this a know issue? Is there a solution? Perhaps I am doing something wrong?

doesn't work with hover states

This doesn't seem to work with hover states.

Do I need to add something to the config or is it not supported in the plugin?

Needs upgrade for Tailwind 3

Starting with Tailwind 3 (and Postcss 8), the config setting:

linearBorderGradients: (theme) => ({
    colors: {
         ...theme("colors"),
    },
})

causes our bundler (Vite) to run out of memory. I understand it may be preferred to specify certain colors, but this is a regression from Tailwind 2.

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.