I'm using Adobe Illustrator CC. I have a clipping mask with text over colored rectangles. I want to apply stroke to the text in the clipping mask without applying stroke to the rectangles. This is what happens:
I apply the clipping mask:
I apply the stroke:
and now you see the rectangles also have stroke applied. How to I make it so only the text has a stroke? Thank you.
You can use the Direct Selection Tool (white arrow) to select the paths of the clipping mask and add a stroke to them. Do not use the Selection Tool (black arrow).
I'd just use a gradient with middle stops as an extra fill on text objects, allowing the text to remain "live" and editable.
This is easiest with single lines of text, but the gradient can be configured for multi-line text as well. Save this as a Graphic Style and it can be applied to any text with two clicks.