Skip to content

Commit

Permalink
Theme black & white colors + Remove global sheet
Browse files Browse the repository at this point in the history
  • Loading branch information
Benoit Sagols committed Mar 29, 2020
1 parent b430727 commit 7e736ef
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions template/app/views/theme.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import { StyleSheet } from 'react-native';
import SpaceSheet from 'react-native-spacesheet';
import color from 'color';

Expand All @@ -9,16 +8,6 @@ const space = new SpaceSheet(spacing);
export const s = space.styles;
export const ss = space.sheets;

export const sheet = StyleSheet.create({
content: {
...s.p3,
flex: 1,
},
contentContainer: {
...s.p3,
},
});

// Credits:
// https://github.com/callstack/react-native-paper/blob/master/src/styles/DefaultTheme.tsx
// https://github.com/callstack/react-native-paper/blob/master/src/styles/colors.tsx
Expand All @@ -27,6 +16,8 @@ const white = '#ffffff';
const pinkA400 = '#f50057';

export const colors = {
white,
black,
primary: '#6200ee',
accent: '#03dac4',
background: '#f6f6f6',
Expand Down

0 comments on commit 7e736ef

Please sign in to comment.