diff options
author | elioat <elioat@tilde.institute> | 2024-12-28 10:02:25 -0500 |
---|---|---|
committer | elioat <elioat@tilde.institute> | 2024-12-28 10:02:25 -0500 |
commit | b1e55b1d524fba2e13e5b0f2c349546b43fe8341 (patch) | |
tree | 0fc25e1f60041ec41b7b31d0b07c0c8c63bf5599 /html/rogue/js/inventory-ui.js | |
parent | 8a36e1c0f435ce0f78a92a10a4c4b9d77f4c38d2 (diff) | |
download | tour-b1e55b1d524fba2e13e5b0f2c349546b43fe8341.tar.gz |
*
Diffstat (limited to 'html/rogue/js/inventory-ui.js')
-rw-r--r-- | html/rogue/js/inventory-ui.js | 6 |
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); |