Coder Social home page Coder Social logo

Comments (7)

Marak avatar Marak commented on August 19, 2024

@ahmadassaf -

Try this?

colors.setTheme({ info: 'green', warning: 'magenta', prompt: 'cyan', error: 'red' });   
console.log(colors.warning("hello"))

from colors.js.

ahmadassaf avatar ahmadassaf commented on August 19, 2024

still not working. Moreover, i pass the theme dynamically and it used to work perfectly in the 0.6.2

  colors.setTheme({ info: 'green', warning: 'magenta', prompt: 'cyan', error: 'red' });

  console.log(colors[type](this.options[type][message]));

from colors.js.

Marak avatar Marak commented on August 19, 2024

@ahmadassaf - We do have unit tests passing for this functionality and I can confirm its working on a couple of machines.

Are you certain the value you are passing in is correct?

Can you paste an actual reproducible code snippet?

from colors.js.

Marak avatar Marak commented on August 19, 2024

I think I found it...

from colors.js.

Marak avatar Marak commented on August 19, 2024

@ahmadassaf -

I think I got it. Can you install v1.0.1 and try again?

from colors.js.

ahmadassaf avatar ahmadassaf commented on August 19, 2024

perfect :) working again

Thanks for the prompt support

from colors.js.

Marak avatar Marak commented on August 19, 2024

Thank you for spotting the bug!

Your contribution is much appreciated.

On Wed, Oct 1, 2014 at 6:11 PM, AHMAD ASSAF [email protected]
wrote:

Closed #82 #82.

β€”
Reply to this email directly or view it on GitHub
#82 (comment).

from colors.js.

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.