mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-21 11:31:23 +01:00
style - fetch local json files
This commit is contained in:
parent
79c1e2abd9
commit
49a8a9f7c7
12 changed files with 3392 additions and 517 deletions
385
styles/default.json
Normal file
385
styles/default.json
Normal file
|
|
@ -0,0 +1,385 @@
|
|||
{
|
||||
"#map": {
|
||||
"background-color": "#000000",
|
||||
"filter": null,
|
||||
"data-filter": null
|
||||
},
|
||||
"#armies": {
|
||||
"font-size": 6,
|
||||
"box-size": 3,
|
||||
"stroke": "#000",
|
||||
"stroke-width": 0.3,
|
||||
"fill-opacity": 1,
|
||||
"filter": null
|
||||
},
|
||||
"#biomes": {
|
||||
"opacity": null,
|
||||
"filter": null,
|
||||
"mask": "url(#land)"
|
||||
},
|
||||
"#stateBorders": {
|
||||
"opacity": 0.8,
|
||||
"stroke": "#56566d",
|
||||
"stroke-width": 1,
|
||||
"stroke-dasharray": 2,
|
||||
"stroke-linecap": "butt",
|
||||
"filter": null
|
||||
},
|
||||
"#provinceBorders": {
|
||||
"opacity": 0.8,
|
||||
"stroke": "#56566d",
|
||||
"stroke-width": 0.5,
|
||||
"stroke-dasharray": "0 2",
|
||||
"stroke-linecap": "round",
|
||||
"filter": null
|
||||
},
|
||||
"#cells": {
|
||||
"opacity": null,
|
||||
"stroke": "#808080",
|
||||
"stroke-width": 0.1,
|
||||
"filter": null,
|
||||
"mask": null
|
||||
},
|
||||
"#gridOverlay": {
|
||||
"opacity": 0.8,
|
||||
"scale": 1,
|
||||
"dx": 0,
|
||||
"dy": 0,
|
||||
"type": "pointyHex",
|
||||
"stroke": "#777777",
|
||||
"stroke-width": 0.5,
|
||||
"stroke-dasharray": null,
|
||||
"stroke-linecap": null,
|
||||
"transform": null,
|
||||
"filter": null,
|
||||
"mask": null
|
||||
},
|
||||
"#coordinates": {
|
||||
"opacity": 1,
|
||||
"data-size": 12,
|
||||
"font-size": 12,
|
||||
"stroke": "#d4d4d4",
|
||||
"stroke-width": 1,
|
||||
"stroke-dasharray": 5,
|
||||
"stroke-linecap": null,
|
||||
"filter": null,
|
||||
"mask": null
|
||||
},
|
||||
"#compass": {
|
||||
"opacity": 0.8,
|
||||
"transform": null,
|
||||
"filter": null,
|
||||
"mask": "url(#water)",
|
||||
"shape-rendering": "optimizespeed"
|
||||
},
|
||||
"#rose": {
|
||||
"transform": null
|
||||
},
|
||||
"#relig": {
|
||||
"opacity": 0.7,
|
||||
"stroke": "#777777",
|
||||
"stroke-width": 0,
|
||||
"filter": null
|
||||
},
|
||||
"#cults": {
|
||||
"opacity": 0.6,
|
||||
"stroke": "#777777",
|
||||
"stroke-width": 0.5,
|
||||
"stroke-dasharray": null,
|
||||
"stroke-linecap": null,
|
||||
"filter": null
|
||||
},
|
||||
"#landmass": {
|
||||
"opacity": 1,
|
||||
"fill": "#eef6fb",
|
||||
"filter": null
|
||||
},
|
||||
"#markers": {
|
||||
"opacity": null,
|
||||
"rescale": 1,
|
||||
"filter": "url(#dropShadow01)"
|
||||
},
|
||||
"#prec": {
|
||||
"opacity": null,
|
||||
"stroke": "#000000",
|
||||
"stroke-width": 0,
|
||||
"fill": "#003dff",
|
||||
"filter": null
|
||||
},
|
||||
"#population": {
|
||||
"opacity": null,
|
||||
"stroke-width": 1.6,
|
||||
"stroke-dasharray": null,
|
||||
"stroke-linecap": "butt",
|
||||
"filter": null
|
||||
},
|
||||
"#rural": {
|
||||
"stroke": "#0000ff"
|
||||
},
|
||||
"#urban": {
|
||||
"stroke": "#ff0000"
|
||||
},
|
||||
"#freshwater": {
|
||||
"opacity": 0.5,
|
||||
"fill": "#a6c1fd",
|
||||
"stroke": "#5f799d",
|
||||
"stroke-width": 0.7,
|
||||
"filter": null
|
||||
},
|
||||
"#salt": {
|
||||
"opacity": 0.5,
|
||||
"fill": "#409b8a",
|
||||
"stroke": "#388985",
|
||||
"stroke-width": 0.7,
|
||||
"filter": null
|
||||
},
|
||||
"#sinkhole": {
|
||||
"opacity": 1,
|
||||
"fill": "#5bc9fd",
|
||||
"stroke": "#53a3b0",
|
||||
"stroke-width": 0.7,
|
||||
"filter": null
|
||||
},
|
||||
"#frozen": {
|
||||
"opacity": 0.95,
|
||||
"fill": "#cdd4e7",
|
||||
"stroke": "#cfe0eb",
|
||||
"stroke-width": 0,
|
||||
"filter": null
|
||||
},
|
||||
"#lava": {
|
||||
"opacity": 0.7,
|
||||
"fill": "#90270d",
|
||||
"stroke": "#f93e0c",
|
||||
"stroke-width": 2,
|
||||
"filter": "url(#crumpled)"
|
||||
},
|
||||
"#dry": {
|
||||
"opacity": 1,
|
||||
"fill": "#c9bfa7",
|
||||
"stroke": "#8e816f",
|
||||
"stroke-width": 0.7,
|
||||
"filter": null
|
||||
},
|
||||
"#sea_island": {
|
||||
"opacity": 0.5,
|
||||
"stroke": "#1f3846",
|
||||
"stroke-width": 0.7,
|
||||
"filter": "url(#dropShadow)",
|
||||
"auto-filter": 1
|
||||
},
|
||||
"#lake_island": {
|
||||
"opacity": 1,
|
||||
"stroke": "#7c8eaf",
|
||||
"stroke-width": 0.35,
|
||||
"filter": null
|
||||
},
|
||||
"#terrain": {
|
||||
"opacity": null,
|
||||
"set": "simple",
|
||||
"size": 1,
|
||||
"density": 0.4,
|
||||
"filter": null,
|
||||
"mask": null
|
||||
},
|
||||
"#rivers": {
|
||||
"opacity": null,
|
||||
"filter": null,
|
||||
"fill": "#5d97bb"
|
||||
},
|
||||
"#ruler": {
|
||||
"opacity": null,
|
||||
"filter": null
|
||||
},
|
||||
"#roads": {
|
||||
"opacity": 0.9,
|
||||
"stroke": "#d06324",
|
||||
"stroke-width": 0.7,
|
||||
"stroke-dasharray": 2,
|
||||
"stroke-linecap": "butt",
|
||||
"filter": null,
|
||||
"mask": null
|
||||
},
|
||||
"#trails": {
|
||||
"opacity": 0.9,
|
||||
"stroke": "#d06324",
|
||||
"stroke-width": 0.25,
|
||||
"stroke-dasharray": ".8 1.6",
|
||||
"stroke-linecap": "butt",
|
||||
"filter": null,
|
||||
"mask": null
|
||||
},
|
||||
"#searoutes": {
|
||||
"opacity": 0.8,
|
||||
"stroke": "#ffffff",
|
||||
"stroke-width": 0.45,
|
||||
"stroke-dasharray": "1 2",
|
||||
"stroke-linecap": "round",
|
||||
"filter": null,
|
||||
"mask": null
|
||||
},
|
||||
"#statesBody": {
|
||||
"opacity": 0.4,
|
||||
"filter": null
|
||||
},
|
||||
"#statesHalo": {
|
||||
"opacity": 0.4,
|
||||
"data-width": 10,
|
||||
"stroke-width": 10,
|
||||
"filter": "blur(5px)"
|
||||
},
|
||||
"#provs": {
|
||||
"opacity": 0.7,
|
||||
"fill": "#000000",
|
||||
"font-size": 10,
|
||||
"font-family": "Georgia",
|
||||
"filter": null
|
||||
},
|
||||
"#temperature": {
|
||||
"opacity": null,
|
||||
"font-size": "8px",
|
||||
"fill": "#000000",
|
||||
"fill-opacity": 0.3,
|
||||
"stroke": null,
|
||||
"stroke-width": 1.8,
|
||||
"stroke-dasharray": null,
|
||||
"stroke-linecap": null,
|
||||
"filter": null
|
||||
},
|
||||
"#ice": {
|
||||
"opacity": 0.9,
|
||||
"fill": "#e8f0f6",
|
||||
"stroke": "#e8f0f6",
|
||||
"stroke-width": 1,
|
||||
"filter": "url(#dropShadow05)"
|
||||
},
|
||||
"#emblems": {
|
||||
"opacity": 0.9,
|
||||
"stroke-width": 1,
|
||||
"filter": null
|
||||
},
|
||||
"#texture": {
|
||||
"opacity": null,
|
||||
"filter": null,
|
||||
"mask": "url(#land)"
|
||||
},
|
||||
"#zones": {
|
||||
"opacity": 0.6,
|
||||
"stroke": "#333333",
|
||||
"stroke-width": 0,
|
||||
"stroke-dasharray": null,
|
||||
"stroke-linecap": "butt",
|
||||
"filter": null,
|
||||
"mask": null
|
||||
},
|
||||
"#oceanLayers": {
|
||||
"filter": null,
|
||||
"layers": "-6,-3,-1"
|
||||
},
|
||||
"#oceanBase": {
|
||||
"fill": "#466eab"
|
||||
},
|
||||
"#oceanicPattern": {
|
||||
"href": "./images/pattern1.png",
|
||||
"opacity": 0.2
|
||||
},
|
||||
"#terrs": {
|
||||
"opacity": null,
|
||||
"scheme": "bright",
|
||||
"terracing": 0,
|
||||
"skip": 5,
|
||||
"relax": 0,
|
||||
"curve": 0,
|
||||
"filter": null,
|
||||
"mask": "url(#land)"
|
||||
},
|
||||
"#legend": {
|
||||
"data-size": 13,
|
||||
"font-size": 13,
|
||||
"font-family": "Almendra SC",
|
||||
"stroke": "#812929",
|
||||
"stroke-width": 2.5,
|
||||
"stroke-dasharray": "0 4 10 4",
|
||||
"stroke-linecap": "round",
|
||||
"data-x": 99,
|
||||
"data-y": 93,
|
||||
"data-columns": 8
|
||||
},
|
||||
"#burgLabels > #cities": {
|
||||
"opacity": 1,
|
||||
"fill": "#3e3e4b",
|
||||
"text-shadow": "white 0px 0px 4px",
|
||||
"data-size": 7,
|
||||
"font-size": 7,
|
||||
"font-family": "Almendra SC"
|
||||
},
|
||||
"#burgIcons > #cities": {
|
||||
"opacity": 1,
|
||||
"fill": "#ffffff",
|
||||
"fill-opacity": 0.7,
|
||||
"size": 1,
|
||||
"stroke": "#3e3e4b",
|
||||
"stroke-width": 0.24,
|
||||
"stroke-dasharray": "",
|
||||
"stroke-linecap": "butt"
|
||||
},
|
||||
"#anchors > #cities": {
|
||||
"opacity": 1,
|
||||
"fill": "#ffffff",
|
||||
"size": 2,
|
||||
"stroke": "#3e3e4b",
|
||||
"stroke-width": 1.2
|
||||
},
|
||||
"#burgLabels > #towns": {
|
||||
"opacity": 1,
|
||||
"fill": "#3e3e4b",
|
||||
"text-shadow": "white 0px 0px 4px",
|
||||
"data-size": 4,
|
||||
"font-size": 4,
|
||||
"font-family": "Almendra SC"
|
||||
},
|
||||
"#burgIcons > #towns": {
|
||||
"opacity": 1,
|
||||
"fill": "#ffffff",
|
||||
"fill-opacity": 0.7,
|
||||
"size": 0.5,
|
||||
"stroke": "#3e3e4b",
|
||||
"stroke-width": 0.12,
|
||||
"stroke-dasharray": "",
|
||||
"stroke-linecap": "butt"
|
||||
},
|
||||
"#anchors > #towns": {
|
||||
"opacity": 1,
|
||||
"fill": "#ffffff",
|
||||
"size": 1,
|
||||
"stroke": "#3e3e4b",
|
||||
"stroke-width": 1.2
|
||||
},
|
||||
"#labels > #states": {
|
||||
"opacity": 1,
|
||||
"fill": "#3e3e4b",
|
||||
"stroke": "#3a3a3a",
|
||||
"stroke-width": 0,
|
||||
"text-shadow": "white 0px 0px 4px",
|
||||
"data-size": 22,
|
||||
"font-size": 22,
|
||||
"font-family": "Almendra SC",
|
||||
"filter": null
|
||||
},
|
||||
"#labels > #addedLabels": {
|
||||
"opacity": 1,
|
||||
"fill": "#3e3e4b",
|
||||
"stroke": "#3a3a3a",
|
||||
"stroke-width": 0,
|
||||
"text-shadow": "white 0px 0px 4px",
|
||||
"data-size": 18,
|
||||
"font-size": 18,
|
||||
"font-family": "Almendra SC",
|
||||
"filter": null
|
||||
},
|
||||
"#fogging": {
|
||||
"opacity": 0.98,
|
||||
"fill": "#30426f",
|
||||
"filter": null
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue