chore: Linting
Signed-off-by: SindreKjelsrud <sindre@kjelsrud.dev>
This commit is contained in:
parent
c9c7e5c7ee
commit
d1cadc85a6
1 changed files with 142 additions and 141 deletions
283
app/styles.ts
283
app/styles.ts
|
@ -60,12 +60,12 @@ export const styles = StyleSheet.create({
|
||||||
alignSelf: "flex-start"
|
alignSelf: "flex-start"
|
||||||
},
|
},
|
||||||
backButtonText: {
|
backButtonText: {
|
||||||
color: "#fff",
|
color: "#fff",
|
||||||
fontSize: 16,
|
fontSize: 16,
|
||||||
fontWeight: "bold",
|
fontWeight: "bold",
|
||||||
fontFamily: "Minecraft"
|
fontFamily: "Minecraft"
|
||||||
},
|
},
|
||||||
|
|
||||||
// --- Nether Portal Calculator ---
|
// --- Nether Portal Calculator ---
|
||||||
converterScreenRoot: {
|
converterScreenRoot: {
|
||||||
flex: 1,
|
flex: 1,
|
||||||
|
@ -249,111 +249,111 @@ export const styles = StyleSheet.create({
|
||||||
|
|
||||||
// --- Saved Coordinates ---
|
// --- Saved Coordinates ---
|
||||||
coordinateInputSection: {
|
coordinateInputSection: {
|
||||||
flexDirection: "column",
|
flexDirection: "column",
|
||||||
backgroundColor: "rgba(30,30,30,0.8)",
|
backgroundColor: "rgba(30,30,30,0.8)",
|
||||||
borderRadius: 10,
|
borderRadius: 10,
|
||||||
padding: 15,
|
padding: 15,
|
||||||
marginBottom: 20,
|
marginBottom: 20,
|
||||||
shadowColor: "#000",
|
shadowColor: "#000",
|
||||||
shadowOffset: { width: 0, height: 4 },
|
shadowOffset: { width: 0, height: 4 },
|
||||||
shadowOpacity: 0.3,
|
shadowOpacity: 0.3,
|
||||||
shadowRadius: 5,
|
shadowRadius: 5,
|
||||||
elevation: 8
|
elevation: 8
|
||||||
},
|
},
|
||||||
coordinateInputField: {
|
coordinateInputField: {
|
||||||
flex: 1,
|
flex: 1,
|
||||||
backgroundColor: "#444",
|
backgroundColor: "#444",
|
||||||
color: "#eee",
|
color: "#eee",
|
||||||
padding: 12,
|
padding: 12,
|
||||||
borderRadius: 8,
|
borderRadius: 8,
|
||||||
fontSize: 16,
|
fontSize: 16,
|
||||||
marginBottom: 10,
|
marginBottom: 10,
|
||||||
height: 50,
|
height: 50,
|
||||||
fontFamily: "Minecraft"
|
fontFamily: "Minecraft"
|
||||||
},
|
},
|
||||||
coordinateValuesInputRow: {
|
coordinateValuesInputRow: {
|
||||||
flexDirection: "row",
|
flexDirection: "row",
|
||||||
justifyContent: "space-between",
|
justifyContent: "space-between",
|
||||||
marginBottom: 10
|
marginBottom: 10
|
||||||
},
|
},
|
||||||
coordinateValueInput: {
|
coordinateValueInput: {
|
||||||
flex: 1,
|
flex: 1,
|
||||||
backgroundColor: "#444",
|
backgroundColor: "#444",
|
||||||
color: "#eee",
|
color: "#eee",
|
||||||
padding: 12,
|
padding: 12,
|
||||||
borderRadius: 8,
|
borderRadius: 8,
|
||||||
fontSize: 16,
|
fontSize: 16,
|
||||||
marginHorizontal: 5,
|
marginHorizontal: 5,
|
||||||
height: 50,
|
height: 50,
|
||||||
fontFamily: "Minecraft"
|
fontFamily: "Minecraft"
|
||||||
},
|
},
|
||||||
addCoordinateButton: {
|
addCoordinateButton: {
|
||||||
backgroundColor: "#2196F3",
|
backgroundColor: "#2196F3",
|
||||||
padding: 15,
|
padding: 15,
|
||||||
borderRadius: 8,
|
borderRadius: 8,
|
||||||
alignItems: "center",
|
alignItems: "center",
|
||||||
justifyContent: "center"
|
justifyContent: "center"
|
||||||
},
|
},
|
||||||
addCoordinateButtonText: {
|
addCoordinateButtonText: {
|
||||||
color: "#fff",
|
color: "#fff",
|
||||||
fontSize: 18,
|
fontSize: 18,
|
||||||
fontWeight: "bold",
|
fontWeight: "bold",
|
||||||
fontFamily: "Minecraft"
|
fontFamily: "Minecraft"
|
||||||
},
|
},
|
||||||
savedCoordinatesListContainer: {
|
savedCoordinatesListContainer: {
|
||||||
backgroundColor: "rgba(30,30,30,0.8)",
|
backgroundColor: "rgba(30,30,30,0.8)",
|
||||||
borderRadius: 10,
|
borderRadius: 10,
|
||||||
padding: 15,
|
padding: 15,
|
||||||
minHeight: 100,
|
minHeight: 100,
|
||||||
shadowColor: "#000",
|
shadowColor: "#000",
|
||||||
shadowOffset: { width: 0, height: 4 },
|
shadowOffset: { width: 0, height: 4 },
|
||||||
shadowOpacity: 0.3,
|
shadowOpacity: 0.3,
|
||||||
shadowRadius: 5,
|
shadowRadius: 5,
|
||||||
elevation: 8
|
elevation: 8
|
||||||
},
|
},
|
||||||
coordinateListItem: {
|
coordinateListItem: {
|
||||||
flexDirection: "row",
|
flexDirection: "row",
|
||||||
justifyContent: "space-between",
|
justifyContent: "space-between",
|
||||||
alignItems: "center",
|
alignItems: "center",
|
||||||
backgroundColor: "#555",
|
backgroundColor: "#555",
|
||||||
borderRadius: 8,
|
borderRadius: 8,
|
||||||
padding: 15,
|
padding: 15,
|
||||||
marginBottom: 10,
|
marginBottom: 10,
|
||||||
shadowColor: "#000",
|
shadowColor: "#000",
|
||||||
shadowOffset: { width: 0, height: 2 },
|
shadowOffset: { width: 0, height: 2 },
|
||||||
shadowOpacity: 0.2,
|
shadowOpacity: 0.2,
|
||||||
shadowRadius: 3,
|
shadowRadius: 3,
|
||||||
elevation: 3
|
elevation: 3
|
||||||
},
|
},
|
||||||
coordinateTextInfo: {
|
coordinateTextInfo: {
|
||||||
flex: 1,
|
flex: 1,
|
||||||
marginRight: 15,
|
marginRight: 15,
|
||||||
fontFamily: "Minecraft"
|
fontFamily: "Minecraft"
|
||||||
},
|
},
|
||||||
coordinateListName: {
|
coordinateListName: {
|
||||||
color: "#FFD700",
|
color: "#FFD700",
|
||||||
fontSize: 18,
|
fontSize: 18,
|
||||||
fontWeight: "bold",
|
fontWeight: "bold",
|
||||||
marginBottom: 5,
|
marginBottom: 5,
|
||||||
fontFamily: "Minecraft"
|
fontFamily: "Minecraft"
|
||||||
},
|
},
|
||||||
coordinateListValues: {
|
coordinateListValues: {
|
||||||
color: "#ADD8E6",
|
color: "#ADD8E6",
|
||||||
fontSize: 16
|
fontSize: 16
|
||||||
},
|
},
|
||||||
removeCoordinateButton: {
|
removeCoordinateButton: {
|
||||||
backgroundColor: "#FF5252",
|
backgroundColor: "#FF5252",
|
||||||
width: 35,
|
width: 35,
|
||||||
height: 35,
|
height: 35,
|
||||||
borderRadius: 17.5,
|
borderRadius: 17.5,
|
||||||
justifyContent: "center",
|
justifyContent: "center",
|
||||||
alignItems: "center"
|
alignItems: "center"
|
||||||
},
|
},
|
||||||
removeCoordinateButtonText: {
|
removeCoordinateButtonText: {
|
||||||
color: "#fff",
|
color: "#fff",
|
||||||
fontSize: 18,
|
fontSize: 18,
|
||||||
fontWeight: "bold",
|
fontWeight: "bold",
|
||||||
fontFamily: "Minecraft"
|
fontFamily: "Minecraft"
|
||||||
},
|
},
|
||||||
|
|
||||||
// MOTD
|
// MOTD
|
||||||
|
@ -370,36 +370,37 @@ export const styles = StyleSheet.create({
|
||||||
borderWidth: 1
|
borderWidth: 1
|
||||||
},
|
},
|
||||||
sectionTitle: {
|
sectionTitle: {
|
||||||
fontSize: 20,
|
fontSize: 20,
|
||||||
fontWeight: "bold",
|
fontWeight: "bold",
|
||||||
color: "#fff",
|
color: "#fff",
|
||||||
marginBottom: 10,
|
marginBottom: 10,
|
||||||
marginTop: 15
|
marginTop: 15
|
||||||
},
|
},
|
||||||
buttonRow: {
|
buttonRow: {
|
||||||
flexDirection: "row",
|
flexDirection: "row",
|
||||||
flexWrap: "wrap",
|
flexWrap: "wrap",
|
||||||
justifyContent: "center",
|
justifyContent: "center",
|
||||||
marginBottom: 15
|
marginBottom: 15
|
||||||
},
|
},
|
||||||
colorButton: {
|
colorButton: {
|
||||||
backgroundColor: "#1e88e5",
|
backgroundColor: "#1e88e5",
|
||||||
paddingVertical: 8,
|
paddingVertical: 8,
|
||||||
paddingHorizontal: 12,
|
paddingHorizontal: 12,
|
||||||
borderRadius: 5,
|
borderRadius: 5,
|
||||||
margin: 5
|
margin: 5
|
||||||
},
|
},
|
||||||
formatButton: {
|
formatButton: {
|
||||||
backgroundColor: "#ffb300",
|
backgroundColor: "#ffb300",
|
||||||
paddingVertical: 8,
|
paddingVertical: 8,
|
||||||
paddingHorizontal: 12,
|
paddingHorizontal: 12,
|
||||||
borderRadius: 5,
|
borderRadius: 5,
|
||||||
margin: 5
|
margin: 5
|
||||||
},
|
},
|
||||||
buttonText: {
|
buttonText: {
|
||||||
color: "#fff",
|
color: "#fff",
|
||||||
fontWeight: "bold",
|
fontWeight: "bold",
|
||||||
fontSize: 14
|
fontSize: 14,
|
||||||
|
fontFamily: "Minecraft"
|
||||||
},
|
},
|
||||||
previewContainer: {
|
previewContainer: {
|
||||||
backgroundColor: "#000",
|
backgroundColor: "#000",
|
||||||
|
@ -415,52 +416,52 @@ export const styles = StyleSheet.create({
|
||||||
fontSize: 18,
|
fontSize: 18,
|
||||||
},
|
},
|
||||||
saveButton: {
|
saveButton: {
|
||||||
backgroundColor: "#4CAF50",
|
backgroundColor: "#4CAF50",
|
||||||
paddingVertical: 15,
|
paddingVertical: 15,
|
||||||
borderRadius: 10,
|
borderRadius: 10,
|
||||||
alignItems: "center",
|
alignItems: "center",
|
||||||
marginBottom: 20
|
marginBottom: 20
|
||||||
},
|
},
|
||||||
saveButtonText: {
|
saveButtonText: {
|
||||||
color: "#fff",
|
color: "#fff",
|
||||||
fontSize: 18,
|
fontSize: 18,
|
||||||
fontWeight: "bold"
|
fontWeight: "bold"
|
||||||
},
|
},
|
||||||
noMotdsText: {
|
noMotdsText: {
|
||||||
color: "#ccc",
|
color: "#ccc",
|
||||||
textAlign: "center",
|
textAlign: "center",
|
||||||
fontStyle: "italic",
|
fontStyle: "italic",
|
||||||
marginTop: 10
|
marginTop: 10
|
||||||
},
|
},
|
||||||
savedMotdsContainer: {
|
savedMotdsContainer: {
|
||||||
backgroundColor: "rgba(255, 255, 255, 0.1)",
|
backgroundColor: "rgba(255, 255, 255, 0.1)",
|
||||||
borderRadius: 10,
|
borderRadius: 10,
|
||||||
padding: 10
|
padding: 10
|
||||||
},
|
},
|
||||||
savedMotdItem: {
|
savedMotdItem: {
|
||||||
flexDirection: "row",
|
flexDirection: "row",
|
||||||
justifyContent: "space-between",
|
justifyContent: "space-between",
|
||||||
alignItems: "center",
|
alignItems: "center",
|
||||||
backgroundColor: "rgba(0, 0, 0, 0.4)",
|
backgroundColor: "rgba(0, 0, 0, 0.4)",
|
||||||
padding: 10,
|
padding: 10,
|
||||||
borderRadius: 8,
|
borderRadius: 8,
|
||||||
marginBottom: 8,
|
marginBottom: 8,
|
||||||
borderWidth: 1,
|
borderWidth: 1,
|
||||||
borderColor: "#333"
|
borderColor: "#333"
|
||||||
},
|
},
|
||||||
savedMotdText: {
|
savedMotdText: {
|
||||||
color: "#eee",
|
color: "#eee",
|
||||||
fontSize: 16,
|
fontSize: 16,
|
||||||
flexShrink: 1
|
flexShrink: 1
|
||||||
},
|
},
|
||||||
deleteButton: {
|
deleteButton: {
|
||||||
backgroundColor: "#e53935",
|
backgroundColor: "#e53935",
|
||||||
paddingVertical: 5,
|
paddingVertical: 5,
|
||||||
paddingHorizontal: 10,
|
paddingHorizontal: 10,
|
||||||
borderRadius: 5
|
borderRadius: 5
|
||||||
},
|
},
|
||||||
deleteButtonText: {
|
deleteButtonText: {
|
||||||
color: "#fff",
|
color: "#fff",
|
||||||
fontWeight: "bold"
|
fontWeight: "bold"
|
||||||
}
|
}
|
||||||
});
|
});
|
Loading…
Add table
Reference in a new issue