Created
          April 5, 2012 17:22 
        
      - 
      
- 
        Save vlandham/2312647 to your computer and use it in GitHub Desktop. 
    Street Map Styling for TileMill
  
        
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | //short version | |
| @minor_color: #1d1d1d; | |
| @major_color: #000; | |
| #roads { | |
| line-join: round; | |
| line-cap: round; | |
| line-width:0.5; | |
| line-color:@minor_color; | |
| } | |
| #roads [type='rail'] { | |
| line-opacity:0.0; | |
| line-width:0.0; | |
| } | |
| // ... | |
| #roads::prim[type='primary'] { | |
| line-color:@major_color; | |
| line-width:1; | |
| } | |
| #roads::moto[type='motorway'] { | |
| line-color:@major_color; | |
| line-width:1.5; | |
| } | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | Map { | |
| background-color: #f6f2ec; | |
| } | |
| @minor_color: #1d1d1d; | |
| @major_color: #000; | |
| #roads { | |
| line-join: round; | |
| line-cap: round; | |
| line-width:0.5; | |
| line-color:@minor_color; | |
| } | |
| #roads [type='rail'] { | |
| line-opacity:0.0; | |
| line-width:0.0; | |
| } | |
| #roads [type='footway'] { | |
| line-opacity:0.0; | |
| line-width:0; | |
| } | |
| #roads [type='cycleway'] { | |
| line-opacity:0.0; | |
| line-width:0; | |
| } | |
| #roads::sec[type='secondary'] { | |
| line-color:@major_color; | |
| line-width:0.6 | |
| } | |
| #roads::prim[type='primary'] { | |
| line-color:@major_color; | |
| line-width:1; | |
| } | |
| #roads::trunk[type='trunk'] { | |
| line-color:@major_color; | |
| line-width:1.5; | |
| } | |
| #roads::moto[type='motorway'] { | |
| line-color:@major_color; | |
| line-width:1.5; | |
| } | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment