From a1bca85a6aff2d08ede4750f25c69adb6014eb6f Mon Sep 17 00:00:00 2001 From: Danil Khaliulin Date: Wed, 12 Aug 2026 20:33:59 +0800 Subject: [PATCH] =?UTF-8?q?fix(tokens):=20=D1=81=D0=BA=D1=80=D1=83=D0=B3?= =?UTF-8?q?=D0=BB=D0=B5=D0=BD=D0=B8=D0=B5=20Dialog=20=D0=BF=D0=B5=D1=80?= =?UTF-8?q?=D0=B5=D0=B2=D0=B5=D0=B4=D0=B5=D0=BD=D0=BE=20=D1=81=20max=20?= =?UTF-8?q?=D0=BD=D0=B0=20borderRadius.500?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- design-tokens/input/tokens.json | 2 +- .../Dialog/__tests__/__snapshots__/Dialog.test.tsx.snap | 2 +- src/theme/tokens/components/dark.json | 2 +- src/theme/tokens/components/light.json | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/design-tokens/input/tokens.json b/design-tokens/input/tokens.json index 16993284..ea43dec8 100644 --- a/design-tokens/input/tokens.json +++ b/design-tokens/input/tokens.json @@ -2682,7 +2682,7 @@ "background": "{color.bg.surface.default.default}", "borderColor": "{color.border.neutral.default}", "color": "{color.fg.default}", - "borderRadius": "{dimension.borderRadius.max}", + "borderRadius": "{dimension.borderRadius.500}", "shadow": "{effects.elevation.400}" }, "header": { diff --git a/src/components/Dialog/__tests__/__snapshots__/Dialog.test.tsx.snap b/src/components/Dialog/__tests__/__snapshots__/Dialog.test.tsx.snap index 8fd76ec3..c5d35859 100644 --- a/src/components/Dialog/__tests__/__snapshots__/Dialog.test.tsx.snap +++ b/src/components/Dialog/__tests__/__snapshots__/Dialog.test.tsx.snap @@ -128,7 +128,7 @@ exports[`Dialog component tests basic dialog with title, body and footer 1`] = ` { "backgroundColor": "#ffffff", "borderColor": "#e2e2e4", - "borderRadius": 1600, + "borderRadius": 20, }, { "maxHeight": 1234, diff --git a/src/theme/tokens/components/dark.json b/src/theme/tokens/components/dark.json index 3bef7b42..92ef0ad4 100644 --- a/src/theme/tokens/components/dark.json +++ b/src/theme/tokens/components/dark.json @@ -1052,7 +1052,7 @@ "background": "#404348", "borderColor": "#404348", "color": "#ffffff", - "borderRadius": 1600, + "borderRadius": 20, "shadow": "0 4px 8px rgba(0, 0, 0, 0.2000)" }, "header": { diff --git a/src/theme/tokens/components/light.json b/src/theme/tokens/components/light.json index be686424..03d07ddd 100644 --- a/src/theme/tokens/components/light.json +++ b/src/theme/tokens/components/light.json @@ -1052,7 +1052,7 @@ "background": "#ffffff", "borderColor": "#e2e2e4", "color": "#2b2e33", - "borderRadius": 1600, + "borderRadius": 20, "shadow": "0 4px 8px rgba(0, 0, 0, 0.2000)" }, "header": {