chore: Linting

Signed-off-by: SindreKjelsrud <sindre@kjelsrud.dev>
This commit is contained in:
Sid 2025-07-05 18:36:27 +02:00
parent c9c7e5c7ee
commit d1cadc85a6
Signed by: sidski
GPG key ID: D2BBDF3EDE6BA9A6

View file

@ -60,12 +60,12 @@ export const styles = StyleSheet.create({
alignSelf: "flex-start"
},
backButtonText: {
color: "#fff",
fontSize: 16,
fontWeight: "bold",
fontFamily: "Minecraft"
color: "#fff",
fontSize: 16,
fontWeight: "bold",
fontFamily: "Minecraft"
},
// --- Nether Portal Calculator ---
converterScreenRoot: {
flex: 1,
@ -249,111 +249,111 @@ export const styles = StyleSheet.create({
// --- Saved Coordinates ---
coordinateInputSection: {
flexDirection: "column",
backgroundColor: "rgba(30,30,30,0.8)",
borderRadius: 10,
padding: 15,
marginBottom: 20,
shadowColor: "#000",
shadowOffset: { width: 0, height: 4 },
shadowOpacity: 0.3,
shadowRadius: 5,
elevation: 8
flexDirection: "column",
backgroundColor: "rgba(30,30,30,0.8)",
borderRadius: 10,
padding: 15,
marginBottom: 20,
shadowColor: "#000",
shadowOffset: { width: 0, height: 4 },
shadowOpacity: 0.3,
shadowRadius: 5,
elevation: 8
},
coordinateInputField: {
flex: 1,
backgroundColor: "#444",
color: "#eee",
padding: 12,
borderRadius: 8,
fontSize: 16,
marginBottom: 10,
height: 50,
fontFamily: "Minecraft"
flex: 1,
backgroundColor: "#444",
color: "#eee",
padding: 12,
borderRadius: 8,
fontSize: 16,
marginBottom: 10,
height: 50,
fontFamily: "Minecraft"
},
coordinateValuesInputRow: {
flexDirection: "row",
justifyContent: "space-between",
marginBottom: 10
flexDirection: "row",
justifyContent: "space-between",
marginBottom: 10
},
coordinateValueInput: {
flex: 1,
backgroundColor: "#444",
color: "#eee",
padding: 12,
borderRadius: 8,
fontSize: 16,
marginHorizontal: 5,
height: 50,
fontFamily: "Minecraft"
flex: 1,
backgroundColor: "#444",
color: "#eee",
padding: 12,
borderRadius: 8,
fontSize: 16,
marginHorizontal: 5,
height: 50,
fontFamily: "Minecraft"
},
addCoordinateButton: {
backgroundColor: "#2196F3",
padding: 15,
borderRadius: 8,
alignItems: "center",
justifyContent: "center"
backgroundColor: "#2196F3",
padding: 15,
borderRadius: 8,
alignItems: "center",
justifyContent: "center"
},
addCoordinateButtonText: {
color: "#fff",
fontSize: 18,
fontWeight: "bold",
fontFamily: "Minecraft"
color: "#fff",
fontSize: 18,
fontWeight: "bold",
fontFamily: "Minecraft"
},
savedCoordinatesListContainer: {
backgroundColor: "rgba(30,30,30,0.8)",
borderRadius: 10,
padding: 15,
minHeight: 100,
shadowColor: "#000",
shadowOffset: { width: 0, height: 4 },
shadowOpacity: 0.3,
shadowRadius: 5,
elevation: 8
backgroundColor: "rgba(30,30,30,0.8)",
borderRadius: 10,
padding: 15,
minHeight: 100,
shadowColor: "#000",
shadowOffset: { width: 0, height: 4 },
shadowOpacity: 0.3,
shadowRadius: 5,
elevation: 8
},
coordinateListItem: {
flexDirection: "row",
justifyContent: "space-between",
alignItems: "center",
backgroundColor: "#555",
borderRadius: 8,
padding: 15,
marginBottom: 10,
shadowColor: "#000",
shadowOffset: { width: 0, height: 2 },
shadowOpacity: 0.2,
shadowRadius: 3,
elevation: 3
flexDirection: "row",
justifyContent: "space-between",
alignItems: "center",
backgroundColor: "#555",
borderRadius: 8,
padding: 15,
marginBottom: 10,
shadowColor: "#000",
shadowOffset: { width: 0, height: 2 },
shadowOpacity: 0.2,
shadowRadius: 3,
elevation: 3
},
coordinateTextInfo: {
flex: 1,
marginRight: 15,
fontFamily: "Minecraft"
flex: 1,
marginRight: 15,
fontFamily: "Minecraft"
},
coordinateListName: {
color: "#FFD700",
fontSize: 18,
fontWeight: "bold",
marginBottom: 5,
fontFamily: "Minecraft"
color: "#FFD700",
fontSize: 18,
fontWeight: "bold",
marginBottom: 5,
fontFamily: "Minecraft"
},
coordinateListValues: {
color: "#ADD8E6",
fontSize: 16
color: "#ADD8E6",
fontSize: 16
},
removeCoordinateButton: {
backgroundColor: "#FF5252",
width: 35,
height: 35,
borderRadius: 17.5,
justifyContent: "center",
alignItems: "center"
backgroundColor: "#FF5252",
width: 35,
height: 35,
borderRadius: 17.5,
justifyContent: "center",
alignItems: "center"
},
removeCoordinateButtonText: {
color: "#fff",
fontSize: 18,
fontWeight: "bold",
fontFamily: "Minecraft"
color: "#fff",
fontSize: 18,
fontWeight: "bold",
fontFamily: "Minecraft"
},
// MOTD
@ -370,36 +370,37 @@ export const styles = StyleSheet.create({
borderWidth: 1
},
sectionTitle: {
fontSize: 20,
fontWeight: "bold",
color: "#fff",
marginBottom: 10,
marginTop: 15
fontSize: 20,
fontWeight: "bold",
color: "#fff",
marginBottom: 10,
marginTop: 15
},
buttonRow: {
flexDirection: "row",
flexWrap: "wrap",
justifyContent: "center",
marginBottom: 15
flexDirection: "row",
flexWrap: "wrap",
justifyContent: "center",
marginBottom: 15
},
colorButton: {
backgroundColor: "#1e88e5",
paddingVertical: 8,
paddingHorizontal: 12,
borderRadius: 5,
margin: 5
backgroundColor: "#1e88e5",
paddingVertical: 8,
paddingHorizontal: 12,
borderRadius: 5,
margin: 5
},
formatButton: {
backgroundColor: "#ffb300",
paddingVertical: 8,
paddingHorizontal: 12,
borderRadius: 5,
margin: 5
backgroundColor: "#ffb300",
paddingVertical: 8,
paddingHorizontal: 12,
borderRadius: 5,
margin: 5
},
buttonText: {
color: "#fff",
fontWeight: "bold",
fontSize: 14
color: "#fff",
fontWeight: "bold",
fontSize: 14,
fontFamily: "Minecraft"
},
previewContainer: {
backgroundColor: "#000",
@ -415,52 +416,52 @@ export const styles = StyleSheet.create({
fontSize: 18,
},
saveButton: {
backgroundColor: "#4CAF50",
paddingVertical: 15,
borderRadius: 10,
alignItems: "center",
marginBottom: 20
backgroundColor: "#4CAF50",
paddingVertical: 15,
borderRadius: 10,
alignItems: "center",
marginBottom: 20
},
saveButtonText: {
color: "#fff",
fontSize: 18,
fontWeight: "bold"
color: "#fff",
fontSize: 18,
fontWeight: "bold"
},
noMotdsText: {
color: "#ccc",
textAlign: "center",
fontStyle: "italic",
marginTop: 10
color: "#ccc",
textAlign: "center",
fontStyle: "italic",
marginTop: 10
},
savedMotdsContainer: {
backgroundColor: "rgba(255, 255, 255, 0.1)",
borderRadius: 10,
padding: 10
backgroundColor: "rgba(255, 255, 255, 0.1)",
borderRadius: 10,
padding: 10
},
savedMotdItem: {
flexDirection: "row",
justifyContent: "space-between",
alignItems: "center",
backgroundColor: "rgba(0, 0, 0, 0.4)",
padding: 10,
borderRadius: 8,
marginBottom: 8,
borderWidth: 1,
borderColor: "#333"
flexDirection: "row",
justifyContent: "space-between",
alignItems: "center",
backgroundColor: "rgba(0, 0, 0, 0.4)",
padding: 10,
borderRadius: 8,
marginBottom: 8,
borderWidth: 1,
borderColor: "#333"
},
savedMotdText: {
color: "#eee",
fontSize: 16,
flexShrink: 1
color: "#eee",
fontSize: 16,
flexShrink: 1
},
deleteButton: {
backgroundColor: "#e53935",
paddingVertical: 5,
paddingHorizontal: 10,
borderRadius: 5
backgroundColor: "#e53935",
paddingVertical: 5,
paddingHorizontal: 10,
borderRadius: 5
},
deleteButtonText: {
color: "#fff",
fontWeight: "bold"
color: "#fff",
fontWeight: "bold"
}
});