@mantine/core
Advanced tools
Comparing version 7.1.6 to 7.1.7
@@ -56,3 +56,3 @@ 'use client'; | ||
const colors = theme.variantColorResolver({ | ||
color, | ||
color: color || theme.primaryColor, | ||
theme, | ||
@@ -59,0 +59,0 @@ gradient, |
@@ -55,3 +55,3 @@ 'use client'; | ||
const colors = theme.variantColorResolver({ | ||
color, | ||
color: color || theme.primaryColor, | ||
theme, | ||
@@ -58,0 +58,0 @@ variant: variant || "light" |
@@ -55,3 +55,3 @@ 'use client'; | ||
const colors = theme.variantColorResolver({ | ||
color, | ||
color: color || theme.primaryColor, | ||
theme, | ||
@@ -58,0 +58,0 @@ gradient, |
@@ -57,3 +57,3 @@ 'use client'; | ||
const colors = theme.variantColorResolver({ | ||
color, | ||
color: color || theme.primaryColor, | ||
theme, | ||
@@ -60,0 +60,0 @@ gradient, |
@@ -60,3 +60,3 @@ 'use client'; | ||
const colors = theme.variantColorResolver({ | ||
color, | ||
color: color || theme.primaryColor, | ||
theme, | ||
@@ -63,0 +63,0 @@ variant |
@@ -58,3 +58,3 @@ 'use client'; | ||
const colors = theme.variantColorResolver({ | ||
color, | ||
color: color || theme.primaryColor, | ||
theme, | ||
@@ -61,0 +61,0 @@ variant: variant || "light" |
@@ -51,3 +51,3 @@ 'use client'; | ||
const colors = theme.variantColorResolver({ | ||
color, | ||
color: color || theme.primaryColor, | ||
theme, | ||
@@ -54,0 +54,0 @@ gradient, |
@@ -18,3 +18,3 @@ 'use client'; | ||
}) => { | ||
const parsed = parseThemeColor.parseThemeColor({ color: color || theme.primaryColor, theme }); | ||
const parsed = parseThemeColor.parseThemeColor({ color, theme }); | ||
if (variant === "filled") { | ||
@@ -21,0 +21,0 @@ if (parsed.isThemeColor) { |
{ | ||
"name": "@mantine/core", | ||
"description": "React components library focused on usability, accessibility and developer experience", | ||
"version": "7.1.6", | ||
"version": "7.1.7", | ||
"main": "./cjs/index.js", | ||
@@ -46,3 +46,3 @@ "types": "./lib/index.d.ts", | ||
"peerDependencies": { | ||
"@mantine/hooks": "7.1.6", | ||
"@mantine/hooks": "7.1.7", | ||
"react": "^18.2.0", | ||
@@ -49,0 +49,0 @@ "react-dom": "^18.2.0" |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
7626047