% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/girafe-utils.R
\name{resolve_category_colors}
\alias{resolve_category_colors}
\title{Resolve Category Colors for Charts}
\usage{
resolve_category_colors(cat_levels, girafe_settings)
}
\arguments{
\item{cat_levels}{Character vector of category levels}

\item{girafe_settings}{List of girafe settings from global_settings_get("girafe")}
}
\value{
List with:
\itemize{
\item checkbox: Logical indicating if this is a checkbox plot
\item cat_levels: Character vector (reordered if checkbox)
\item priority_palette_codes: Named character vector for priority colors
\item colour_palette: Named character vector of resolved colors
}
}
\description{
Centralizes color resolution logic for both HTML and DOCX charts.
Handles checkbox detection, level reordering, and priority palette setup.
}
\keyword{internal}
