Skip to content

Commit 0dd8967

Browse files
committed
feat(react): rename components themeDark prop to dark
1 parent f75b582 commit 0dd8967

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/react/shared/mixins.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
import { isStringProp } from './utils';
22

33
export function colorClasses(props) {
4-
const { color, colorTheme, textColor, bgColor, borderColor, rippleColor, themeDark } = props;
4+
const { color, colorTheme, textColor, bgColor, borderColor, rippleColor, dark } = props;
55

66
return {
7-
'theme-dark': themeDark,
7+
dark,
88
[`color-${color}`]: color,
99
[`color-theme-${colorTheme}`]: colorTheme,
1010
[`text-color-${textColor}`]: textColor,

0 commit comments

Comments
 (0)