From 8537cb1c762cee676e6575b6c3ac2e487962a53a Mon Sep 17 00:00:00 2001 From: Azgaar Date: Sun, 6 Feb 2022 21:45:00 +0300 Subject: [PATCH] altas style by LordGnome --- modules/ui/stylePresets.js | 2 +- styles/atlas.json | 385 +++++++++++++++++++++++++++++++++++++ 2 files changed, 386 insertions(+), 1 deletion(-) create mode 100644 styles/atlas.json diff --git a/modules/ui/stylePresets.js b/modules/ui/stylePresets.js index 7dd38332..7353b067 100644 --- a/modules/ui/stylePresets.js +++ b/modules/ui/stylePresets.js @@ -1,7 +1,7 @@ // UI module to control the style presets "use strict"; -const systemPresets = ["default", "ancient", "gloom", "clean", "light", "watercolor", "cyberpunk", "monochrome"]; +const systemPresets = ["default", "ancient", "gloom", "light", "watercolor", "clean", "atlas", "cyberpunk", "monochrome"]; const customPresetPrefix = "fmgStyle_"; // add style presets to list diff --git a/styles/atlas.json b/styles/atlas.json new file mode 100644 index 00000000..00e7adbf --- /dev/null +++ b/styles/atlas.json @@ -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": "u rl(#land)" + }, + "#stateBorders": { + "opacity": 1, + "stroke": "#000000", + "stroke-width": 1.01, + "stroke-dasharray": 0, + "stroke-linecap": "butt", + "filter": null + }, + "#provinceBorders": { + "opacity": 0.8, + "stroke": "#000000", + "stroke-width": 0.69, + "stroke-dasharray": 0, + "stroke-linecap": "round", + "filter": null + }, + "#cells": { + "opacity": null, + "stroke": "#808080", + "stroke-width": 0.1, + "filter": null, + "mask": null + }, + "#gridOverlay": { + "opacity": 1, + "scale": 7.99, + "dx": -2, + "dy": 3, + "type": "square", + "stroke": "#000000", + "stroke-width": 0.05, + "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": "u rl(#water)", + "shape-rendering": "optimizespeed" + }, + "#rose": { + "transform": "translate(80 80) scale(.25)" + }, + "#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": "u rl(#dropShadow01)" + }, + "#prec": { + "opacity": null, + "stroke": "#000000", + "stroke-width": 0.1, + "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": 1, + "fill": "#cae3f7", + "stroke": "#0089ca", + "stroke-width": 1.01, + "filter": null + }, + "#salt": { + "opacity": 1, + "fill": "#cae3f7", + "stroke": "#0089ca", + "stroke-width": 1.01, + "filter": null + }, + "#sinkhole": { + "opacity": 1, + "fill": "#cae3f7", + "stroke": "#0089ca", + "stroke-width": 1.01, + "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": "u rl(#crumpled)" + }, + "#dry": { + "opacity": 1, + "fill": "#c9bfa7", + "stroke": "#8e816f", + "stroke-width": 0.7, + "filter": null + }, + "#sea_island": { + "opacity": 1, + "stroke": "#028ac9", + "stroke-width": 1.01, + "filter": "", + "auto-filter": 0 + }, + "#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": "#0089ca" + }, + "#ruler": { + "opacity": null, + "filter": null + }, + "#roads": { + "opacity": 1, + "stroke": "#ff2c2c", + "stroke-width": 1.05, + "stroke-dasharray": 0, + "stroke-linecap": "butt", + "filter": null, + "mask": null + }, + "#trails": { + "opacity": 1, + "stroke": "#9f5122", + "stroke-width": 0.43, + "stroke-dasharray": 0, + "stroke-linecap": "butt", + "filter": null, + "mask": null + }, + "#searoutes": { + "opacity": 1, + "stroke": "#0089ca", + "stroke-width": 0.45, + "stroke-dasharray": "1 2", + "stroke-linecap": "round", + "filter": null, + "mask": null + }, + "#statesBody": { + "opacity": 0.49, + "filter": null + }, + "#statesHalo": { + "opacity": 0.4, + "data-width": 10, + "stroke-width": 10, + "filter": "blur(5px)" + }, + "#provs": { + "opacity": 1, + "fill": "#000000", + "font-size": 10, + "font-family": "Times New Roman", + "filter": null + }, + "#temperature": { + "opacity": null, + "font-size": "14px", + "fill": "#000000", + "fill-opacity": 0.3, + "stroke": null, + "stroke-width": 1.8, + "stroke-dasharray": null, + "stroke-linecap": null, + "filter": "" + }, + "#ice": { + "opacity": 0.9, + "fill": "#e8f0f6", + "stroke": "#e8f0f6", + "stroke-width": 1, + "filter": "u rl(#dropShadow05)" + }, + "#emblems": { + "opacity": 0.9, + "stroke-width": 1, + "filter": null + }, + "#texture": { + "opacity": null, + "filter": null, + "mask": "u rl(#land)" + }, + "#zones": { + "opacity": 0.6, + "stroke": "#333333", + "stroke-width": 0, + "stroke-dasharray": null, + "stroke-linecap": "butt", + "filter": null, + "mask": null + }, + "#oceanLayers": { + "filter": "", + "layers": "none" + }, + "#oceanBase": { + "fill": "#b4d2f3" + }, + "#oceanicPattern": { + "href": "", + "opacity": 1 + }, + "#terrs": { + "opacity": null, + "scheme": "bright", + "terracing": 0, + "skip": 0, + "relax": 0, + "curve": 0, + "filter": null, + "mask": "u rl(#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": "#000000", + "text-shadow": "white 0px 0px 4px", + "data-size": 4, + "font-size": 4, + "font-family": "Questrial" + }, + "#burgIcons > #cities": { + "opacity": 1, + "fill": "#000000", + "fill-opacity": 0.7, + "size": 1, + "stroke": "#000000", + "stroke-width": 0.24, + "stroke-dasharray": "", + "stroke-linecap": "round" + }, + "#anchors > #cities": { + "opacity": 1, + "fill": "#ffffff", + "size": 2, + "stroke": "#3e3e4b", + "stroke-width": 1.2 + }, + "#burgLabels > #towns": { + "opacity": 1, + "fill": "#000000", + "text-shadow": "white 0px 0px 4px", + "data-size": 3, + "font-size": 3, + "font-family": "Questrial" + }, + "#burgIcons > #towns": { + "opacity": 1, + "fill": "#000000", + "fill-opacity": 0.7, + "size": 0.5, + "stroke": "#000000", + "stroke-width": 0.12, + "stroke-dasharray": "", + "stroke-linecap": "round" + }, + "#anchors > #towns": { + "opacity": 1, + "fill": "#ffffff", + "size": 1, + "stroke": "#3e3e4b", + "stroke-width": 1.2 + }, + "#labels > #states": { + "opacity": 0.7, + "fill": "#000000", + "stroke": "#000000", + "stroke-width": 0, + "text-shadow": "white 0px 0px 4px", + "data-size": 16, + "font-size": 16, + "font-family": "Times New Roman", + "filter": null + }, + "#labels > #addedLabels": { + "opacity": 1, + "fill": "#000000", + "stroke": "#000000", + "stroke-width": 0, + "text-shadow": "white 0px 0px 4px", + "data-size": 18, + "font-size": 18, + "font-family": "Questrial", + "filter": null + }, + "#fogging": { + "opacity": 0.98, + "fill": "#30426f", + "filter": null + } +}