There was an error while loading. Please reload this page.
1 parent f6f251c commit e2e8c3fCopy full SHA for e2e8c3f
1 file changed
global.yaml
@@ -5,7 +5,17 @@ global:
5
text_stroke: { color: global.text_stroke_color, width: 2.5px }
6
text_places_stroke: { color: global.text_stroke_color, width: 2.5px }
7
text_fill_color: '#124'
8
- text_size: 12px
+ text_size_scaling: 1 # intended to be overwritten by StreetComplete
9
+ text_size: |
10
+ function() {
11
+ var size = 13;
12
+ if ($zoom >= 18 && $zoom < 19) {
13
+ size = 15;
14
+ } else if ($zoom >= 19) {
15
+ size = 17;
16
+ }
17
+ return (size * global.text_size_scaling) + "px";
18
19
20
# The following colors are in most cases overwritten
21
# ones that are used are defined in streetcomplete-light-style.yaml
0 commit comments