All right, so welcome back again. So in this particular session, we try to see how to add colors to our CI, right. So let's see how to do this. I'm just going to copy this one here, or pick one of them that you have done as well. Close this one and go back to our location here. We have our optionality.
Right? So let's go to add some colors to it to this sentence as you have done, we'll be trying to see how to add this to it. Let's see this one is Eli. As good as color, CSI GS, the new try see how to add colors to this particular stuff here. So how do you add colors to this is very, very simple. So we'll be using another package called chalk.
To install it, just go to your terminal, then go with npm install chalk, then does the safe add choke to our package JSON file here, right we have our package JSON file added to our package. json file here. Now let's see how to work with it. So was this installing it Just had to talk by coming to this place and going to cost talk, then go to a car shop. Very interesting, right, that is what we need. So if I save it now I can just come back to the same place at half the value in what about an hour to do any case I want to pass or to add a color to this particular name.
I just come back to the same thing here. Then go with chalk dot the particular steps we need to see I want to add white to it. I'll go with white or this pass inside this body, right so it's going to add that white color to so let's make this one red. So different, very interested. So I think by now I just finished installing it. So I can just come back to the same thing.
Come back to Osceola that you have to disconnect your lights are going to be node node color. Seelye then does help if everything is working, it is To add color to the first thing, you can just come back to the same thing that we did, which is a first name. So let's pass in a mango, say Peter. Then the last name. Jameson, right. So let me spell it like osito Jameson, run it like this.
Now good to see that this would add last we made a mistake here. So let's run it again. James last name. Right. Then you run it like this, you're going to add a color to dislike this is Hello, my name is Peter Ellis how to add colors to UCLA. Very, very interested in rights by using chalk.
So you can do a lot of things with chalk. can do a little test case alkalize case you want to add a background color to it. So this one give us a normal red color because I want to add a background color of white and also come back to the same thing I did. So red.bg for background color in a passing fight. That is always if I run it It seemed that you were going to bring that white color to red on Bangkok. Right?
That is the basic idea. So all you did you do this choke rate, background color, or whatever it is to board in this pita, let's make it like a boat. Then we're going to add board to board in it for us. If I read it again, I said this is broader than this one, right? That's the basic idea which we can withdraw to the authorities can also do. So I can just add another color to this.
So let's go to a stroke. Good. Yellow. Good to meet that one yellow. So good to be here. So let's come back again.
Run it again. Let's make it a G. Right? It's going to bring it difficult as we select guessing, right, if you look right, so we've talked and add some beautiful colors not only just to a specific aspect, but the entire staff by this important talk from here. They're calling it right chalk white chalk. There's going to be the foreground color. And it's going to be the background color.
Right? Very interesting very nice Canarsie bada canister is going to add a color to the requite can make it like Joe. Good. Maybe magenta. Science color is color supported and I cannot run it again. And now required is going to have a color of magenta, right?
Very interesting is how to work with chalk in our house, our colleagues to UCLA essential to thank you for watching and theory in this session. Stay blessed.