From d11253214ea4244ddd5c2b30e9e50f90fd7db925 Mon Sep 17 00:00:00 2001 From: syvshc Date: Mon, 18 Apr 2022 17:26:55 +0800 Subject: [PATCH] fix thm color --- elegantbook.cls | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/elegantbook.cls b/elegantbook.cls index 24baa13..187d620 100644 --- a/elegantbook.cls +++ b/elegantbook.cls @@ -909,7 +909,7 @@ \textcolor{third}{$\spadesuit$}};}},} % \newtcbtheorem[auto counter,number within=chapter]{definition}{\definitionname}{defstyle}{def} \DeclareTColorBox[auto counter,number within=\ELEGANT@thmcnt]{definition}{ g o t\label g }{ - common,thmstyle, + common,defstyle, IfValueTF={#1} {title={\definitionname~\thetcbcounter\ (#1)}} { @@ -975,7 +975,7 @@ IfBooleanTF={#3}{label=#4}{label={lem:#4}}} % \newtcbtheorem[auto counter,number within=chapter]{proposition}{\propositionname}{propstyle}{pro} \DeclareTColorBox[auto counter,number within=\ELEGANT@thmcnt]{proposition}{ g o t\label g }{ - common,thmstyle, + common,propstyle, IfValueTF={#1} {title={\propositionname~\thetcbcounter\ (#1)}} {