Skip to content

Commit

Permalink
feat(svelte): rename components themeDark prop to dark
Browse files Browse the repository at this point in the history
  • Loading branch information
nolimits4web committed Oct 5, 2021
1 parent 1b857bf commit f75b582
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/svelte/shared/mixins.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import { isStringProp } from './utils';

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

return {
'theme-dark': themeDark,
dark,
[`color-${color}`]: color,
[`color-theme-${colorTheme}`]: colorTheme,
[`text-color-${textColor}`]: textColor,
Expand Down
2 changes: 1 addition & 1 deletion src/svelte/shared/rest-props.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const ignoreProps = [
'bgColor',
'borderColor',
'rippleColor',
'themeDark',
'dark',
'force',
'reloadCurrent',
'reloadPrevious',
Expand Down

0 comments on commit f75b582

Please sign in to comment.