Skip to content

Commit

Permalink
Merge pull request #196 from tangrams/nvkelso/remix-the-mix
Browse files Browse the repository at this point in the history
remix the mix; and default globals for standalone
  • Loading branch information
nvkelso authored Sep 28, 2017
2 parents 90b239f + afa79d8 commit 291d90a
Showing 1 changed file with 19 additions and 3 deletions.
22 changes: 19 additions & 3 deletions themes/walkabout-icons.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
global:
# To allow standalone icon use let's define core terms that
# are otherwise defined in the root {style}-style.yaml,
# themes/color-{theme}.yaml or themes/label-{step} files.
# This also means {style}-icons.yaml should be imported first.
icon_size: [[13, '18px'], [16, '18px'], [18, '22px']]
text_font_family: 'Open Sans'
#black_color: [0.00,0.00,0.00]
#dark_color: [0.250,0.250,0.250]
#white_color: [1.00,1.00,1.00]
text_stroke: [0.913,0.925,0.933]

# To make Refill's colorize-able icons play nice with other styles.
# Walkabout defaults to "" null (don't color). If colorized icons are desired
# than set sdk_icon_color_style property value to "colorized_icons",
# or import the Refill color theme *after* Walkabout icons
sdk_icon_color_style:

styles:
background-icons:
base: points
Expand All @@ -7,11 +25,9 @@ styles:
mapzen_icon_library:
base: points
texture: mapzen_icon_library
# To make Refill's colorize-able icons play nice with other styles
mix: # intentionally blank, is parsed as null (no mix)
blend_order: 1
draw:
size: [[13, 18px], [16, 18px], [18, 22px]]
size: global.icon_size
sprite: function() { return feature.kind; }
sprite_default: generic
buffer: 7px
Expand Down

0 comments on commit 291d90a

Please sign in to comment.