
Paragraph styles in Adobe InDesign allow designers to maintain a typographic style across very large documents, while (in most cases) maintaining their sanity. Similarly, Illustrator offers a very powerful tool called graphic styles that allows the designer to define styles and apply them to Illustrator objects.
In this tutorial I'm going to demonstrate how the use of Graphic Styles in Illustrator can make it easier to build complex web forms and will assist you in developing rapid mockups.
Web under New Document Profile and choose the 800 x 600 preset
Pixel Preview (View → Pixel Preview)Ensure you have both the Color and Layers palette available (Window → Color, Window → Layers).
Simply creating a background colour for our project to sit on.
Color palatte
R 77; G BB; B 55Layers palette.Ensure you have both the Graphic Styles and Appearance palettes available (Window → Graphic Styles, Window → Appearance).
256px x 32px, fill it white with a black strokefx menu at the bottom of the Appearance palette, go to Stylize → Round Corners
5px
Here we're going to add a dark outline around the object with a one pixel highlight underneath.
Appearance palette select the strokeStroke, select Align Stroke to OutsideOpacity to 30%
Opacity to 20%Distort & Transform → Transform under the fx menu in the Appearance palette105%, the vertical offset to 1px
Ensure you have the Gradient palette (Window → Gradient).
We're going to use the appearance palette to create a secondary fill as a gradient. We will set up the gradient so that it appears to be a shadow within the rectangle. To do this we will first set three colour nodes along the gradient slider then move the nodes so that it creates a hard line.
Appearance palette click the Add New Fill buttonLinear from the Type option in the Gradient palette-90Gradient Slider and change the colour to K 30%
Gradient Slider somewhere in the middle to add a new colour nodeK 20%K 10%Gradient Slider6%6.25%
Creating a new graphic style will allow us to use this style on other objects in our project.
New Graphic Style icon on the bottom of the Graphic Styles paletteIn this section I'm going to show you how to use a previously established style as a starting point for creating a new element with similar attributes.
option + drag to a new location96pxK 30%, opacity 20%K 70%, opacity 20%K 90%, opacity 20%K 100%, opacity 60%0%6%6.25%100%Alternate color UIWeb Safe RGB from the dropdown in the top right of the Alternate color UIR 88; G EE; B 66
60%
New Graphic Style icon on the bottom of the Graphic Styles palette
Using this method you will be able to create other elements for your designs. These graphic styles will allow you to quickly change and iterate on your design without having to carefully reposition as many objects. Well defined graphic styles can also be shared between designers to ensure visual congruency. Thanks to Steven Aston for showing me this trick.