diff --git a/modules/study/src/main/ChapterMaker.scala b/modules/study/src/main/ChapterMaker.scala index 4f24b18c69a84..f9b9c82d0d19c 100644 --- a/modules/study/src/main/ChapterMaker.scala +++ b/modules/study/src/main/ChapterMaker.scala @@ -218,7 +218,7 @@ private[study] object ChapterMaker: case Fixed(color: Color) extends Orientation(color.name, color.some) case Auto extends Orientation("automatic", none) object Orientation: - def apply(str: String) = Color.fromName(str).fold[Orientation](Auto)(Fixed.apply) + def apply(str: String) = Color.fromName(str.toLowerCase()).fold[Orientation](Auto)(Fixed.apply) case class Data( name: StudyChapterName,