test/data/renderer/way-color/style.mapcss
raw| 1 | canvas { |
| 2 | default-points: false; |
| 3 | default-lines: false; |
| 4 | } |
| 5 | |
| 6 | way[test] { |
| 7 | width: 5; |
| 8 | } |
| 9 | |
| 10 | way[test=style5] { |
| 11 | color: red; |
| 12 | } |
| 13 | |
| 14 | way[test=style4] { |
| 15 | color: #1220ad; |
| 16 | } |
| 17 | |
| 18 | way[test=style3] { |
| 19 | color: #1220ad80; |
| 20 | } |
| 21 | |
| 22 | way[test=style2] { |
| 23 | color: #12ad20; |
| 24 | opacity: .5; |
| 25 | } |
| 26 | |
| 27 | way[test=style1] { |
| 28 | color: rgba(0.0, 1.0, 0.0, 0.8); |
| 29 | opacity: .8; |
| 30 | } |