In the following example
\documentclass{scrartcl}
\usepackage{blindtext}
%
\usepackage{amsthm}
\usepackage{thmtools}
%
\declaretheoremstyle[%
spaceabove=60pt, spacebelow=60pt, % just for testing
shaded={rulecolor=black,rulewidth=.5pt,bgcolor={rgb}{1,1,1}}
]{framed}
\declaretheorem[style=framed]{theorem}
%
\begin{document}
\blindtext
%
\begin{theorem}
$ \int $ and some text
\end{theorem}
%
\blindtext
\end{document}
there will be no space added below and above. Without the shaded-declaration everything is fine. How can I achieve to add some space above and below?

ntheoremand theframedpackage. Further, shaded theorems will be able to break across pages, if necessary. – Bernard May 19 '21 at 18:41