From 11cc41865e6ac95623aa25b2c472ec92684f48fd Mon Sep 17 00:00:00 2001 From: oreqizer Date: Thu, 21 Sep 2023 12:56:25 +0200 Subject: [PATCH] feat(tailwind): add rounded-none --- .../src/presets/__tests__/__snapshots__/configs.test.ts.snap | 2 ++ packages/orbit-tailwind-preset/src/presets/foundation/index.ts | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/orbit-tailwind-preset/src/presets/__tests__/__snapshots__/configs.test.ts.snap b/packages/orbit-tailwind-preset/src/presets/__tests__/__snapshots__/configs.test.ts.snap index 5d5c8b0e28..c203f5847b 100644 --- a/packages/orbit-tailwind-preset/src/presets/__tests__/__snapshots__/configs.test.ts.snap +++ b/packages/orbit-tailwind-preset/src/presets/__tests__/__snapshots__/configs.test.ts.snap @@ -208,6 +208,7 @@ exports[`orbitPreset should match snapshot 1`] = ` "borderRadius": { "circle": "50%", "large": "6px", + "none": "0", "normal": "3px", "small": "2px", }, @@ -1008,6 +1009,7 @@ exports[`orbitPreset should match snapshot 1`] = ` "dialog-desktop": "9px", "dialog-mobile": "12px", "large": "6px", + "none": "0", "normal": "3px", "small": "2px", }, diff --git a/packages/orbit-tailwind-preset/src/presets/foundation/index.ts b/packages/orbit-tailwind-preset/src/presets/foundation/index.ts index 9541273eae..b01f6f978d 100644 --- a/packages/orbit-tailwind-preset/src/presets/foundation/index.ts +++ b/packages/orbit-tailwind-preset/src/presets/foundation/index.ts @@ -11,7 +11,7 @@ const config: Config = { }, theme: { colors: { ...defaultFoundation.palette, transparent: "transparent" }, - borderRadius: defaultFoundation["border-radius"], + borderRadius: { ...defaultFoundation["border-radius"], none: "0" }, screens, lineHeight: { ...defaultFoundation["line-height"], none: "1" }, boxShadow,