tangrams / refill-style

From Toner to Tangram
https://tangrams.github.io/refill-style
MIT License
34 stars 12 forks source link

Coloring road shields and other icons #43

Closed sensescape closed 7 years ago

sensescape commented 7 years ago

@nvkelso @bcamper

What is the best way to easily swap colors for road shields?

The first technique I tried, was converting all the road shields to white in Illustrator, and then specifying the color in the yaml:

screen shot 2017-04-04 at 2 45 26 pm

But this result is not that great. It's not so legible.

Is there a way for me to keep the white and still be able to specify the border color to blue or pink?

(Trying to avoid having a large sprite sheet with road shields in all colors too)

This is how road shields look right now, without any customization of color:

screen shot 2017-04-04 at 2 59 43 pm
bcamper commented 7 years ago

Hmm let me give that one some thought to see if there's a way to leverage existing styling.

nvkelso commented 7 years ago

Look at that curved El Camino Real label, am I right!?

On Tue, Apr 4, 2017 at 3:11 PM, Brett Camper notifications@github.com wrote:

Hmm let me give that one some thought to see if there's a way to leverage existing styling.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/tangrams/refill-style/issues/43#issuecomment-291647952, or mute the thread https://github.com/notifications/unsubscribe-auth/AA0EO6ehbkBAYrm0J_hjwgmE4cU2ZNNLks5rssAkgaJpZM4MzfbI .

nvkelso commented 7 years ago

There's probably something in @patriciogonzalezvivo's https://github.com/tangrams/refill-style/pull/45/commits/a960984db701bb0c836e549de088cb78320f6e28 for building texture recoloring we can apply to road shield recoloring (and to all the other sprites, for that matter).

bcamper commented 7 years ago

Try this: e6d41aefa82857dccb757306f0eb2c4a2535aa65

nvkelso commented 7 years ago

Mostly working, but followup discussion in comment https://github.com/tangrams/refill-style/commit/e6d41aefa82857dccb757306f0eb2c4a2535aa65#commitcomment-21760298.

nvkelso commented 7 years ago

@sensescape Can this issue be closed?

sensescape commented 7 years ago

yes looks good

screen shot 2017-04-17 at 1 06 06 pm screen shot 2017-04-17 at 1 04 38 pm