diff --git a/.changeset/old-peas-peel.md b/.changeset/old-peas-peel.md new file mode 100644 index 0000000..8cee851 --- /dev/null +++ b/.changeset/old-peas-peel.md @@ -0,0 +1,5 @@ +--- +"@openfun/cunningham-react": patch +--- + +reduce inputs borders diff --git a/packages/react/src/components/Forms/Input/tokens.ts b/packages/react/src/components/Forms/Input/tokens.ts index c31d180..c95a6a9 100644 --- a/packages/react/src/components/Forms/Input/tokens.ts +++ b/packages/react/src/components/Forms/Input/tokens.ts @@ -6,7 +6,7 @@ export const tokens = (defaults: DefaultTokens) => ({ "border-radius": "8px", "border-radius--hover": "2px", "border-radius--focus": "2px", - "border-width": "2px", + "border-width": "1px", "border-color": defaults.theme.colors["greyscale-300"], "border-color--hover": defaults.theme.colors["greyscale-500"], "border-color--focus": defaults.theme.colors["primary-600"], diff --git a/packages/react/src/components/Forms/Select/tokens.ts b/packages/react/src/components/Forms/Select/tokens.ts index 0f20b7b..ca5fa58 100644 --- a/packages/react/src/components/Forms/Select/tokens.ts +++ b/packages/react/src/components/Forms/Select/tokens.ts @@ -8,7 +8,7 @@ export const tokens = (defaults: DefaultTokens) => ({ "border-radius--focus": "2px", "border-radius--hover": "2px", "border-style": "solid", - "border-width": "2px", + "border-width": "1px", color: defaults.theme.colors["greyscale-800"], "font-size": defaults.theme.font.sizes.l, height: "3.5rem",