Remove light app text
This commit is contained in:
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -13,14 +13,6 @@ export default function AppText(props) {
|
||||
)
|
||||
}
|
||||
|
||||
export function AppTextLight(props) {
|
||||
return (
|
||||
<Text style={[styles.appTextLight, props.style]}>
|
||||
{props.children}
|
||||
</Text>
|
||||
)
|
||||
}
|
||||
|
||||
export function ActionHint(props) {
|
||||
if(props.isVisible) {
|
||||
return (
|
||||
|
||||
+7
-7
@@ -8,7 +8,7 @@ import cycleModule from '../lib/cycle'
|
||||
import { getCycleDaysSortedByDate } from '../db'
|
||||
import { getFertilityStatusForDay } from '../lib/sympto-adapter'
|
||||
import styles from '../styles'
|
||||
import AppText, { AppTextLight } from './app-text'
|
||||
import AppText from './app-text'
|
||||
import DripHomeIcon from '../assets/drip-home-icons'
|
||||
import Button from './button'
|
||||
|
||||
@@ -57,9 +57,9 @@ export default class Home extends Component {
|
||||
<DripHomeIcon name="circle" size={80} color={cycleDayColor}/>
|
||||
</View>
|
||||
<View style={[styles.homeIconTextWrapper, styles.wrapperCycle]}>
|
||||
<AppTextLight style={styles.iconText}>
|
||||
<AppText style={styles.iconText}>
|
||||
{this.state.cycleDayNumber || labels.unknown}
|
||||
</AppTextLight>
|
||||
</AppText>
|
||||
</View>
|
||||
|
||||
{ this.state.showMore &&
|
||||
@@ -82,9 +82,9 @@ export default class Home extends Component {
|
||||
<DripHomeIcon name="drop" size={105} color={periodColor} />
|
||||
</View>
|
||||
<View style={[styles.homeIconTextWrapper, styles.wrapperDrop]}>
|
||||
<AppTextLight style={styles.iconText}>
|
||||
<AppText style={styles.iconText}>
|
||||
{this.state.bleedingPredictionRange}
|
||||
</AppTextLight>
|
||||
</AppText>
|
||||
</View>
|
||||
|
||||
{this.state.showMore &&
|
||||
@@ -109,13 +109,13 @@ export default class Home extends Component {
|
||||
<View style={styles.homeCircle} position='absolute' />
|
||||
|
||||
<View style={[styles.homeIconTextWrapper, styles.wrapperCircle]}>
|
||||
<AppTextLight style={styles.iconText}>
|
||||
<AppText style={styles.iconText}>
|
||||
{this.state.phase ?
|
||||
this.state.phase.toString()
|
||||
:
|
||||
labels.unknown
|
||||
}
|
||||
</AppTextLight>
|
||||
</AppText>
|
||||
</View>
|
||||
{this.state.phase &&
|
||||
<AppText>
|
||||
|
||||
@@ -78,6 +78,7 @@
|
||||
082F2BD2BEA046FE8EE58763 /* Dosis-SemiBold.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 2A26A6F601D64F3A8D4A02B0 /* Dosis-SemiBold.ttf */; };
|
||||
DAA390B1EE7442D88A768596 /* drip-home-icon-font.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 94973D7B7BBA4B0FBE713A0E /* drip-home-icon-font.ttf */; };
|
||||
BA7CE1E95B7843D7B0CF85FF /* drip-home-icons.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 887F1D52A4684A5280CB79AA /* drip-home-icons.ttf */; };
|
||||
26DAA39DDC6B436E8342239B /* Dosis-medium.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 096E5227936940FEBA7321FE /* Dosis-medium.ttf */; };
|
||||
/* End PBXBuildFile section */
|
||||
|
||||
/* Begin PBXContainerItemProxy section */
|
||||
@@ -430,6 +431,7 @@
|
||||
2A26A6F601D64F3A8D4A02B0 /* Dosis-SemiBold.ttf */ = {isa = PBXFileReference; name = "Dosis-SemiBold.ttf"; path = "../assets/fonts/Dosis-SemiBold.ttf"; sourceTree = "<group>"; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; };
|
||||
94973D7B7BBA4B0FBE713A0E /* drip-home-icon-font.ttf */ = {isa = PBXFileReference; name = "drip-home-icon-font.ttf"; path = "../assets/fonts/drip-home-icon-font.ttf"; sourceTree = "<group>"; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; };
|
||||
887F1D52A4684A5280CB79AA /* drip-home-icons.ttf */ = {isa = PBXFileReference; name = "drip-home-icons.ttf"; path = "../assets/fonts/drip-home-icons.ttf"; sourceTree = "<group>"; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; };
|
||||
096E5227936940FEBA7321FE /* Dosis-medium.ttf */ = {isa = PBXFileReference; name = "Dosis-medium.ttf"; path = "../assets/fonts/Dosis-medium.ttf"; sourceTree = "<group>"; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; };
|
||||
/* End PBXFileReference section */
|
||||
|
||||
/* Begin PBXFrameworksBuildPhase section */
|
||||
@@ -747,6 +749,7 @@
|
||||
2A26A6F601D64F3A8D4A02B0 /* Dosis-SemiBold.ttf */,
|
||||
94973D7B7BBA4B0FBE713A0E /* drip-home-icon-font.ttf */,
|
||||
887F1D52A4684A5280CB79AA /* drip-home-icons.ttf */,
|
||||
096E5227936940FEBA7321FE /* Dosis-medium.ttf */,
|
||||
);
|
||||
name = Resources;
|
||||
sourceTree = "<group>";
|
||||
@@ -782,9 +785,9 @@
|
||||
13B07F8E1A680F5B00A75B9A /* Resources */,
|
||||
00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */,
|
||||
2B572382D4504B8FB4B9D251 /* Embed Frameworks */,
|
||||
75B7A700C6354428A41EC7B3 /* Build NodeJS Mobile Native Modules */,
|
||||
7CF38FE26E64428D9F852D31 /* Sign NodeJS Mobile Native Modules */,
|
||||
313F906FC77F438DA3BB36B0 /* Remove NodeJS Mobile Framework Simulator Strips */,
|
||||
48E955FC462B416A95EF7BEF /* Build NodeJS Mobile Native Modules */,
|
||||
72D0A476E7B545D7B07DF865 /* Sign NodeJS Mobile Native Modules */,
|
||||
23D0808CFD8C401AA6A359D1 /* Remove NodeJS Mobile Framework Simulator Strips */,
|
||||
);
|
||||
buildRules = (
|
||||
);
|
||||
@@ -1232,6 +1235,7 @@
|
||||
082F2BD2BEA046FE8EE58763 /* Dosis-SemiBold.ttf in Resources */,
|
||||
DAA390B1EE7442D88A768596 /* drip-home-icon-font.ttf in Resources */,
|
||||
BA7CE1E95B7843D7B0CF85FF /* drip-home-icons.ttf in Resources */,
|
||||
26DAA39DDC6B436E8342239B /* Dosis-medium.ttf in Resources */,
|
||||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
};
|
||||
@@ -1281,7 +1285,7 @@
|
||||
shellPath = /bin/sh;
|
||||
shellScript = "export NODE_BINARY=node\n../node_modules/react-native/scripts/react-native-xcode.sh";
|
||||
};
|
||||
75B7A700C6354428A41EC7B3 /* Build NodeJS Mobile Native Modules */ = {
|
||||
48E955FC462B416A95EF7BEF /* Build NodeJS Mobile Native Modules */ = {
|
||||
isa = PBXShellScriptBuildPhase;
|
||||
buildActionMask = 2147483647;
|
||||
files = (
|
||||
@@ -1349,7 +1353,7 @@ fi
|
||||
popd
|
||||
";
|
||||
};
|
||||
7CF38FE26E64428D9F852D31 /* Sign NodeJS Mobile Native Modules */ = {
|
||||
72D0A476E7B545D7B07DF865 /* Sign NodeJS Mobile Native Modules */ = {
|
||||
isa = PBXShellScriptBuildPhase;
|
||||
buildActionMask = 2147483647;
|
||||
files = (
|
||||
@@ -1409,7 +1413,7 @@ find \"$CODESIGNING_FOLDER_PATH/nodejs-project/\" -path \"*/*.framework/*\" -del
|
||||
find \"$CODESIGNING_FOLDER_PATH/nodejs-project/\" -name \"*.framework\" -type d -delete
|
||||
";
|
||||
};
|
||||
313F906FC77F438DA3BB36B0 /* Remove NodeJS Mobile Framework Simulator Strips */ = {
|
||||
23D0808CFD8C401AA6A359D1 /* Remove NodeJS Mobile Framework Simulator Strips */ = {
|
||||
isa = PBXShellScriptBuildPhase;
|
||||
buildActionMask = 2147483647;
|
||||
files = (
|
||||
|
||||
+1
-3
@@ -72,7 +72,6 @@
|
||||
<string>Prompt-Thin.ttf</string>
|
||||
<string>fontello.ttf</string>
|
||||
<string>drip-icon-font.ttf</string>
|
||||
<<<<<<< HEAD
|
||||
<string>Dosis-Bold.ttf</string>
|
||||
<string>Dosis-Book.ttf</string>
|
||||
<string>Dosis-ExtraBold.ttf</string>
|
||||
@@ -80,10 +79,9 @@
|
||||
<string>Dosis-Light.ttf</string>
|
||||
<string>Dosis-Medium.ttf</string>
|
||||
<string>Dosis-SemiBold.ttf</string>
|
||||
=======
|
||||
<string>drip-home-icon-font.ttf</string>
|
||||
<string>drip-home-icons.ttf</string>
|
||||
>>>>>>> master
|
||||
<string>Dosis-medium.ttf</string>
|
||||
</array>
|
||||
</dict>
|
||||
</plist>
|
||||
|
||||
@@ -16,7 +16,6 @@ export const periodColor = '#802249'
|
||||
const headerFont = 'Prompt-Thin'
|
||||
|
||||
const textFont = 'Dosis-Light'
|
||||
const textFontLight = 'Dosis-ExtraLight'
|
||||
const textFontBold = 'Dosis-Book'
|
||||
|
||||
const regularSize = 16
|
||||
@@ -34,11 +33,6 @@ export default StyleSheet.create({
|
||||
fontSize: regularSize,
|
||||
letterSpacing: 0.5
|
||||
},
|
||||
appTextLight: {
|
||||
color: 'black',
|
||||
fontFamily: textFontLight,
|
||||
fontSize: regularSize
|
||||
},
|
||||
actionHint: {
|
||||
color: secondaryColor,
|
||||
fontFamily: textFont,
|
||||
|
||||
Reference in New Issue
Block a user