Giter Site home page Giter Site logo

tailwindcss-ripple's People

Contributors

dependabot[bot] avatar jamessessford 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  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

tailwindcss-ripple's Issues

Custom Colors Not Working?

My custom colors are not being included with the Ripple. Am I missing something?
Also will it work with var colors?

module.exports = {
    theme: {
        extend: {
            colors: {
                'brand1': 'var(--brand1)',
                'brand2': 'var(--brand2)',
                'dodgerblue': 'dodgerblue',
            },
        },
        container: {
            center: true,
            padding: '1rem',
        },
        ripple: theme => ({
            colors: theme('colors')
        }),
    },
    variants: {
        borderWidth: ['responsive', 'hover', 'focus'],
        textColor: ['hover', 'active', 'group-hover', 'group-active'],
        boxShadow: ['hover', 'focus', 'active', 'group-hover', 'group-active'],
    },
    plugins: [
        require('@tailwindcss/ui'),
        require('tailwindcss-ripple')(),
    ]
}

Enable customisable parameters

Hey, nice plugin.
Thanks for doing the Tailwind integration.

Is it possible to add customisable parameters?
For example, I find the darken(0.2) a bit too dark.

Thanks.

no transition on hover

Hi, this is an amazing library thanks.
just have some problem to find how do I disable duration time when i hover the button.

same as in martial UI when I hover a button the color chang instantly with no delay to the hover color
and when i click i get the nice ripple effect

i tried to change modifierTransition to none or zero but this disabled the ripple as well.

Request: Working project example

Hello, Thank you for this plugin. I couldn't get this working in my project. I would appreciate a working example to compare. Thank you.

Works well also in tailwindcss v3

In case you didnt know, this plugin works quite well in tailwindcss v3. Didnt fully test all features but most basic works really good, actually, no bugs at all encountered. Afaik probably the best ripple animation plugin.

Doesn't work with bg-black

It tries to darken black, which is already very dark, so it isn't visible

Would be great if there is negative darken values or lighten values?

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.