Skip to content

Commit

Permalink
AR-860: remove comment
Browse files Browse the repository at this point in the history
  • Loading branch information
yepzdk committed Sep 8, 2022
1 parent f6da38a commit 6862907
Showing 1 changed file with 0 additions and 29 deletions.
29 changes: 0 additions & 29 deletions src/calendar/calendar.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,35 +37,6 @@ function Calendar({ slide, content, run, slideDone, executionId }) {
rootStyle["--bg-image"] = `url("${imageUrl}")`;
}

// if (fontSize) {
// let selectedFontSize = 1;

// switch (fontSize) {
// case "xs":
// selectedFontSize = 0.5;
// break;
// case "s":
// selectedFontSize = 0.75;
// break;
// case "m":
// selectedFontSize = 1;
// break;
// case "l":
// selectedFontSize = 1.25;
// break;
// case "xl":
// selectedFontSize = 1.5;
// break;
// default:
// }

// rootStyle["--font-size-base"] = `${selectedFontSize}rem`;
// rootStyle["--h1-font-size"] = "calc(var(--font-size-base) * 2.5)";
// rootStyle["--h2-font-size"] = "calc(var(--font-size-base) * 2)";
// rootStyle["--h3-font-size"] = "calc(var(--font-size-base) * 1.75)";
// rootStyle["--padding-size-base"] = `${selectedFontSize}rem`;
// }

/** Setup slide run function. */
const slideExecution = new BaseSlideExecution(slide, slideDone);
useEffect(() => {
Expand Down

0 comments on commit 6862907

Please sign in to comment.