Skip to content

Commit

Permalink
Tweak per-theme invisibleWall thicknesses.
Browse files Browse the repository at this point in the history
  • Loading branch information
mcglincy committed Nov 8, 2022
1 parent 39a6ebe commit 0dda34d
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 6 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# 1.2.1

- Tweak per-theme invisibleWall thicknesses.

# 1.2.0

- Implement new visual style for invisible walls (as windows).
Expand Down
2 changes: 1 addition & 1 deletion modules/dungeondraw-bundle.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion modules/dungeondraw-bundle.min.js.map

Large diffs are not rendered by default.

22 changes: 18 additions & 4 deletions src/themes.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ export const defaultConfig = () => {
interiorShadowOpacity: 0.5,
invisibleWallColor: "#000000",
invisibleWallFillColor: "#ffffff",
invisibleWallLineThickness: 4,
invisibleWallLineThickness: 2,
invisibleWallFillOpacity: 1.0,
invisibleWallThickness: 16,
invisibleWallThickness: 6,
matchBaseWalls: true,
sceneBackgroundColor: "#999999",
sceneGridColor: "#000000",
Expand Down Expand Up @@ -107,6 +107,7 @@ export const themes = {
doorColor: "#111111",
floorTexture:
"modules/dungeon-draw/assets/textures/Arc_Pavement_001_basecolor.jpg",
invisibleWallThickness: 10,
wallColor: "#111111",
wallThickness: 12,
}),
Expand All @@ -119,7 +120,6 @@ export const themes = {
exteriorShadowOpacity: 0,
interiorShadowOpacity: 0,
invisibleWallColor: "#0D0D0D",
invisibleWallFillOpacity: 0.0,
floorColor: "#FFFFFF",
sceneBackgroundColor: "#0D0D0D",
sceneGridOpacity: 1.0,
Expand All @@ -131,6 +131,7 @@ export const themes = {
name: "Cavern",
config: foundry.utils.mergeObject(defaultConfig(), {
doorColor: "#2B2D2F",
invisibleWallThickness: 10,
floorTexture:
"modules/dungeon-draw/assets/textures/Stylized_Stone_Floor_002_bw.jpg",
wallColor: "#2B2D2F",
Expand All @@ -144,6 +145,7 @@ export const themes = {
floorTexture:
"modules/dungeon-draw/assets/textures/sci_fi_texture_150_by_llexandro_d939vk9.png",
invisibleWallFillColor: "#C2BFB0",
invisibleWallThickness: 8,
secretDoorSColor: "#C2BFB0",
wallThickness: 10,
}),
Expand All @@ -157,6 +159,7 @@ export const themes = {
"modules/dungeon-draw/assets/textures/Cobblestone_001_COLOR.jpg",
invisibleWallColor: "#222222",
invisibleWallFillColor: "#FFFFFF",
invisibleWallThickness: 10,
secretDoorSColor: "#FFFFFF",
wallColor: "#222222",
wallThickness: 12,
Expand All @@ -171,6 +174,7 @@ export const themes = {
"modules/dungeon-draw/assets/textures/Ground_Dirt_007_basecolor.jpg",
invisibleWallColor: "#1a1714",
invisibleWallFillColor: "#8d7862",
invisibleWallThickness: 8,
secretDoorSColor: "#8d7862",
wallColor: "#1a1714",
wallThickness: 10,
Expand All @@ -183,6 +187,7 @@ export const themes = {
floorTexture:
"modules/dungeon-draw/assets/textures/outdoor+stone+tiles+pavement.jpg",
invisibleWallColor: "#111111",
invisibleWallThickness: 10,
wallColor: "#111111",
wallThickness: 12,
}),
Expand All @@ -195,6 +200,7 @@ export const themes = {
floorTexture: "modules/dungeon-draw/assets/textures/Grass_001_COLOR.jpg",
invisibleWallColor: "#72471d",
invisibleWallFillColor: "#eee8c1",
invisibleWallThickness: 10,
secretDoorSColor: "#eee8c1",
wallColor: "#72471d",
wallThickness: 10,
Expand All @@ -207,6 +213,7 @@ export const themes = {
floorTexture:
"modules/dungeon-draw/assets/textures/Fabric_Rug_006_basecolor.jpg",
invisibleWallColor: "#2B2D2F",
invisibleWallThickness: 10,
wallColor: "#2B2D2F",
wallThickness: 12,
}),
Expand All @@ -220,6 +227,7 @@ export const themes = {
"modules/dungeon-draw/assets/textures/Rocks_Hexagons_002_basecolor.jpg",
invisibleWallColor: "#282828",
invisibleWallFillColor: "#D1BD8A",
invisibleWallThickness: 10,
secretDoorSColor: "#D1BD8A",
wallColor: "#282828",
wallThickness: 12,
Expand Down Expand Up @@ -287,6 +295,8 @@ export const themes = {
interiorShadowColor: "#1B7FAB",
invisibleWallColor: "#3A9FF2",
invisibleWallFillOpacity: 0.0,
invisibleWallLineThickness: 1,
invisibleWallThickness: 6,
sceneBackgroundColor: "#171008",
sceneGridColor: "#4C89A1",
sceneGridOpacity: 1.0,
Expand Down Expand Up @@ -320,6 +330,8 @@ export const themes = {
doorColor: "#203246",
floorTexture: "modules/dungeon-draw/assets/textures/Water_001_COLOR.jpg",
invisibleWallColor: "#203246",
invisibleWallLineThickness: 1,
invisibleWallThickness: 4,
wallColor: "#203246",
wallThickness: 5,
}),
Expand All @@ -331,6 +343,7 @@ export const themes = {
floorTexture:
"modules/dungeon-draw/assets/textures/Old_Wooden_Plank_Seamless_Texture_765.jpg",
invisibleWallColor: "#332211",
invisibleWallThickness: 13,
wallColor: "#332211",
wallTexture: "modules/dungeon-draw/assets/textures/Bark_002_bw.jpg",
wallTextureTint: "#7e5935",
Expand All @@ -349,7 +362,8 @@ export const themes = {
interiorShadowColor: "#00838C",
invisibleWallColor: "#8AF0F0",
invisibleWallFillColor: "#255151",
invisibleWallLineThickness: 5,
invisibleWallLineThickness: 1,
invisibleWallThickness: 6,
sceneBackgroundColor: "#002222",
sceneGridColor: "#ffffff",
sceneGridOpacity: 1,
Expand Down

0 comments on commit 0dda34d

Please sign in to comment.