Coder Social home page Coder Social logo

can it be colorfully? about svg-captcha HOT 8 CLOSED

produck avatar produck commented on June 2, 2024
can it be colorfully?

from svg-captcha.

Comments (8)

steambap avatar steambap commented on June 2, 2024 1

Somehow I cannot push code to github right now. However, I have published a new version to npm which you can try with new options {color: true, background: '#212121'}.

from svg-captcha.

steambap avatar steambap commented on June 2, 2024

What kind of options would you like ? e.g. {color: true, backgroundColor: true} or you want specify a color like {color: '#fe4336') ?

from svg-captcha.

smancang avatar smancang commented on June 2, 2024

I like the latter.I find a package called svg-captcha-color https://git.coding.net/ncbql/svg-captcha-color.git. It looks like this package and has more options.

from svg-captcha.

steambap avatar steambap commented on June 2, 2024

Thanks for the reference, I'll add the color option.

from svg-captcha.

steambap avatar steambap commented on June 2, 2024

Another update. Now you don't have to set color option when background options is set.

If you still unhappy about some options, feel free to open this again

from svg-captcha.

BryanGrezeszak avatar BryanGrezeszak commented on June 2, 2024

As far as I can tell, it is now always colored, regardless of how you set the color option.

from svg-captcha.

steambap avatar steambap commented on June 2, 2024

If you set background option, it will always colored. If you want black and white, do not set background color.

from svg-captcha.

BryanGrezeszak avatar BryanGrezeszak commented on June 2, 2024

Got it, thanks.

from svg-captcha.

Related Issues (20)

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.