feat(ui) updateTheme helper for client branding

This commit is contained in:
Calin Chitu
2021-11-23 15:02:23 +02:00
committed by Calinteodor
parent 14a422ba83
commit 5d1bf9e649
3 changed files with 34 additions and 3 deletions

View File

@@ -3,11 +3,13 @@
import { font, colors, colorMap, spacing, shape, typography } from '../Tokens';
import { createNativeTheme } from '../functions.native';
export default createNativeTheme({
import updateTheme from './updateTheme';
export default createNativeTheme(updateTheme({
font,
colors,
colorMap,
spacing,
shape,
typography
});
}));