mobile.tsx

1
2
3
4
5
6
7
8
9
10
11
12
13
import { createTheme } from '@teambit/base-react.theme.theme-provider';

import { rNativeTokens } from '@learnbit-react/web-mobile-design-system.design-tokens.rnative-tokens';
import type { RNativeTokensProps } from '@learnbit-react/web-mobile-design-system.design-tokens.rnative-tokens';

const theme = createTheme<RNativeTokensProps>({
  theme: rNativeTokens,
  withoutCssVars: true,
});

const { useTheme } = theme;

export { useTheme };
CopiedCopy