From f89b7c93e955d63f28587abd6b39291eeb26eb29 Mon Sep 17 00:00:00 2001 From: Jakob Guddas Date: Sun, 1 Oct 2023 17:27:39 +0200 Subject: [PATCH] Added RTL support. --- packages/core/theme/src/utils/classes.ts | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/packages/core/theme/src/utils/classes.ts b/packages/core/theme/src/utils/classes.ts index 36f14aa78a..7ed19d23a1 100644 --- a/packages/core/theme/src/utils/classes.ts +++ b/packages/core/theme/src/utils/classes.ts @@ -60,10 +60,10 @@ export const absoluteFullClasses = ["absolute", "inset-0"]; * It includes classes for different variants like default, primary, secondary, etc. */ export const collapseAdjacentVariantBorders = { - default: ["[&+.border-medium.border-default]:ml-[calc(theme(borderWidth.medium)*-1)]"], - primary: ["[&+.border-medium.border-primary]:ml-[calc(theme(borderWidth.medium)*-1)]"], - secondary: ["[&+.border-medium.border-secondary]:ml-[calc(theme(borderWidth.medium)*-1)]"], - success: ["[&+.border-medium.border-success]:ml-[calc(theme(borderWidth.medium)*-1)]"], - warning: ["[&+.border-medium.border-warning]:ml-[calc(theme(borderWidth.medium)*-1)]"], - danger: ["[&+.border-medium.border-danger]:ml-[calc(theme(borderWidth.medium)*-1)]"], + default: ["[&+.border-medium.border-default]:ms-[calc(theme(borderWidth.medium)*-1)]"], + primary: ["[&+.border-medium.border-primary]:ms-[calc(theme(borderWidth.medium)*-1)]"], + secondary: ["[&+.border-medium.border-secondary]:ms-[calc(theme(borderWidth.medium)*-1)]"], + success: ["[&+.border-medium.border-success]:ms-[calc(theme(borderWidth.medium)*-1)]"], + warning: ["[&+.border-medium.border-warning]:ms-[calc(theme(borderWidth.medium)*-1)]"], + danger: ["[&+.border-medium.border-danger]:ms-[calc(theme(borderWidth.medium)*-1)]"], };