mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-11-22 23:28:56 +03:00
theme upd
This commit is contained in:
parent
f3980fd947
commit
4e35d7d407
@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>IDEDidComputeMac32BitWarning</key>
|
||||
<true/>
|
||||
</dict>
|
||||
</plist>
|
8
package-lock.json
generated
8
package-lock.json
generated
@ -9009,6 +9009,14 @@
|
||||
"hoist-non-react-statics": "2.5.5"
|
||||
}
|
||||
},
|
||||
"react-native-scrollable-tab-view": {
|
||||
"version": "git+https://github.com/happypancake/react-native-scrollable-tab-view.git#2419c25a03f0fb346af8ce2c39fca869f259e716",
|
||||
"requires": {
|
||||
"create-react-class": "15.6.3",
|
||||
"prop-types": "15.6.2",
|
||||
"react-timer-mixin": "0.13.4"
|
||||
}
|
||||
},
|
||||
"react-native-tab-view": {
|
||||
"version": "0.0.77",
|
||||
"resolved": "https://registry.npmjs.org/react-native-tab-view/-/react-native-tab-view-0.0.77.tgz",
|
||||
|
@ -104,22 +104,8 @@ class AuthorPage extends React.Component {
|
||||
</Text>
|
||||
<Text>{this.state.about.about}</Text>
|
||||
</Body>
|
||||
<Card
|
||||
style={{
|
||||
marginTop: 0,
|
||||
marginLeft: 0,
|
||||
marginRight: 0,
|
||||
marginBottom: 0,
|
||||
}}
|
||||
>
|
||||
<CardItem
|
||||
style={{
|
||||
borderColor: 'lightgray',
|
||||
borderTopWidth: 1,
|
||||
borderBottomWidth: 1,
|
||||
flexDirection: 'row',
|
||||
}}
|
||||
>
|
||||
<Card style={styles.userDetailsCard}>
|
||||
<CardItem style={styles.userDetail}>
|
||||
<View style={{ flex: 0.3 }}>
|
||||
<Text>
|
||||
{this.state.author.post_count} Posts
|
||||
|
@ -34,6 +34,18 @@ const styles = createStyle({
|
||||
top: -40,
|
||||
},
|
||||
accountNameText: {
|
||||
fontWeight: '@FONT_WEIGHT_HEAVY',
|
||||
fontWeight: '@fontWeight',
|
||||
},
|
||||
userDetailsCard: {
|
||||
marginTop: 0,
|
||||
marginLeft: 0,
|
||||
marginRight: 0,
|
||||
marginBottom: 0,
|
||||
},
|
||||
userDetail: {
|
||||
borderColor: 'lightgray',
|
||||
borderTopWidth: 1,
|
||||
borderBottomWidth: 1,
|
||||
flexDirection: 'row',
|
||||
},
|
||||
});
|
||||
|
@ -1,5 +1,14 @@
|
||||
import { createTheme } from 'react-native-theming';
|
||||
|
||||
const fonts = {
|
||||
FONT_SIZE_SMALL: '12',
|
||||
FONT_SIZE_MEDIUM: '14',
|
||||
FONT_SIZE_LARGE: '16',
|
||||
FONT_WEIGHT_LIGHT: '200',
|
||||
FONT_WEIGHT_MEDIUM: '600',
|
||||
FONT_WEIGHT_HEAVY: '800',
|
||||
};
|
||||
|
||||
const themes = [
|
||||
createTheme(
|
||||
{
|
||||
@ -8,12 +17,8 @@ const themes = [
|
||||
buttonColor: 'blue',
|
||||
buttonText: 'white',
|
||||
statusBar: 'dark-content',
|
||||
FONT_SIZE_SMALL: 12,
|
||||
FONT_SIZE_MEDIUM: 14,
|
||||
FONT_SIZE_LARGE: 16,
|
||||
FONT_WEIGHT_LIGHT: 200,
|
||||
FONT_WEIGHT_MEDIUM: '600',
|
||||
FONT_WEIGHT_HEAVY: '800',
|
||||
fontSize: fonts.FONT_SIZE_MEDIUM,
|
||||
fontWeight: fonts.FONT_WEIGHT_MEDIUM,
|
||||
},
|
||||
'Light'
|
||||
),
|
||||
@ -24,12 +29,8 @@ const themes = [
|
||||
buttonColor: 'yellow',
|
||||
buttonText: 'black',
|
||||
statusBar: 'light-content',
|
||||
FONT_SIZE_SMALL: 12,
|
||||
FONT_SIZE_MEDIUM: 14,
|
||||
FONT_SIZE_LARGE: 16,
|
||||
FONT_WEIGHT_LIGHT: 200,
|
||||
FONT_WEIGHT_MEDIUM: '600',
|
||||
FONT_WEIGHT_HEAVY: '800',
|
||||
fontSize: fonts.FONT_SIZE_MEDIUM,
|
||||
fontWeight: fonts.FONT_WEIGHT_MEDIUM,
|
||||
},
|
||||
'Dark'
|
||||
),
|
||||
|
Loading…
Reference in New Issue
Block a user