diff --git a/packages/@mantine/core/src/core/Box/style-props/resolvers/border-resolver/border-resolver.ts b/packages/@mantine/core/src/core/Box/style-props/resolvers/border-resolver/border-resolver.ts index 5b980263a62..c7e5b295108 100644 --- a/packages/@mantine/core/src/core/Box/style-props/resolvers/border-resolver/border-resolver.ts +++ b/packages/@mantine/core/src/core/Box/style-props/resolvers/border-resolver/border-resolver.ts @@ -1,4 +1,4 @@ -import { colorsTuple, MantineTheme } from '../../../../MantineProvider'; +import { MantineTheme } from '../../../../MantineProvider'; import { rem } from '../../../../utils'; import { colorResolver } from '../color-resolver/color-resolver'; @@ -11,7 +11,7 @@ export function borderResolver(value: unknown, theme: MantineTheme) { const [size, style, ...colorTuple] = value.split(' ').filter((val) => val.trim() !== ''); let result = `${rem(size)}`; style && (result += ` ${style}`); - colorsTuple.length > 0 && (result += ` ${colorResolver(colorTuple.join(' '), theme)}`); + colorTuple.length > 0 && (result += ` ${colorResolver(colorTuple.join(' '), theme)}`); return result.trim(); }