diff --git a/fe1-web/src/features/evoting/components/ElectionVersionNotice.tsx b/fe1-web/src/features/evoting/components/ElectionVersionNotice.tsx index dbd7ef2843..d8c2cfe887 100644 --- a/fe1-web/src/features/evoting/components/ElectionVersionNotice.tsx +++ b/fe1-web/src/features/evoting/components/ElectionVersionNotice.tsx @@ -12,11 +12,11 @@ const styles = StyleSheet.create({ info: { padding: Spacing.x1, marginBottom: Spacing.x1, - borderRadius: Border.radius, flexDirection: 'row', alignItems: 'center', - backgroundColor: Color.info, + backgroundColor: Color.contrast, + borderRadius: Border.radius, } as ViewStyle, infoText: { flex: 1, @@ -29,28 +29,20 @@ const ElectionVersionNotice = ({ election }: IPropTypes) => { case ElectionVersion.OPEN_BALLOT: return ( - + - - {STRINGS.general_notice} - - - {STRINGS.election_warning_open_ballot} - + {STRINGS.general_notice} + {STRINGS.election_warning_open_ballot} ); case ElectionVersion.SECRET_BALLOT: return ( - + - - {STRINGS.general_notice} - - - {STRINGS.election_info_secret_ballot} - + {STRINGS.general_notice} + {STRINGS.election_info_secret_ballot} ); diff --git a/fe1-web/src/features/evoting/screens/__tests__/__snapshots__/ViewSingleElection.test.tsx.snap b/fe1-web/src/features/evoting/screens/__tests__/__snapshots__/ViewSingleElection.test.tsx.snap index 53d01e9d06..d5c6521af8 100644 --- a/fe1-web/src/features/evoting/screens/__tests__/__snapshots__/ViewSingleElection.test.tsx.snap +++ b/fe1-web/src/features/evoting/screens/__tests__/__snapshots__/ViewSingleElection.test.tsx.snap @@ -3417,7 +3417,7 @@ exports[`ViewSingleElection renders correctly non organizers opened election 1`] style={ { "alignItems": "center", - "backgroundColor": "#3498db", + "backgroundColor": "#fff", "borderRadius": 8, "flexDirection": "row", "marginBottom": 16, @@ -3426,7 +3426,7 @@ exports[`ViewSingleElection renders correctly non organizers opened election 1`] } > - {"name":"ios-information-circle-outline","size":50,"color":"#fff"} + {"name":"ios-information-circle-outline","size":50,"color":"#000"} @@ -3458,17 +3455,12 @@ exports[`ViewSingleElection renders correctly non organizers opened election 1`] This is an open ballot election, your cast votes will be visible to all members of the LAO. @@ -9909,7 +9901,7 @@ exports[`ViewSingleElection renders correctly organizers opened election 1`] = ` style={ { "alignItems": "center", - "backgroundColor": "#3498db", + "backgroundColor": "#fff", "borderRadius": 8, "flexDirection": "row", "marginBottom": 16, @@ -9918,7 +9910,7 @@ exports[`ViewSingleElection renders correctly organizers opened election 1`] = ` } > - {"name":"ios-information-circle-outline","size":50,"color":"#fff"} + {"name":"ios-information-circle-outline","size":50,"color":"#000"} @@ -9950,17 +9939,12 @@ exports[`ViewSingleElection renders correctly organizers opened election 1`] = ` This is an open ballot election, your cast votes will be visible to all members of the LAO.