Skip to content

Commit 2a9e315

Browse files
authored
fix(framework): eva-adopt
1 parent 621875c commit 2a9e315

23 files changed

+1067
-927
lines changed

config/prod.env.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@ module.exports = {
66
ENV: 'prod',
77
KITTEN_PATH: path.resolve(__dirname, '../src/framework'),
88
MAPPING_PATH: path.resolve(playgroundPath, 'node_modules/@eva/eva'),
9-
THEME_PATH: path.resolve(playgroundPath, 'node_modules/@eva/theme-eva'),
9+
THEME_PATH: path.resolve(playgroundPath, 'node_modules/@eva/themes'),
1010
PROCESSOR_PATH: path.resolve(__dirname, '../node_modules/@eva/processor-kitten')
1111
};

docs/src/guides/install-into-existing.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ npm i react-native-ui-kitten
3434
### Install Eva Design System and theme
3535

3636
```bash
37-
npm i @eva/eva @eva/theme-eva
37+
npm i @eva/eva @eva/themes
3838
```
3939

4040
That's it! React Native UI Kitten has to be ready to go now.
@@ -47,7 +47,7 @@ At this stage you have everything in place, let's configure React Native UI Kitt
4747

4848
```tsx
4949
import { mapping } from '@eva/eva';
50-
import { theme } from '@eva/theme-eva';
50+
import { theme } from '@eva/themes';
5151
import { ApplicationProvider } from '@kitten/theme';
5252
import { Application } from './path-to/root.component';
5353

docs/src/guides/theme-customize-component.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ The one thing to apply custom mapping is to provide it to `ApplicationProvider`
153153
```tsx
154154
import React from 'react';
155155
import { mapping } from '@eva/eva';
156-
import { theme } from '@eva/theme-eva';
156+
import { theme } from '@eva/themes';
157157
import {
158158
ApplicationProvider,
159159
ApplicationProviderProps

docs/src/guides/theme-switching.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ through the property into the `ApplicationProvider`.
1010

1111
```tsx
1212
import { mapping } from '@eva/eva';
13-
import { theme } from '@eva/theme-eva';
13+
import { theme } from '@eva/themes';
1414
import { customTheme } from './path-to/custom-theme;
1515
import {
1616
ApplicationProvider,

docs/src/guides/theme-system.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ We don't provide styling configuration files out of the box to let you choose a
1717
### Theme System Installation
1818

1919
```bash
20-
npm i @eva/eva @eva/theme-eva
20+
npm i @eva/eva @eva/themes
2121
```
2222

2323
<hr>
@@ -26,7 +26,7 @@ npm i @eva/eva @eva/theme-eva
2626

2727
```tsx
2828
import { mapping } from '@eva/eva';
29-
import { theme } from '@eva/theme-eva';
29+
import { theme } from '@eva/themes';
3030
import { ApplicationProvider } from '@kitten/theme';
3131
import { Application } from './path-to/root.component';
3232

docs/src/guides/theme-using-mapping.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ All that you have to do is to provide a custom mapping to ApplicationProvider.
122122
```tsx
123123
import React from 'react';
124124
import { mapping } from '@eva/eva';
125-
import { theme } from '@eva/theme-eva';
125+
import { theme } from '@eva/themes';
126126
import {
127127
ApplicationProvider,
128128
ApplicationProviderProps,

0 commit comments

Comments
 (0)