- [Instructor] In this movie, I'll introduce you
to a simple but powerful feature known as the Global Swatch.
And the great thing about global swatches
is that they're linked to the objects
that are with colored with them.
So if you make a change to a global swatch,
then all the objects linked
to that global swatch will update in kind.
So notice over here in the swatches panel,
these squares that have little white wedges
in their bottom right corners.
And so, if I were to double-click
on this guy right here, bright silver,
in order to open the swatch options dialog box,
notice that the global checkbox is turned on.
And let's say I go ahead and take
this cyan value right here up to a whopping 60 percent.
As soon as I turn on the preview checkbox,
I can see that I've updated all
of those objects in the background.
Now that's not a change I want to make.
So I'm going to go ahead and click on the cancel button,
but it is a remarkable function.
And it makes it very easy to switch out the color scheme
for an entire document in a very small amount of time.
Compare that to what happens if I double-click on seafoam,
which is that swatch I created in the previous movie.
If I crank the magenta value up to 100 percent,
which gives me a kind of purplish color
and then I turn on the preview checkbox,
nothing whatsoever happens inside the illustration.
And that's because this is not a global swatch.
And so notice that the global checkbox is turned off.
Alright so I'm just going to go ahead and cancel out here.
Now let's say you not only want to turn
that swatch into a global swatch,
and all that takes is turning on the global checkbox,
but you want to make sure that your objects are associated
with it as well, which currently they are not.
But first, notice here at the bottom of the toolbox
that I've kind of messed things up
because my stroke was active.
So now, I have a bright green fill and a seafoam stroke.
Nothing is selected, so those colors
aren't applied to anything.
But still, that's the opposite effect of what I want.
So I'll go ahead and click on this little swap icon
at the bottom of the toolbox
to swap the fill and stroke attributes like so.
And just to make things a little more obvious,
here inside the swatches panel
with that stroke still active,
I'll go ahead and switch it to white.
Alright now I want you to notice that that swap icon
right there has a keyboard shortcut of shift x.
So here's the idea.
If you press the x key by itself,
then you're going to switch focus between
that seafoam colored fill and the white stroke.
But if you press shift x, then you swap
the fill and stroke colors.
Anyway, I'm going to press shift x again
and I'm going to click on the fill in order to make it active.
And that automatically switches me to the color panel,
which is not what I want.
So I'll once again click on the swatches tab.
Alright now we need to select all the objects
that are filled with this seafoam color.
And you do that by going over here
to the select similar objects icon
on the right side of the horizontal control panel.
And then, rather than clicking on it,
you want to click the down pointing arrowhead
and choose fill color from this pop-up menu.
And that will go ahead and select
the inner hexagon around the month of March,
as well as the outer hexagon around September.
Now if you go ahead and double-click on the seafoam swatch
in order to bring up the swatch options dialog box,
all you have to do is select the global checkbox
and then click OK.
And now notice if I click off these objects
to deselect them, I can still update them
just by double-clicking on the seafoam swatch
which now has a white wedge in its bottom right corner.
And then I'm going to crank the cyan value up to 60 percent
and I'll turn on the preview checkbox.
And keep an eye on March in particular
and you'll see it update right away like so.
Even though neither March
or September is currently selected.
At which point, I'll click OK.
Alright, now we need to do the same thing
with the harlequin swatch.
And so I'll click on it to apply it to the default fill
and then I'll click this down pointing arrowhead once again
and you can see that fill color
is still the active attribute.
So all you have to do now is click on that neighboring icon
in order to select the inner hexagon around April
and the outer one around October.
And now, I'll just go ahead and double-click
on that swatch to bring up the swatch options dialog box
and I'll turn on the global checkbox.
Now in this case, I don't want to make any changes.
So I'll just go ahead and click OK.
And you can see that I now have white wedges
in the bottom right corners of each of my new swatches.
Now let's see what it looks like
when you're creating a swatch in the first place.
I'm going to go ahead and click
on the interior hexagon around August
and then I'll go up to that select similar objects icon
and once again click on it.
And that'll make sure that I've selected everything
that's filled with this particular color.
Which includes the outer hexagon around February.
Now, I'll go ahead and create a new swatch
by clicking on the little page icon
at the bottom of the swatches panel
and I'll call this guy magenta
because it is nearly entirely magenta.
And I'll turn on the global checkbox.
Very important.
And you may say, well that is the default settings nowadays.
But it's also the default setting
if you turn the checkbox off.
So in other words, it's sticky from one swatch to the next.
So I'll turn the checkbox on and then I'll click OK.
Now for whatever reason, I've encountered a bug here.
I'm not seeing a new swatch.
So I'm just going to run through those steps again.
I'll click on the little page icon.
This time the global checkbox is turned on.
And so I'll click OK in order to accept the swatch
with its default name, C=5 and so forth.
Now I'll go ahead and drag this guy over
to between harlequin and the swatch that's called orange.
And now let's say I want to modify that swatch.
I'm going to go ahead and click off
my objects to deselect them.
You don't have to do that, but it helps to make a point.
And now I'll double-click on that swatch
to once again bring up the swatch options dialog box.
And I'm going to reduce the amount
of magenta ink here to 70 percent, let's say.
And I'll take the cyan value up to 30 percent.
And then I'll turn on the preview checkbox.
And you can see that we end up with
the kind of purplish color,
which is no longer magenta incidentally.
It's more lavender.
And I can continue to make changes if I want to.
For example, I'll give the color
just a little bit of yellow, 20 percent in all.
Which I think ends up muting that color quite nicely.
And now I'll click OK.
And you can see that all of my changes,
including the name, have taken effect.
And that is how you create and modify global swatches
which affect any and all objects
that are linked to them here inside Illustrator.