File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ export default {
1111 baseTextSize : {
1212 control : {
1313 type : "select" ,
14- options : [ 1 , 2 ] ,
14+ options : [ 1 , 2 , 3 ] ,
1515 } ,
1616 } ,
1717 } ,
Original file line number Diff line number Diff line change 11import clsx from "clsx" ;
22import React from "react" ;
33type Props = {
4- baseTextSize ?: 1 | 2 ;
4+ baseTextSize ?: 1 | 2 | 3 ;
55 children ?: React . ReactNode ;
66 dangerouslySetInnerHTML ?: {
77 __html : string ;
@@ -25,6 +25,8 @@ export const StyledText = ({
2525 baseTextSize === 1 ,
2626 "prose-p:text-md prose-p:leading-7 prose-p:text-grey-900 prose-li:text-md prose-li:leading-7 prose-li:text-grey-900" :
2727 baseTextSize === 2 ,
28+ "prose-p:text-base prose-p:leading-4 prose-p:text-grey-900 prose-li:text-base prose-li:leading-4 prose-li:text-grey-900" :
29+ baseTextSize === 3 ,
2830 } ,
2931 // h styles
3032 "prose-h2:font-semibold prose-h2:text-3md prose-h2:leading-8 prose-h2:lg:text-xl prose-h2:lg:leading-11 prose-h2:text-grey-900" ,
You can’t perform that action at this time.
0 commit comments