diff --git a/src/components/Styles/ThemeBrowserCardStyles.tsx b/src/components/Styles/ThemeBrowserCardStyles.tsx index 6617e14..3ebc397 100644 --- a/src/components/Styles/ThemeBrowserCardStyles.tsx +++ b/src/components/Styles/ThemeBrowserCardStyles.tsx @@ -1,5 +1,10 @@ import { useCssLoaderState } from "../../state"; +const width = { 3: "260px", 4: "195px", 4.5: "183.33px", 5: "152px" }; +const imgheightFactory = (size: number) => (Number(width[size].slice(0, -2)) / 16) * 10 + "px"; +const fontsize = { 3: "1em", 4: "0.75em", 4.5: "0.7", 5: "0.5em" }; +const bubblesize = { 3: "40px", 4: "30px", 4.5: "25px", 5: "20px" }; + export function ThemeBrowserCardStyles({ customCardSize }: { customCardSize?: number }) { const { browserCardSize } = customCardSize ? { browserCardSize: customCardSize } @@ -9,22 +14,12 @@ export function ThemeBrowserCardStyles({ customCardSize }: { customCardSize?: nu