diff --git a/packages/epo-react-lib/src/form/Input/styles.ts b/packages/epo-react-lib/src/form/Input/styles.ts index ea3bdefd..fcbb170f 100644 --- a/packages/epo-react-lib/src/form/Input/styles.ts +++ b/packages/epo-react-lib/src/form/Input/styles.ts @@ -5,13 +5,13 @@ export const Input = styled.input` --color-input-border-hover: var(--color-font-accent); border: 1px solid var(--color-input-border); - border-radius: var(--size-spacing-3xs); + border-radius: var(--size-spacing-3xs, calc(1em * 0.25)); box-sizing: border-box; font-weight: var(--weight-font-normal); - height: var(--size-spacing-xl); + height: var(--size-spacing-xl, calc(1em * 3)); line-height: 1; width: 100%; - padding: var(--size-spacing-s); + padding: var(--size-spacing-s, 1em); &:not(:disabled):hover, &:not(:disabled):focus-within { diff --git a/packages/epo-react-lib/src/molecules/FormElement/styles.ts b/packages/epo-react-lib/src/molecules/FormElement/styles.ts index 211318f3..731a2719 100644 --- a/packages/epo-react-lib/src/molecules/FormElement/styles.ts +++ b/packages/epo-react-lib/src/molecules/FormElement/styles.ts @@ -3,7 +3,7 @@ import styled from "styled-components"; export const Container = styled.div` > * + * { - margin-block-start: var(--size-spacing-3xs); + margin-block-start: var(--size-spacing-3xs, calc(1em * 0.25)); } `;