Skip to content

Instantly share code, notes, and snippets.

@wboykinm
Created January 1, 2014 17:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wboykinm/8209973 to your computer and use it in GitHub Desktop.
Save wboykinm/8209973 to your computer and use it in GitHub Desktop.
Geosprocket-Bright, texture added
/* ****************************************************************** */
/* OSM BRIGHT for Imposm */
/* ****************************************************************** */
/* For basic style customization you can simply edit the colors and
* fonts defined in this file. For more detailed / advanced
* adjustments explore the other files.
*
* GENERAL NOTES
*
* There is a slight performance cost in rendering line-caps. An
* effort has been made to restrict line-cap definitions to styles
* where the results will be visible (lines at least 2 pixels thick).
*/
/* ================================================================== */
/* FONTS
/* ================================================================== */
/* directory to load fonts from in addition to the system directories */
Map {
font-directory: url(./fonts);
}
/* set up font sets for various weights and styles */
@sans_lt: "American Typewriter Light","DejaVu Sans Book","unifont Medium";
@sans_lt_italic: "Chaparral Pro Light Italic","DejaVu Sans Italic","unifont Medium";
@sans: "American Typewriter Regular","DejaVu Sans Book","unifont Medium";
@sans_italic: "Chaparral Pro Italic","DejaVu Sans Italic","unifont Medium";
@sans_bold: "American Typewriter Bold","DejaVu Sans Bold","unifont Medium";
@sans_bold_italic: "Chaparral Pro Bold Italic","DejaVu Sans Bold Italic","unifont Medium";
/* Some fonts are larger or smaller than others. Use this variable to
globally increase or decrease the font sizes. */
/* Note this is only implemented for certain things so far */
@text_adjust: 10;
/* ================================================================== */
/* LANDUSE & LANDCOVER COLORS
/* ================================================================== */
@land: #FCFBE7;
@water: #C4DFF6;
@grass: #E6F2C1;
@beach: #FFEEC7;
@park: #DAF2C1;
@cemetery: #D6DED2;
@wooded: #C3D9AD;
@agriculture: #F2E8B6;
@building: #E4E0E0;
@hospital: rgb(229,198,195);
@school: #FFF5CC;
@sports: #B8E6B8;
@residential: @land * 0.98;
@commercial: @land * 0.97;
@industrial: @land * 0.96;
@parking: #EEE;
/* ================================================================== */
/* ROAD COLORS
/* ================================================================== */
/* For each class of road there are three color variables:
* - line: for lower zoomlevels when the road is represented by a
* single solid line.
* - case: for higher zoomlevels, this color is for the road's
* casing (outline).
* - fill: for higher zoomlevels, this color is for the road's
* inner fill (inline).
*/
@motorway_line: #387DA8;
@motorway_fill: lighten(@motorway_line,10%);
@motorway_case: @motorway_line * 0.9;
@trunk_line: #E68A5C;
@trunk_fill: lighten(@trunk_line,10%);
@trunk_case: @trunk_line * 0.9;
@primary_line: #FFC859;
@primary_fill: lighten(@primary_line,10%);
@primary_case: @primary_line * 0.9;
@secondary_line: #FFE873;
@secondary_fill: lighten(@secondary_line,10%);
@secondary_case: @secondary_line * 0.9;
@standard_line: @land * 0.85;
@standard_fill: #fff;
@standard_case: @land * 0.9;
@pedestrian_line: @standard_line;
@pedestrian_fill: #FAFAF5;
@pedestrian_case: @land;
@cycle_line: @standard_line;
@cycle_fill: #FAFAF5;
@cycle_case: @land;
@rail_line: #999;
@rail_fill: #fff;
@rail_case: @land;
@aeroway: #ddd;
/* ================================================================== */
/* BOUNDARY COLORS
/* ================================================================== */
@admin_2: #324;
/* ================================================================== */
/* LABEL COLORS
/* ================================================================== */
/* We set up a default halo color for places so you can edit them all
at once or override each individually. */
@place_halo: fadeout(#fff,34%);
@country_text: #435;
@country_halo: @place_halo;
@state_text: #546;
@state_halo: @place_halo;
@city_text: #444;
@city_halo: @place_halo;
@town_text: #666;
@town_halo: @place_halo;
@poi_text: #888;
@road_text: #777;
@road_halo: #fff;
@other_text: #888;
@other_halo: @place_halo;
@locality_text: #aaa;
@locality_halo: @land;
/* Also used for other small places: hamlets, suburbs, localities */
@village_text: #888;
@village_halo: @place_halo;
/* ****************************************************************** */
/* ================================================================== */
/* ADDITIONAL LAYERS
/* ================================================================== */
#overlay {
polygon-pattern-file: url('../img/tilemill_seamless/rough-paper.png');
comp-op:overlay;
opacity:0.7;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment