diff options
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); |