I would like to wrap colored boxes around theorems in my documents. Since I only need them to be plain rectangles with a solid color, and occasionally a border line on a single side, mdframed would be enough to get the job done, but it has been discontinued years ago and it has a well-known problem with the skipbelow option, so I went for tcolorbox.
TCB boxes have many features by default, which I would like to remove to create my own, plain box from scratch. After reading the documentation, I got to this setup, which works for me (later adjusting padding, color, and beforeafter skip for individual boxes):
\tcbsetforeverylayer{enhanced, size=minimal, frame hidden, sharp corners}
However, the fact that I need so many options just to display a simple rectangle seems pretty unnatural to me, so I might be missing something: is this actually the intended way to create a plain box without additional features in tcolorbox?
I know the blanker and blankest skins exist, but they also deactivate the background color engine.



spartanskin? It has no rounded corners and still allows for background color and frames. You can additionally disable frames using the optionframe empty. – Jasper Habicht Jul 31 '22 at 22:19