Skip to content

Commit 3ed99f9

Browse files
authored
Merge pull request #258 from tangrams/nvkelso/remix-the-mix
remix the mix; and default globals for standalone
2 parents a0e804a + 36315b8 commit 3ed99f9

File tree

1 file changed

+20
-4
lines changed

1 file changed

+20
-4
lines changed

themes/bubble-wrap-icons.yaml

Lines changed: 20 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,28 @@
1+
global:
2+
# To allow standalone icon use let's define core terms that
3+
# are otherwise defined in the root {style}-style.yaml,
4+
# themes/color-{theme}.yaml or themes/label-{step} files.
5+
# This also means {style}-icons.yaml should be imported first.
6+
icon_size: [[13, '14px'], [16, '18px'], [18, '19px']]
7+
text_font_family: 'Quicksand'
8+
#black_color: [0.00,0.00,0.00]
9+
#dark_color: [0.250,0.250,0.250]
10+
#white_color: [1.00,1.00,1.00]
11+
text_stroke: [0.870,0.870,0.870]
12+
13+
# To make Refill's colorize-able icons play nice with other styles.
14+
# Bubble Wrap defaults to "" null (don't color). If colorized icons are desired
15+
# than set sdk_icon_color_style property value to "colorized_icons",
16+
# or import the Refill color theme *after* Bubble Wrap icons
17+
sdk_icon_color_style:
18+
119
styles:
220
mapzen_icon_library:
321
base: points
422
texture: mapzen_icon_library
5-
# To make Refill's colorize-able icons play nice with other styles
6-
mix: # intentionally blank, is parsed as null (no mix)
723
blend_order: 1
824
draw:
9-
size: [[13, 14px], [16, 18px], [18, 19px]]
25+
size: global.icon_size
1026
sprite: function() { return feature.kind; }
1127
sprite_default: generic
1228
buffer: 3px
@@ -15,7 +31,7 @@ styles:
1531
text_wrap: 18
1632
max_lines: 3
1733
font:
18-
family: Quicksand
34+
family: global.text_font_family
1935
weight: normal
2036
fill: [0.20,0.20,0.20]
2137
size: [[13,10px],[14,11px],[17,12px],[19,12px],[20,14px]]

0 commit comments

Comments
 (0)