diff --git a/apps/benchmarks/src/core/index.js b/apps/benchmarks/src/core/index.js index a7be4f9c..9d9dcbe5 100755 --- a/apps/benchmarks/src/core/index.js +++ b/apps/benchmarks/src/core/index.js @@ -5,7 +5,7 @@ const singleComplexPropertySuite = require('./singleComplexProperty'); const componentSuite = require('./componentStyle'); const completeStyleSuite = require('./completeStyle'); -morfeo.setTheme({ +morfeo.setTheme('default', { colors: { primary: 'black', secondary: 'white', diff --git a/apps/benchmarks/src/morfeo-vs/index.js b/apps/benchmarks/src/morfeo-vs/index.js index 0736e197..0b442d9e 100644 --- a/apps/benchmarks/src/morfeo-vs/index.js +++ b/apps/benchmarks/src/morfeo-vs/index.js @@ -2,6 +2,6 @@ const { morfeo } = require('@morfeo/core'); const defaultTheme = require('./theme'); const styledSystemSuite = require('./styled-system'); -morfeo.setTheme(defaultTheme); +morfeo.setTheme('default', defaultTheme); styledSystemSuite.run({ async: false }); diff --git a/apps/native-sandbox/src/App.tsx b/apps/native-sandbox/src/App.tsx index bac5d0e4..db76c294 100644 --- a/apps/native-sandbox/src/App.tsx +++ b/apps/native-sandbox/src/App.tsx @@ -8,7 +8,7 @@ import { Button } from './components'; LogBox.ignoreAllLogs(); -morfeo.setTheme(defaultTheme as any); +morfeo.setTheme('default', defaultTheme as any); const Box = styled.View