Use color variables
This commit is contained in:
@@ -10,7 +10,7 @@ import Slider from '@ptomasroos/react-native-multi-slider'
|
|||||||
import Share from 'react-native-share'
|
import Share from 'react-native-share'
|
||||||
import { DocumentPicker, DocumentPickerUtil } from 'react-native-document-picker'
|
import { DocumentPicker, DocumentPickerUtil } from 'react-native-document-picker'
|
||||||
import rnfs from 'react-native-fs'
|
import rnfs from 'react-native-fs'
|
||||||
import styles from '../styles/index'
|
import styles, { secondaryColor } from '../styles/index'
|
||||||
import config from '../config'
|
import config from '../config'
|
||||||
import { settings as labels } from './labels'
|
import { settings as labels } from './labels'
|
||||||
import getDataAsCsvDataUri from '../lib/import-export/export-to-csv'
|
import getDataAsCsvDataUri from '../lib/import-export/export-to-csv'
|
||||||
@@ -106,7 +106,7 @@ class TempSlider extends Component {
|
|||||||
height:10,
|
height:10,
|
||||||
}}
|
}}
|
||||||
markerStyle={{
|
markerStyle={{
|
||||||
backgroundColor: '#351c4d',
|
backgroundColor: secondaryColor,
|
||||||
height: 20,
|
height: 20,
|
||||||
width: 20,
|
width: 20,
|
||||||
borderRadius: 100,
|
borderRadius: 100,
|
||||||
|
|||||||
+2
-2
@@ -163,13 +163,13 @@ export default StyleSheet.create({
|
|||||||
fontWeight: 'bold'
|
fontWeight: 'bold'
|
||||||
},
|
},
|
||||||
settingsButton: {
|
settingsButton: {
|
||||||
backgroundColor: '#351c4d',
|
backgroundColor: secondaryColor,
|
||||||
padding: 10,
|
padding: 10,
|
||||||
alignItems: 'center',
|
alignItems: 'center',
|
||||||
margin: 10
|
margin: 10
|
||||||
},
|
},
|
||||||
settingsButtonText: {
|
settingsButtonText: {
|
||||||
color: 'white'
|
color: fontOnPrimaryColor
|
||||||
},
|
},
|
||||||
statsRow: {
|
statsRow: {
|
||||||
flexDirection: 'row',
|
flexDirection: 'row',
|
||||||
|
|||||||
Reference in New Issue
Block a user