Add themed background images for Hogwarts houses

This commit introduces specific background images for Gryffindor, Slytherin, Ravenclaw, and Hufflepuff houses. Updated the theme configuration to dynamically set these images per house and adjusted the styles to utilize the new theme token for background images.
This commit is contained in:
2026-02-06 09:52:54 +01:00
parent 4295b139b2
commit 7024a681da
7 changed files with 19 additions and 1 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 1022 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 749 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 839 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 980 KiB

View File

@@ -421,7 +421,7 @@ export const styles = {
bgMap: { bgMap: {
position: "absolute", position: "absolute",
inset: 0, inset: 0,
backgroundImage: 'url("/bg/marauders-map-blur.jpg")', backgroundImage: stylesTokens.bgImage,
backgroundSize: "cover", backgroundSize: "cover",
backgroundPosition: "center", backgroundPosition: "center",
backgroundRepeat: "no-repeat", backgroundRepeat: "no-repeat",

View File

@@ -30,4 +30,7 @@ export const stylesTokens = {
rowEmptyBg: "var(--hp-rowEmptyBg)", rowEmptyBg: "var(--hp-rowEmptyBg)",
rowEmptyText: "var(--hp-rowEmptyText)", rowEmptyText: "var(--hp-rowEmptyText)",
rowEmptyBorder: "var(--hp-rowEmptyBorder)", rowEmptyBorder: "var(--hp-rowEmptyBorder)",
// Background
bgImage: "var(--hp-bgImage)",
}; };

View File

@@ -34,6 +34,9 @@ export const THEMES = {
rowEmptyBg: "rgba(255,255,255,0.06)", rowEmptyBg: "rgba(255,255,255,0.06)",
rowEmptyText: "rgba(233,216,166,0.75)", rowEmptyText: "rgba(233,216,166,0.75)",
rowEmptyBorder: "rgba(0,0,0,0)", rowEmptyBorder: "rgba(0,0,0,0)",
// Background
bgImage: "url('/bg/marauders-map-blur.jpg')",
}, },
}, },
@@ -69,6 +72,9 @@ export const THEMES = {
rowEmptyBg: "rgba(255,255,255,0.06)", rowEmptyBg: "rgba(255,255,255,0.06)",
rowEmptyText: "rgba(255,210,170,0.75)", rowEmptyText: "rgba(255,210,170,0.75)",
rowEmptyBorder: "rgba(0,0,0,0)", rowEmptyBorder: "rgba(0,0,0,0)",
// Background
bgImage: "url('/bg/gryffindor.png')",
}, },
}, },
@@ -104,6 +110,9 @@ export const THEMES = {
rowEmptyBg: "rgba(255,255,255,0.06)", rowEmptyBg: "rgba(255,255,255,0.06)",
rowEmptyText: "rgba(175,240,210,0.75)", rowEmptyText: "rgba(175,240,210,0.75)",
rowEmptyBorder: "rgba(0,0,0,0)", rowEmptyBorder: "rgba(0,0,0,0)",
// Background
bgImage: "url('/bg/slytherin.png')",
}, },
}, },
@@ -139,6 +148,9 @@ export const THEMES = {
rowEmptyBg: "rgba(255,255,255,0.06)", rowEmptyBg: "rgba(255,255,255,0.06)",
rowEmptyText: "rgba(180,205,255,0.78)", rowEmptyText: "rgba(180,205,255,0.78)",
rowEmptyBorder: "rgba(0,0,0,0)", rowEmptyBorder: "rgba(0,0,0,0)",
// Background
bgImage: "url('/bg/ravenclaw.png')",
}, },
}, },
@@ -174,6 +186,9 @@ export const THEMES = {
rowEmptyBg: "rgba(255,255,255,0.06)", rowEmptyBg: "rgba(255,255,255,0.06)",
rowEmptyText: "rgba(255,240,180,0.78)", rowEmptyText: "rgba(255,240,180,0.78)",
rowEmptyBorder: "rgba(0,0,0,0)", rowEmptyBorder: "rgba(0,0,0,0)",
// Background
bgImage: "url('/bg/hufflepuff.png')",
}, },
}, },
}; };