about summary refs log tree commit diff stats
path: root/html/rogue/js/inventory-ui.js
diff options
context:
space:
mode:
authorelioat <elioat@tilde.institute>2024-12-28 10:02:25 -0500
committerelioat <elioat@tilde.institute>2024-12-28 10:02:25 -0500
commitb1e55b1d524fba2e13e5b0f2c349546b43fe8341 (patch)
tree0fc25e1f60041ec41b7b31d0b07c0c8c63bf5599 /html/rogue/js/inventory-ui.js
parent8a36e1c0f435ce0f78a92a10a4c4b9d77f4c38d2 (diff)
downloadtour-b1e55b1d524fba2e13e5b0f2c349546b43fe8341.tar.gz
*
Diffstat (limited to 'html/rogue/js/inventory-ui.js')
-rw-r--r--html/rogue/js/inventory-ui.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/html/rogue/js/inventory-ui.js b/html/rogue/js/inventory-ui.js
index a5c7c3f..0970e71 100644
--- a/html/rogue/js/inventory-ui.js
+++ b/html/rogue/js/inventory-ui.js
@@ -21,7 +21,7 @@ const InventoryUI = {
         if (!this.isOpen) return;
         
         // Draw semi-transparent background
-        ctx.fillStyle = 'rgba(0, 0, 0, 0.7)';
+        ctx.fillStyle = Config.colors.UI.INVENTORY.BACKGROUND;
         ctx.fillRect(0, 0, state.canvas.width, state.canvas.height);
         
         // Draw inventory window
@@ -32,11 +32,11 @@ const InventoryUI = {
         const y = (state.canvas.height - height) / 2;
         
         // Draw window background
-        ctx.fillStyle = '#ffffff';
+        ctx.fillStyle = Config.colors.UI.INVENTORY.WINDOW;
         ctx.fillRect(x, y, width, height);
         
         // Draw title
-        ctx.fillStyle = '#000000';
+        ctx.fillStyle = Config.colors.UI.INVENTORY.TEXT;
         ctx.font = '20px Arial';
         ctx.fillText('Inventory', x + padding, y + padding + 20);