Use color variables

This commit is contained in:
Julia Friesel
2018-08-22 17:44:54 +02:00
parent c6d61320e7
commit 15ad708a9c
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -10,7 +10,7 @@ import Slider from '@ptomasroos/react-native-multi-slider'
import Share from 'react-native-share'
import { DocumentPicker, DocumentPickerUtil } from 'react-native-document-picker'
import rnfs from 'react-native-fs'
import styles from '../styles/index'
import styles, { secondaryColor } from '../styles/index'
import config from '../config'
import { settings as labels } from './labels'
import getDataAsCsvDataUri from '../lib/import-export/export-to-csv'
@@ -106,7 +106,7 @@ class TempSlider extends Component {
height:10,
}}
markerStyle={{
backgroundColor: '#351c4d',
backgroundColor: secondaryColor,
height: 20,
width: 20,
borderRadius: 100,
+2 -2
View File
@@ -163,13 +163,13 @@ export default StyleSheet.create({
fontWeight: 'bold'
},
settingsButton: {
backgroundColor: '#351c4d',
backgroundColor: secondaryColor,
padding: 10,
alignItems: 'center',
margin: 10
},
settingsButtonText: {
color: 'white'
color: fontOnPrimaryColor
},
statsRow: {
flexDirection: 'row',