extends Node

## UI Constants for the Skelly project
##
## Contains shared UI constants, sizes, colors, and other UI-related values
## to maintain consistency across the game interface.

# Screen and viewport constants
const REFERENCE_RESOLUTION := Vector2i(1920, 1080)
const MIN_RESOLUTION := Vector2i(720, 480)

# Animation constants
const FADE_DURATION := 0.3

# Scale factor constants for consistent UI interactions
const BUTTON_HOVER_SCALE := 1.1
const BUTTON_PRESS_SCALE := 0.95
const UI_CONTROL_HIGHLIGHT_SCALE := 1.1

# Game-specific scale constants
const TILE_SELECTED_SCALE := 1.1
const TILE_HIGHLIGHTED_SCALE := 1.1
const TILE_NORMAL_SCALE := 1.0

# UI spacing constants
const UI_MARGIN := 20
const BUTTON_SPACING := 10
const MENU_PADDING := 40

# Debug UI constants
const DEBUG_PANEL_WIDTH := 300
const DEBUG_BUTTON_SIZE := Vector2(80, 40)

# Color constants (using Godot's Color class)
const UI_PRIMARY_COLOR := Color.WHITE
const UI_SECONDARY_COLOR := Color(0.8, 0.8, 0.8)
const UI_ACCENT_COLOR := Color(0.2, 0.6, 1.0)
const UI_WARNING_COLOR := Color(1.0, 0.6, 0.2)
const UI_ERROR_COLOR := Color(1.0, 0.2, 0.2)

# Font sizes (relative to default)
const FONT_SIZE_SMALL := 14
const FONT_SIZE_NORMAL := 18
const FONT_SIZE_LARGE := 24
const FONT_SIZE_TITLE := 32


func _ready():
	DebugManager.log_info("UIConstants loaded successfully", "UIConstants")
