\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{PrimeTeX/packages/Titles}[2025-07-16]

\RequirePackage[raggedright]{titlesec}

\titleformat{\part}[display]{
	\normalfont\sbfamily\huge\centering
}{
	Part \arabic{part}
}{20pt}{\Huge}

\titleformat{\chapter}[display]{
	\normalfont\sbfamily\huge\raggedright
}{
	\chaptertitlename{} \thechapter
}{20pt}{\Huge}

\titleformat*{\section}{\sbfamily\Large}
\titleformat*{\subsection}{\sbfamily\large}
\titleformat*{\subsubsection}{\sbfamily}
\titleformat*{\paragraph}{\sbfamily}
\titleformat*{\subparagraph}{\sbfamily}
