Skip to content

Commit

Permalink
fix(framework): eva-adopt
Browse files Browse the repository at this point in the history
  • Loading branch information
artyorsh authored May 23, 2019
1 parent 621875c commit 2a9e315
Show file tree
Hide file tree
Showing 23 changed files with 1,067 additions and 927 deletions.
2 changes: 1 addition & 1 deletion config/prod.env.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ module.exports = {
ENV: 'prod',
KITTEN_PATH: path.resolve(__dirname, '../src/framework'),
MAPPING_PATH: path.resolve(playgroundPath, 'node_modules/@eva/eva'),
THEME_PATH: path.resolve(playgroundPath, 'node_modules/@eva/theme-eva'),
THEME_PATH: path.resolve(playgroundPath, 'node_modules/@eva/themes'),
PROCESSOR_PATH: path.resolve(__dirname, '../node_modules/@eva/processor-kitten')
};
4 changes: 2 additions & 2 deletions docs/src/guides/install-into-existing.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ npm i react-native-ui-kitten
### Install Eva Design System and theme

```bash
npm i @eva/eva @eva/theme-eva
npm i @eva/eva @eva/themes
```

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

```tsx
import { mapping } from '@eva/eva';
import { theme } from '@eva/theme-eva';
import { theme } from '@eva/themes';
import { ApplicationProvider } from '@kitten/theme';
import { Application } from './path-to/root.component';

Expand Down
2 changes: 1 addition & 1 deletion docs/src/guides/theme-customize-component.md
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ The one thing to apply custom mapping is to provide it to `ApplicationProvider`
```tsx
import React from 'react';
import { mapping } from '@eva/eva';
import { theme } from '@eva/theme-eva';
import { theme } from '@eva/themes';
import {
ApplicationProvider,
ApplicationProviderProps
Expand Down
2 changes: 1 addition & 1 deletion docs/src/guides/theme-switching.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ through the property into the `ApplicationProvider`.

```tsx
import { mapping } from '@eva/eva';
import { theme } from '@eva/theme-eva';
import { theme } from '@eva/themes';
import { customTheme } from './path-to/custom-theme;
import {
ApplicationProvider,
Expand Down
4 changes: 2 additions & 2 deletions docs/src/guides/theme-system.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ We don't provide styling configuration files out of the box to let you choose a
### Theme System Installation

```bash
npm i @eva/eva @eva/theme-eva
npm i @eva/eva @eva/themes
```

<hr>
Expand All @@ -26,7 +26,7 @@ npm i @eva/eva @eva/theme-eva

```tsx
import { mapping } from '@eva/eva';
import { theme } from '@eva/theme-eva';
import { theme } from '@eva/themes';
import { ApplicationProvider } from '@kitten/theme';
import { Application } from './path-to/root.component';

Expand Down
2 changes: 1 addition & 1 deletion docs/src/guides/theme-using-mapping.md
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ All that you have to do is to provide a custom mapping to ApplicationProvider.
```tsx
import React from 'react';
import { mapping } from '@eva/eva';
import { theme } from '@eva/theme-eva';
import { theme } from '@eva/themes';
import {
ApplicationProvider,
ApplicationProviderProps,
Expand Down
Loading

0 comments on commit 2a9e315

Please sign in to comment.