As you can guess from the title, I am using the package
tocloft to customize the table of contents of a document, which, by the way, I am compiling with LuaTeX.
The final result that I would like to get can be simplified as follows:
The feature that I am not able to implement on my own is the black background of the part title. Please ignore the other design features of the picture I have posted that may differ from the standard latex TOC (e.g. the missing page number).
Do you know how can I achieve such look? Thanks.