I am using example given here by @stephan TOC Section & Subsection coloring. Works great however I want to get rid of dots and page numbers.
I added this to the preamble
\let\Contentsline\contentsline
\renewcommand\contentsline[3]{\Contentsline{#1}{#2}{}}
that removed the page numbers, but do not know how to remove the dots. I would appreciate your help. Its hard to get result without understanding the basics.