mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-06-28 08:50:06 +02:00
big rename
This commit is contained in:
parent
c7c97164ee
commit
ab8e742ce3
4 changed files with 21 additions and 21 deletions
|
@ -1,4 +1,4 @@
|
||||||
module.exports = {
|
var AppStyles = {
|
||||||
blueBackground: '#5cbcfc',
|
blueBackground: '#5cbcfc',
|
||||||
terminalBackground: '#424242',
|
terminalBackground: '#424242',
|
||||||
terminalText: 'rgb(238, 238, 238)',
|
terminalText: 'rgb(238, 238, 238)',
|
||||||
|
@ -6,3 +6,11 @@ module.exports = {
|
||||||
terminalBorder: '#303030',
|
terminalBorder: '#303030',
|
||||||
terminalFontFamily: 'Courier',
|
terminalFontFamily: 'Courier',
|
||||||
};
|
};
|
||||||
|
|
||||||
|
AppStyles.terminalTextStyle = {
|
||||||
|
color: AppStyles.terminalText,
|
||||||
|
fontFamily: AppStyles.terminalFontFamily,
|
||||||
|
fontWeight: 'bold',
|
||||||
|
};
|
||||||
|
|
||||||
|
module.exports = AppStyles;
|
|
@ -8,7 +8,7 @@ var {
|
||||||
View,
|
View,
|
||||||
} = React;
|
} = React;
|
||||||
|
|
||||||
var Colors = require('../constants/Colors');
|
var AppStyles = require('../constants/AppStyles');
|
||||||
var TerminalCardView = require('../native_react_views/TerminalCardView');
|
var TerminalCardView = require('../native_react_views/TerminalCardView');
|
||||||
var NavButton = require('../native_react_views/NavButton');
|
var NavButton = require('../native_react_views/NavButton');
|
||||||
|
|
||||||
|
@ -56,22 +56,14 @@ var NUXView = React.createClass({
|
||||||
</View>
|
</View>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
// TODO -- refactor this somewhere
|
|
||||||
var terminalTextStyle = {
|
|
||||||
color: Colors.terminalText,
|
|
||||||
fontFamily: Colors.terminalFontFamily,
|
|
||||||
fontWeight: 'bold',
|
|
||||||
};
|
|
||||||
|
|
||||||
var styles = StyleSheet.create({
|
var styles = StyleSheet.create({
|
||||||
buttonContainer: {
|
buttonContainer: {
|
||||||
marginTop: 40,
|
marginTop: 40,
|
||||||
},
|
},
|
||||||
background: {
|
background: {
|
||||||
backgroundColor: Colors.blueBackground,
|
backgroundColor: AppStyles.blueBackground,
|
||||||
flex: 1
|
flex: 1
|
||||||
},
|
},
|
||||||
container: {
|
container: {
|
||||||
|
@ -85,11 +77,11 @@ var styles = StyleSheet.create({
|
||||||
justifyContent: 'center',
|
justifyContent: 'center',
|
||||||
alignItems: 'center',
|
alignItems: 'center',
|
||||||
},
|
},
|
||||||
welcomeText: assign({}, terminalTextStyle, {
|
welcomeText: assign({}, AppStyles.terminalTextStyle, {
|
||||||
fontSize: 24,
|
fontSize: 24,
|
||||||
marginBottom: 8
|
marginBottom: 8
|
||||||
}),
|
}),
|
||||||
introText: assign({}, terminalTextStyle, {
|
introText: assign({}, AppStyles.terminalTextStyle, {
|
||||||
marginTop: 8,
|
marginTop: 8,
|
||||||
flex: 1,
|
flex: 1,
|
||||||
marginBottom: 8
|
marginBottom: 8
|
||||||
|
|
|
@ -8,7 +8,7 @@ var {
|
||||||
View,
|
View,
|
||||||
} = React;
|
} = React;
|
||||||
|
|
||||||
var Colors = require('../constants/Colors');
|
var AppStyles = require('../constants/AppStyles');
|
||||||
|
|
||||||
var SequenceSelectView = React.createClass({
|
var SequenceSelectView = React.createClass({
|
||||||
|
|
||||||
|
@ -40,7 +40,7 @@ var SequenceSelectView = React.createClass({
|
||||||
|
|
||||||
var styles = StyleSheet.create({
|
var styles = StyleSheet.create({
|
||||||
background: {
|
background: {
|
||||||
backgroundColor: Colors.blueBackground,
|
backgroundColor: AppStyles.blueBackground,
|
||||||
flex: 1
|
flex: 1
|
||||||
},
|
},
|
||||||
headerSpacer: {
|
headerSpacer: {
|
||||||
|
|
|
@ -7,7 +7,7 @@ var {
|
||||||
View,
|
View,
|
||||||
} = React;
|
} = React;
|
||||||
|
|
||||||
var Colors = require('../constants/Colors');
|
var AppStyles = require('../constants/AppStyles');
|
||||||
|
|
||||||
var TerminalCardView = React.createClass({
|
var TerminalCardView = React.createClass({
|
||||||
propTypes: {
|
propTypes: {
|
||||||
|
@ -52,7 +52,7 @@ var buttonStyle = {
|
||||||
var styles = StyleSheet.create({
|
var styles = StyleSheet.create({
|
||||||
terminalHeader: {
|
terminalHeader: {
|
||||||
height: 16,
|
height: 16,
|
||||||
backgroundColor: Colors.terminalHeader,
|
backgroundColor: AppStyles.terminalHeader,
|
||||||
borderRadius: BORDER_RADIUS,
|
borderRadius: BORDER_RADIUS,
|
||||||
flexDirection: 'row',
|
flexDirection: 'row',
|
||||||
justifyContent: 'flex-start',
|
justifyContent: 'flex-start',
|
||||||
|
@ -73,7 +73,7 @@ var styles = StyleSheet.create({
|
||||||
}),
|
}),
|
||||||
|
|
||||||
terminalWindow: {
|
terminalWindow: {
|
||||||
backgroundColor: Colors.terminalBackground,
|
backgroundColor: AppStyles.terminalBackground,
|
||||||
borderRadius: BORDER_RADIUS,
|
borderRadius: BORDER_RADIUS,
|
||||||
shadowOpacity: 0.5,
|
shadowOpacity: 0.5,
|
||||||
shadowRadius: 4,
|
shadowRadius: 4,
|
||||||
|
@ -86,13 +86,13 @@ var styles = StyleSheet.create({
|
||||||
terminalTextContainer: {
|
terminalTextContainer: {
|
||||||
padding: 12,
|
padding: 12,
|
||||||
borderWidth: 1 / PixelRatio.get(),
|
borderWidth: 1 / PixelRatio.get(),
|
||||||
borderColor: Colors.terminalBorder,
|
borderColor: AppStyles.terminalBorder,
|
||||||
borderRadius: BORDER_RADIUS
|
borderRadius: BORDER_RADIUS
|
||||||
},
|
},
|
||||||
|
|
||||||
terminalText: {
|
terminalText: {
|
||||||
color: Colors.terminalText,
|
color: AppStyles.terminalText,
|
||||||
fontFamily: Colors.terminalFontFamily,
|
fontFamily: AppStyles.terminalFontFamily,
|
||||||
fontSize: 16,
|
fontSize: 16,
|
||||||
fontWeight: 'bold'
|
fontWeight: 'bold'
|
||||||
},
|
},
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue