diff --git a/.changeset/early-forks-argue.md b/.changeset/early-forks-argue.md new file mode 100644 index 0000000000..a845151cc8 --- /dev/null +++ b/.changeset/early-forks-argue.md @@ -0,0 +1,2 @@ +--- +--- diff --git a/.changeset/fluffy-chicken-explain.md b/.changeset/fluffy-chicken-explain.md new file mode 100644 index 0000000000..a845151cc8 --- /dev/null +++ b/.changeset/fluffy-chicken-explain.md @@ -0,0 +1,2 @@ +--- +--- diff --git a/.changeset/hungry-news-bathe.md b/.changeset/hungry-news-bathe.md new file mode 100644 index 0000000000..a845151cc8 --- /dev/null +++ b/.changeset/hungry-news-bathe.md @@ -0,0 +1,2 @@ +--- +--- diff --git a/packages/clerk-js/src/ui.retheme/elements/Form.tsx b/packages/clerk-js/src/ui.retheme/elements/Form.tsx index caa4bf0198..5286d3150b 100644 --- a/packages/clerk-js/src/ui.retheme/elements/Form.tsx +++ b/packages/clerk-js/src/ui.retheme/elements/Form.tsx @@ -79,7 +79,8 @@ const FormSubmit = (props: PropsOfComponent) => { ); }); diff --git a/packages/clerk-js/src/ui.retheme/styledSystem/common.ts b/packages/clerk-js/src/ui.retheme/styledSystem/common.ts index 8471c70641..64b6fdfbca 100644 --- a/packages/clerk-js/src/ui.retheme/styledSystem/common.ts +++ b/packages/clerk-js/src/ui.retheme/styledSystem/common.ts @@ -4,6 +4,7 @@ const textVariants = (t: InternalTheme) => { const base = { WebkitFontSmoothing: t.options.$fontSmoothing, fontFamily: 'inherit', + letterSpacing: t.letterSpacings.$normal, }; const smallRegular = { @@ -84,6 +85,7 @@ const textVariants = (t: InternalTheme) => { const buttonSmallRegular = { ...smallRegular, fontFamily: t.fonts.$buttons, + lineHeight: t.lineHeights.$short, }; const buttonRegularRegular = { @@ -175,6 +177,10 @@ const focusRingInput = (t: InternalTheme, props?: any) => { } as const; }; +const buttonShadow = (t: InternalTheme) => { + return { boxShadow: t.shadows.$buttonShadow.replace('{{color}}', t.colors.$primary800) }; +}; + const disabled = (t: InternalTheme) => { return { '&:disabled,&[data-disabled]': { @@ -218,6 +224,7 @@ export const common = { borderVariants, focusRing, focusRingInput, + buttonShadow, disabled, borderColor, centeredFlex,