mirror of
https://github.com/Telecominfraproject/wlan-sdk-mobile-app.git
synced 2025-10-29 18:02:23 +00:00
Updated the bracketSpacing in .prettierrc and updated all files to reflect this. Also made some minor App style clean up.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
module.exports = {
|
||||
printWidth: 120,
|
||||
bracketSpacing: false,
|
||||
bracketSpacing: true,
|
||||
jsxBracketSameLine: true,
|
||||
singleQuote: true,
|
||||
trailingComma: 'all',
|
||||
|
||||
@@ -12,27 +12,27 @@ export function primaryColor() {
|
||||
}
|
||||
|
||||
export function primaryColorStyle() {
|
||||
return {
|
||||
return StyleSheet.create({
|
||||
color: primaryColor(),
|
||||
};
|
||||
});
|
||||
}
|
||||
|
||||
export const pageStyle = StyleSheet.create({
|
||||
container: {
|
||||
// Layout
|
||||
flexDirection: 'column',
|
||||
flexWrap: 'nowrap',
|
||||
flex: 1,
|
||||
justifyContent: 'flex-start',
|
||||
alignContent: 'flex-start',
|
||||
alignItems: 'center',
|
||||
flex: 1,
|
||||
// Content
|
||||
padding: 34,
|
||||
color: '#101010',
|
||||
fontWeight: 'bold',
|
||||
backgroundColor: '#eeeeee',
|
||||
},
|
||||
text: {
|
||||
// Base Text
|
||||
fontSize: 14,
|
||||
fontWeight: 'bold',
|
||||
color: '#101010',
|
||||
},
|
||||
});
|
||||
|
||||
@@ -53,19 +53,22 @@ export const pageItemStyle = StyleSheet.create({
|
||||
},
|
||||
containerButton: {
|
||||
height: 40,
|
||||
marginBottom: 10,
|
||||
width: '100%',
|
||||
marginBottom: 10,
|
||||
},
|
||||
inputText: {
|
||||
// Layout
|
||||
height: 40,
|
||||
marginBottom: 10,
|
||||
width: '100%',
|
||||
borderColor: '#bbbbbb',
|
||||
borderWidth: 1,
|
||||
textAlign: 'left',
|
||||
backgroundColor: '#ffffff',
|
||||
marginBottom: 10,
|
||||
paddingLeft: 8,
|
||||
paddingRight: 8,
|
||||
// Background and Border
|
||||
backgroundColor: '#ffffff',
|
||||
borderColor: '#bbbbbb',
|
||||
borderWidth: 1,
|
||||
// Text
|
||||
textAlign: 'left',
|
||||
},
|
||||
buttonText: {
|
||||
textAlign: 'center',
|
||||
|
||||
@@ -92,10 +92,10 @@ const brandingSelectorStyle = StyleSheet.create({
|
||||
containerBrands: {
|
||||
flexDirection: 'column',
|
||||
flexWrap: 'nowrap',
|
||||
flex: 0,
|
||||
justifyContent: 'flex-start',
|
||||
alignContent: 'flex-start',
|
||||
alignItems: 'center',
|
||||
flex: 0,
|
||||
},
|
||||
containerSearch: {
|
||||
marginBottom: 16,
|
||||
|
||||
Reference in New Issue
Block a user