diff --git a/assets/icons/CatalogSelectedIcon.tsx b/assets/icons/CatalogSelectedIcon.tsx
index 0f06e519e..ce465bb4b 100644
--- a/assets/icons/CatalogSelectedIcon.tsx
+++ b/assets/icons/CatalogSelectedIcon.tsx
@@ -1,6 +1,7 @@
/* eslint-disable max-len */
import Svg, { Path, Circle } from 'react-native-svg';
import { ICON } from '../../src/styles/metrics';
+import { COPPER } from '../../src/styles/colors';
type CatalogSelectedIconProps = {
style?: object,
@@ -9,9 +10,9 @@ type CatalogSelectedIconProps = {
const CatalogSelectedIcon = ({ style, size = ICON.MD }: CatalogSelectedIconProps) => (
);
diff --git a/assets/icons/LearnerCoursesSelectedIcon.tsx b/assets/icons/LearnerCoursesSelectedIcon.tsx
index 82ba990d9..1a1797b35 100644
--- a/assets/icons/LearnerCoursesSelectedIcon.tsx
+++ b/assets/icons/LearnerCoursesSelectedIcon.tsx
@@ -1,6 +1,8 @@
/* eslint-disable max-len */
import Svg, { Path, Rect } from 'react-native-svg';
import { ICON } from '../../src/styles/metrics';
+import { COPPER } from '../../src/styles/colors';
+
type LeanerCoursesSelectedIconProps = {
style?: object,
@@ -9,9 +11,9 @@ type LeanerCoursesSelectedIconProps = {
const LeanerCoursesSelectedIcon = ({ style, size = ICON.MD }: LeanerCoursesSelectedIconProps) => (
);
diff --git a/assets/icons/ProfileSelectedIcon.tsx b/assets/icons/ProfileSelectedIcon.tsx
index fac52ccfc..431ab5da5 100644
--- a/assets/icons/ProfileSelectedIcon.tsx
+++ b/assets/icons/ProfileSelectedIcon.tsx
@@ -1,6 +1,7 @@
/* eslint-disable max-len */
import Svg, { Circle, Path } from 'react-native-svg';
import { ICON } from '../../src/styles/metrics';
+import { COPPER } from '../../src/styles/colors';
type ProfileSelectedIconProps = {
style?: object,
@@ -9,10 +10,10 @@ type ProfileSelectedIconProps = {
const ProfileSelectedIcon = ({ style, size = ICON.MD }: ProfileSelectedIconProps) => (
);
diff --git a/assets/icons/TrainerCoursesSelectedIcon.tsx b/assets/icons/TrainerCoursesSelectedIcon.tsx
index ffbd53d85..9f4692ddd 100644
--- a/assets/icons/TrainerCoursesSelectedIcon.tsx
+++ b/assets/icons/TrainerCoursesSelectedIcon.tsx
@@ -1,6 +1,7 @@
/* eslint-disable max-len */
import Svg, { Ellipse, Path, Rect } from 'react-native-svg';
import { ICON } from '../../src/styles/metrics';
+import { COPPER } from '../../src/styles/colors';
type TrainerCoursesSelectedIconProps = {
style?: object,
@@ -9,9 +10,9 @@ type TrainerCoursesSelectedIconProps = {
const TrainerCoursesSelectedIcon = ({ style, size = ICON.MD }: TrainerCoursesSelectedIconProps) => (
);
diff --git a/assets/images/aux_detective.webp b/assets/images/aux_detective.webp
index 82d89d91f..ed4b90afe 100644
Binary files a/assets/images/aux_detective.webp and b/assets/images/aux_detective.webp differ
diff --git a/assets/images/aux_fierte.webp b/assets/images/aux_fierte.webp
index 09ca1786e..a540ed150 100644
Binary files a/assets/images/aux_fierte.webp and b/assets/images/aux_fierte.webp differ
diff --git a/assets/images/aux_joie.webp b/assets/images/aux_joie.webp
index 2e049ac29..3ad2a2797 100644
Binary files a/assets/images/aux_joie.webp and b/assets/images/aux_joie.webp differ
diff --git a/assets/images/copper_section_background.webp b/assets/images/copper_section_background.webp
new file mode 100644
index 000000000..dbade89c8
Binary files /dev/null and b/assets/images/copper_section_background.webp differ
diff --git a/assets/images/doc-tableau-blanc.webp b/assets/images/doc-tableau-blanc.webp
index 9af4f0638..7f453e683 100644
Binary files a/assets/images/doc-tableau-blanc.webp and b/assets/images/doc-tableau-blanc.webp differ
diff --git a/assets/images/doct_liste.webp b/assets/images/doct_liste.webp
index 19fccafdd..e68c8261c 100644
Binary files a/assets/images/doct_liste.webp and b/assets/images/doct_liste.webp differ
diff --git a/assets/images/pa_aidant_balade_bleu.webp b/assets/images/pa_aidant_balade_bleu.webp
index ceeb4df09..573e18eca 100644
Binary files a/assets/images/pa_aidant_balade_bleu.webp and b/assets/images/pa_aidant_balade_bleu.webp differ
diff --git a/assets/images/pa_aidant_balade_rose.webp b/assets/images/pa_aidant_balade_rose.webp
index 01e884e13..3a5a4b39b 100644
Binary files a/assets/images/pa_aidant_balade_rose.webp and b/assets/images/pa_aidant_balade_rose.webp differ
diff --git a/assets/images/pink_section_background.webp b/assets/images/pink_section_background.webp
deleted file mode 100644
index 4b7d4cece..000000000
Binary files a/assets/images/pink_section_background.webp and /dev/null differ
diff --git a/assets/images/profile_background.webp b/assets/images/profile_background.webp
index 89de7b134..1a7bdcd4d 100644
Binary files a/assets/images/profile_background.webp and b/assets/images/profile_background.webp differ
diff --git a/assets/images/start_card_background.webp b/assets/images/start_card_background.webp
index ac50c30b4..c0abec21b 100644
Binary files a/assets/images/start_card_background.webp and b/assets/images/start_card_background.webp differ
diff --git a/src/components/ArrowButton/index.tsx b/src/components/ArrowButton/index.tsx
index abab85dd8..7f94ee4e0 100644
--- a/src/components/ArrowButton/index.tsx
+++ b/src/components/ArrowButton/index.tsx
@@ -1,7 +1,7 @@
import { ICON } from '../../styles/metrics';
import commonStyle from '../../styles/common';
import FeatherButton from '../icons/FeatherButton';
-import { PINK } from '../../styles/colors';
+import { COPPER } from '../../styles/colors';
import { LEFT, RIGHT } from '../../core/data/constants';
import styles from './styles';
@@ -12,7 +12,7 @@ interface ArrowButtonProps {
color?: string,
}
-const ArrowButton = ({ direction, onPress, disabled = false, color = PINK[500] }: ArrowButtonProps) => {
+const ArrowButton = ({ direction, onPress, disabled = false, color = COPPER[500] }: ArrowButtonProps) => {
const coloredStyle = styles({ borderColor: color });
return (
diff --git a/src/components/AttendanceEndScreen/index.tsx b/src/components/AttendanceEndScreen/index.tsx
index 01ee3676c..36c61ef02 100644
--- a/src/components/AttendanceEndScreen/index.tsx
+++ b/src/components/AttendanceEndScreen/index.tsx
@@ -5,7 +5,7 @@ import { useFocusEffect } from '@react-navigation/native';
import { useCallback } from 'react';
import { IS_WEB, TRAINER } from '../../core/data/constants';
import NiPrimaryButton from '../form/PrimaryButton';
-import { PINK } from '../../styles/colors';
+import { COPPER } from '../../styles/colors';
import { EDGES } from '../../styles/metrics';
import styles from './styles';
@@ -19,7 +19,7 @@ interface AttendanceEndScreenProps {
const renderFailMessage = (text: string) =>
{text}
-
+
Veuillez réitérer votre demande
;
diff --git a/src/components/AttendanceEndScreen/styles.ts b/src/components/AttendanceEndScreen/styles.ts
index 5fa09882f..b7956a2d6 100644
--- a/src/components/AttendanceEndScreen/styles.ts
+++ b/src/components/AttendanceEndScreen/styles.ts
@@ -1,7 +1,7 @@
import { StyleSheet } from 'react-native';
import { MARGIN } from '../../styles/metrics';
import { FIRA_SANS_BLACK, FIRA_SANS_BOLD } from '../../styles/fonts';
-import { GREY, PINK } from '../../styles/colors';
+import { GREY, COPPER } from '../../styles/colors';
const styles = StyleSheet.create({
safeArea: {
@@ -16,7 +16,7 @@ const styles = StyleSheet.create({
},
text: {
...FIRA_SANS_BLACK.MD,
- color: PINK[600],
+ color: COPPER[600],
marginVertical: MARGIN.LG,
textAlign: 'center',
},
diff --git a/src/components/CalendarIcon/index.tsx b/src/components/CalendarIcon/index.tsx
index ecc7ca31f..d8e904fa1 100644
--- a/src/components/CalendarIcon/index.tsx
+++ b/src/components/CalendarIcon/index.tsx
@@ -5,7 +5,7 @@ import CompaniDate from '../../core/helpers/dates/companiDates';
import { CourseModeType } from '../../types/CourseTypes';
import { capitalize } from '../../core/helpers/utils';
import { ICON } from '../../styles/metrics';
-import { PINK, PURPLE } from '../../styles/colors';
+import { COPPER, PURPLE } from '../../styles/colors';
import Shadow from '../design/Shadow';
import ProgressPieChart from '../ProgressPieChart';
import { TRAINER, DAY_OF_WEEK_SHORT, DAY_OF_MONTH, MONTH_SHORT, DAY } from '../../core/data/constants';
@@ -19,7 +19,7 @@ interface CalendarIconProps {
const CalendarIcon = ({ slots, progress = 0, mode }: CalendarIconProps) => {
const TODAY = CompaniDate();
- const style = styles(mode === TRAINER ? PURPLE[800] : PINK[500]);
+ const style = styles(mode === TRAINER ? PURPLE[800] : COPPER[500]);
const getNextSlot = useCallback(() => {
if (TODAY.isBefore(slots[0])) return slots[0];
@@ -40,7 +40,7 @@ const CalendarIcon = ({ slots, progress = 0, mode }: CalendarIconProps) => {
if (!progress) {
return (
-
);
diff --git a/src/components/ConfirmationModal/styles.ts b/src/components/ConfirmationModal/styles.ts
index ee33c04ff..9965a9098 100644
--- a/src/components/ConfirmationModal/styles.ts
+++ b/src/components/ConfirmationModal/styles.ts
@@ -1,5 +1,5 @@
import { StyleSheet } from 'react-native';
-import { WHITE, MODAL_BACKDROP_GREY, PINK, GREY } from '../../styles/colors';
+import { WHITE, MODAL_BACKDROP_GREY, COPPER, GREY } from '../../styles/colors';
import { BORDER_RADIUS, PADDING, MARGIN, BUTTON_HEIGHT } from '../../styles/metrics';
import { FIRA_SANS_BOLD, FIRA_SANS_REGULAR } from '../../styles/fonts';
@@ -34,7 +34,7 @@ const styles = StyleSheet.create({
justifyContent: 'flex-end',
},
buttonText: {
- color: PINK[500],
+ color: COPPER[500],
},
button: {
width: 80,
diff --git a/src/components/ContactInfoContainer/styles.ts b/src/components/ContactInfoContainer/styles.ts
index 4cfbb1b32..825d994f0 100644
--- a/src/components/ContactInfoContainer/styles.ts
+++ b/src/components/ContactInfoContainer/styles.ts
@@ -1,5 +1,5 @@
import { StyleSheet } from 'react-native';
-import { GREY, PINK } from '../../styles/colors';
+import { GREY, COPPER } from '../../styles/colors';
import { MARGIN } from '../../styles/metrics';
import { FIRA_SANS_REGULAR, FIRA_SANS_BOLD, FIRA_SANS_MEDIUM, FIRA_SANS_ITALIC } from '../../styles/fonts';
@@ -23,7 +23,7 @@ const styles = StyleSheet.create({
contactContent: {
flex: 1,
...FIRA_SANS_REGULAR.MD,
- color: PINK[500],
+ color: COPPER[500],
marginLeft: MARGIN.MD,
textDecorationLine: 'underline',
},
diff --git a/src/components/CourseAboutHeader/styles.ts b/src/components/CourseAboutHeader/styles.ts
index 6f42a8dd2..9f44782a7 100644
--- a/src/components/CourseAboutHeader/styles.ts
+++ b/src/components/CourseAboutHeader/styles.ts
@@ -1,5 +1,5 @@
import { StyleSheet } from 'react-native';
-import { PINK, WHITE } from '../../styles/colors';
+import { COPPER, WHITE } from '../../styles/colors';
import { MARGIN } from '../../styles/metrics';
import { FIRA_SANS_BLACK, NUNITO_SEMI } from '../../styles/fonts';
@@ -8,14 +8,14 @@ const styles = StyleSheet.create({
paddingTop: MARGIN.MD,
paddingHorizontal: MARGIN.MD,
paddingBottom: MARGIN.XL,
- backgroundColor: PINK[600],
+ backgroundColor: COPPER[600],
},
titleContainer: {
marginTop: MARGIN.LG,
},
screenTitle: {
...NUNITO_SEMI.MD,
- color: PINK[200],
+ color: COPPER[200],
},
courseTitle: {
...FIRA_SANS_BLACK.XL,
diff --git a/src/components/DeletionConfirmationModal/styles.ts b/src/components/DeletionConfirmationModal/styles.ts
index f04e76495..c9b98d97e 100644
--- a/src/components/DeletionConfirmationModal/styles.ts
+++ b/src/components/DeletionConfirmationModal/styles.ts
@@ -1,5 +1,5 @@
import { StyleSheet } from 'react-native';
-import { GREY, ORANGE, PINK } from '../../styles/colors';
+import { GREY, ORANGE, COPPER } from '../../styles/colors';
import { BORDER_RADIUS, IS_SMALL_SCREEN, MARGIN, PADDING } from '../../styles/metrics';
import { FIRA_SANS_BOLD, FIRA_SANS_REGULAR } from '../../styles/fonts';
@@ -40,7 +40,7 @@ const styles = StyleSheet.create({
},
button: {
...FIRA_SANS_REGULAR.MD,
- color: PINK[500],
+ color: COPPER[500],
},
});
diff --git a/src/components/ImagePickerManager/styles.ts b/src/components/ImagePickerManager/styles.ts
index 8414e8911..0d060dec9 100644
--- a/src/components/ImagePickerManager/styles.ts
+++ b/src/components/ImagePickerManager/styles.ts
@@ -1,5 +1,5 @@
import { StyleSheet } from 'react-native';
-import { PINK } from '../../styles/colors';
+import { COPPER } from '../../styles/colors';
import { FIRA_SANS_MEDIUM } from '../../styles/fonts';
import { MARGIN } from '../../styles/metrics';
@@ -10,7 +10,7 @@ const styles = StyleSheet.create({
},
text: {
...FIRA_SANS_MEDIUM.MD,
- color: PINK[500],
+ color: COPPER[500],
marginBottom: MARGIN.SM,
},
});
diff --git a/src/components/PasswordForm/styles.ts b/src/components/PasswordForm/styles.ts
index 68061c559..3fbbee108 100644
--- a/src/components/PasswordForm/styles.ts
+++ b/src/components/PasswordForm/styles.ts
@@ -1,7 +1,7 @@
import { StyleSheet } from 'react-native';
import { BORDER_RADIUS, MARGIN, PADDING } from '../../styles/metrics';
import { FIRA_SANS_BOLD, FIRA_SANS_REGULAR } from '../../styles/fonts';
-import { GREY, PINK } from '../../styles/colors';
+import { GREY, COPPER } from '../../styles/colors';
const styles = StyleSheet.create({
title: {
@@ -11,16 +11,16 @@ const styles = StyleSheet.create({
},
email: {
...FIRA_SANS_REGULAR.MD,
- color: PINK[600],
+ color: COPPER[600],
marginVertical: MARGIN.MD,
padding: PADDING.MD,
textAlign: 'center',
- backgroundColor: PINK[100],
+ backgroundColor: COPPER[100],
borderRadius: BORDER_RADIUS.LG,
},
bold: {
...FIRA_SANS_BOLD.MD,
- color: PINK[600],
+ color: COPPER[600],
},
keyboardAvoidingView: {
flex: 1,
diff --git a/src/components/PictureModal/index.tsx b/src/components/PictureModal/index.tsx
index 1256b6ade..a1ffca446 100644
--- a/src/components/PictureModal/index.tsx
+++ b/src/components/PictureModal/index.tsx
@@ -5,7 +5,7 @@ import NiModal from '../Modal';
import NiPrimaryButton from '../form/PrimaryButton';
import FeatherButton from '../icons/FeatherButton';
import { ICON } from '../../styles/metrics';
-import { PINK, WHITE } from '../../styles/colors';
+import { COPPER, WHITE } from '../../styles/colors';
import styles from './styles';
interface PictureModalProps {
@@ -78,15 +78,15 @@ const PictureModal = ({
return (
-
+ disabled={isLoading} bgColor={WHITE} color={COPPER[500]} />
+ disabled={isLoading} bgColor={WHITE} color={COPPER[500]} />
{canDelete &&
}
+ disabled={isLoading} bgColor={WHITE} color={COPPER[500]} loading={isLoading} />}
);
};
diff --git a/src/components/PictureModal/styles.ts b/src/components/PictureModal/styles.ts
index 683330b71..b6098d055 100644
--- a/src/components/PictureModal/styles.ts
+++ b/src/components/PictureModal/styles.ts
@@ -1,5 +1,5 @@
import { StyleSheet } from 'react-native';
-import { PINK } from '../../styles/colors';
+import { COPPER } from '../../styles/colors';
import { PADDING } from '../../styles/metrics';
import { FIRA_SANS_MEDIUM } from '../../styles/fonts';
@@ -10,7 +10,7 @@ const styles = StyleSheet.create({
},
buttonText: {
...FIRA_SANS_MEDIUM.MD,
- color: PINK[500],
+ color: COPPER[500],
},
loading: {
paddingHorizontal: PADDING.SM,
diff --git a/src/components/ProgramCell/styles.ts b/src/components/ProgramCell/styles.ts
index a101469b5..da66ee7c3 100644
--- a/src/components/ProgramCell/styles.ts
+++ b/src/components/ProgramCell/styles.ts
@@ -1,5 +1,5 @@
import { StyleSheet } from 'react-native';
-import { WHITE, TRANSPARENT_GREY, GREY, GREEN, PINK } from '../../styles/colors';
+import { WHITE, TRANSPARENT_GREY, GREY, GREEN, COPPER } from '../../styles/colors';
import { BORDER_RADIUS, PADDING, PROGRAM_CELL_WIDTH, BORDER_WIDTH, ICON, MARGIN } from '../../styles/metrics';
import { FIRA_SANS_REGULAR, FIRA_SANS_BOLD } from '../../styles/fonts';
@@ -46,7 +46,7 @@ const styles = StyleSheet.create({
theoreticalDuration: {
paddingLeft: PADDING.MD,
paddingBottom: PADDING.MD,
- color: PINK[500],
+ color: COPPER[500],
},
progressContainer: {
margin: MARGIN.SM,
diff --git a/src/components/ProgressPieChart/index.tsx b/src/components/ProgressPieChart/index.tsx
index bf0235161..8927fb829 100644
--- a/src/components/ProgressPieChart/index.tsx
+++ b/src/components/ProgressPieChart/index.tsx
@@ -3,7 +3,7 @@ import Feather from '@react-native-vector-icons/feather';
import ProgressCircle from './ProgressCircle';
import styles from './styles';
import { ICON } from '../../styles/metrics';
-import { PINK, WHITE } from '../../styles/colors';
+import { COPPER, WHITE } from '../../styles/colors';
interface ProgressPieChartProps {
progress: number | null,
@@ -13,7 +13,7 @@ const ProgressPieChart = ({ progress }: ProgressPieChartProps) => (
{!progress &&
-
+
}
{!!progress && progress < 1 &&
diff --git a/src/components/QuestionnaireQRCodeCell/styles.ts b/src/components/QuestionnaireQRCodeCell/styles.ts
index e6644d452..403c9b2e0 100644
--- a/src/components/QuestionnaireQRCodeCell/styles.ts
+++ b/src/components/QuestionnaireQRCodeCell/styles.ts
@@ -1,5 +1,5 @@
import { StyleSheet } from 'react-native';
-import { GREY, PINK } from '../../styles/colors';
+import { GREY, COPPER } from '../../styles/colors';
import { FIRA_SANS_REGULAR, NUNITO_LIGHT } from '../../styles/fonts';
import { BORDER_RADIUS, MARGIN, PADDING } from '../../styles/metrics';
@@ -25,7 +25,7 @@ const styles = StyleSheet.create({
link: {
flex: 1,
...FIRA_SANS_REGULAR.MD,
- color: PINK[500],
+ color: COPPER[500],
textDecorationLine: 'underline',
paddingTop: PADDING.LG,
textAlign: 'center',
diff --git a/src/components/UploadMethods/index.tsx b/src/components/UploadMethods/index.tsx
index 795dd4d0c..dbb61ac8f 100644
--- a/src/components/UploadMethods/index.tsx
+++ b/src/components/UploadMethods/index.tsx
@@ -3,7 +3,7 @@ import { Alert, BackHandler, View } from 'react-native';
import * as ImagePicker from 'expo-image-picker';
import { SafeAreaView } from 'react-native-safe-area-context';
import { useFocusEffect, useNavigation } from '@react-navigation/native';
-import { GREY, PINK } from '../../styles/colors';
+import { GREY, COPPER } from '../../styles/colors';
import {
INTER_B2B,
SINGLE,
@@ -133,12 +133,12 @@ const UploadMethods = ({
+ color={severalAttendanceSheetsToAdd || IS_WEB ? GREY[300] : COPPER[500]} />
+ color={severalAttendanceSheetsToAdd || IS_WEB ? GREY[300] : COPPER[500]} />
{ navigation.navigate(getSlotSelectionNextScreen())}
+ color={COPPER[500]} onPress={() => navigation.navigate(getSlotSelectionNextScreen())}
bgColor={GREY[100]} />}
{imagePickerManager && setImagePickerManager(false)}
diff --git a/src/components/UserAccountDeletedModal/styles.ts b/src/components/UserAccountDeletedModal/styles.ts
index 3db41be96..b9e045d91 100644
--- a/src/components/UserAccountDeletedModal/styles.ts
+++ b/src/components/UserAccountDeletedModal/styles.ts
@@ -1,5 +1,5 @@
import { StyleSheet } from 'react-native';
-import { GREY, PINK } from '../../styles/colors';
+import { GREY, COPPER } from '../../styles/colors';
import { MARGIN, PADDING } from '../../styles/metrics';
import { FIRA_SANS_BOLD, FIRA_SANS_REGULAR } from '../../styles/fonts';
@@ -32,7 +32,7 @@ const styles = StyleSheet.create({
},
button: {
...FIRA_SANS_REGULAR.MD,
- color: PINK[500],
+ color: COPPER[500],
},
});
diff --git a/src/components/cards/AnswerTextArea/styles.ts b/src/components/cards/AnswerTextArea/styles.ts
index 14d3282c1..9159f4664 100644
--- a/src/components/cards/AnswerTextArea/styles.ts
+++ b/src/components/cards/AnswerTextArea/styles.ts
@@ -1,5 +1,5 @@
import { StyleSheet } from 'react-native';
-import { GREY, PINK, TRANSPARENT_PINK, WHITE } from '../../../styles/colors';
+import { GREY, COPPER, TRANSPARENT_COPPER, WHITE } from '../../../styles/colors';
import { BORDER_RADIUS, BORDER_WIDTH, MARGIN, PADDING, TEXT_AREA_HEIGHT } from '../../../styles/metrics';
import { FIRA_SANS_MEDIUM } from '../../../styles/fonts';
@@ -13,7 +13,7 @@ const styles = (isSelected: boolean) => StyleSheet.create({
backgroundColor: WHITE,
borderRadius: BORDER_RADIUS.SM,
borderWidth: BORDER_WIDTH,
- borderColor: isSelected ? PINK[500] : GREY[200],
+ borderColor: isSelected ? COPPER[500] : GREY[200],
padding: PADDING.LG,
...FIRA_SANS_MEDIUM.MD,
color: GREY[900],
@@ -21,7 +21,7 @@ const styles = (isSelected: boolean) => StyleSheet.create({
flexGrow: 1,
},
shadow: {
- backgroundColor: isSelected ? TRANSPARENT_PINK : GREY[200],
+ backgroundColor: isSelected ? TRANSPARENT_COPPER : GREY[200],
top: isSelected ? -3 : 0,
bottom: -3,
right: isSelected ? -3 : 0,
diff --git a/src/components/cards/Audio/index.tsx b/src/components/cards/Audio/index.tsx
index 52e8316da..9ed23ef76 100644
--- a/src/components/cards/Audio/index.tsx
+++ b/src/components/cards/Audio/index.tsx
@@ -5,7 +5,7 @@ import Ionicons from '@react-native-vector-icons/ionicons';
import { useAudioPlayer, useAudioPlayerStatus } from 'expo-audio';
import { ICON, WEB_AUDIO_ICON_SIZE } from '../../../styles/metrics';
import IoniconsButton from '../../icons/IoniconsButton';
-import { GREY, PINK } from '../../../styles/colors';
+import { GREY, COPPER } from '../../../styles/colors';
import styles from './styles';
import { IS_WEB } from '../../../core/data/constants';
@@ -56,8 +56,8 @@ const NiAudio = ({ mediaSource }: NiAudioProps) => {
:
{renderPlayer(ICON.MD)}
{convertSeconds(Math.floor(status.currentTime))}
- player.seekTo(event)} />
{convertSeconds(Math.floor(status.duration) - Math.floor(status.currentTime))}
diff --git a/src/components/cards/Audio/styles.ts b/src/components/cards/Audio/styles.ts
index 77c63063f..368517e4c 100644
--- a/src/components/cards/Audio/styles.ts
+++ b/src/components/cards/Audio/styles.ts
@@ -1,5 +1,5 @@
import { StyleSheet } from 'react-native';
-import { GREY, PINK } from '../../../styles/colors';
+import { GREY, COPPER } from '../../../styles/colors';
import { PADDING, MARGIN, SCREEN_HEIGHT, WEB_AUDIO_ICON_SIZE } from '../../../styles/metrics';
import { FIRA_SANS_REGULAR } from '../../../styles/fonts';
@@ -27,7 +27,7 @@ const styles = StyleSheet.create({
webContainer: {
width: 'auto',
height: SCREEN_HEIGHT > 3 * WEB_AUDIO_ICON_SIZE ? SCREEN_HEIGHT / 3 : WEB_AUDIO_ICON_SIZE + (2 * PADDING.MD),
- backgroundColor: PINK[100],
+ backgroundColor: COPPER[100],
borderRadius: 10,
justifyContent: 'center',
alignItems: 'center',
diff --git a/src/components/cards/QuestionAnswerProposition/styles.ts b/src/components/cards/QuestionAnswerProposition/styles.ts
index 6ed29b345..d23a80773 100644
--- a/src/components/cards/QuestionAnswerProposition/styles.ts
+++ b/src/components/cards/QuestionAnswerProposition/styles.ts
@@ -1,6 +1,6 @@
import { StyleSheet } from 'react-native';
import { MARGIN, BORDER_WIDTH, BORDER_RADIUS, BUTTON_HEIGHT } from '../../../styles/metrics';
-import { WHITE, GREY, PINK } from '../../../styles/colors';
+import { WHITE, GREY, COPPER } from '../../../styles/colors';
import { FIRA_SANS_MEDIUM } from '../../../styles/fonts';
const styles = (isSelected: boolean) => StyleSheet.create({
@@ -12,7 +12,7 @@ const styles = (isSelected: boolean) => StyleSheet.create({
minHeight: BUTTON_HEIGHT,
borderWidth: BORDER_WIDTH,
backgroundColor: WHITE,
- borderColor: isSelected ? PINK[500] : GREY[200],
+ borderColor: isSelected ? COPPER[500] : GREY[200],
borderRadius: BORDER_RADIUS.MD,
alignItems: 'center',
@@ -29,7 +29,7 @@ const styles = (isSelected: boolean) => StyleSheet.create({
marginHorizontal: MARGIN.MD,
},
shadow: {
- backgroundColor: isSelected ? PINK[500] : GREY[200],
+ backgroundColor: isSelected ? COPPER[500] : GREY[200],
borderRadius: BORDER_RADIUS.LG,
},
});
diff --git a/src/components/cards/QuizProposition/index.tsx b/src/components/cards/QuizProposition/index.tsx
index e9594d1e3..9bb21fcd8 100644
--- a/src/components/cards/QuizProposition/index.tsx
+++ b/src/components/cards/QuizProposition/index.tsx
@@ -1,6 +1,6 @@
import { View, TouchableOpacity, Text } from 'react-native';
import Feather from '@react-native-vector-icons/feather';
-import { GREY, GREEN, ORANGE, PINK } from '../../../styles/colors';
+import { GREY, GREEN, ORANGE, COPPER } from '../../../styles/colors';
import Shadow from '../../design/Shadow';
import styles from './styles';
@@ -24,7 +24,7 @@ const QuizProposition = ({
const color = (() => {
if (isSelected && isGoodAnswer && isValidated) return GREEN[600];
if (isSelected && isValidated) return ORANGE[600];
- if (isSelected) return PINK[500];
+ if (isSelected) return COPPER[500];
return GREY[500];
})();
diff --git a/src/components/cards/SurveyScoreSelector/styles.ts b/src/components/cards/SurveyScoreSelector/styles.ts
index aba8f42bd..232cb7317 100644
--- a/src/components/cards/SurveyScoreSelector/styles.ts
+++ b/src/components/cards/SurveyScoreSelector/styles.ts
@@ -1,5 +1,5 @@
import { StyleSheet } from 'react-native';
-import { GREY, PINK, BLACK } from '../../../styles/colors';
+import { GREY, COPPER, BLACK } from '../../../styles/colors';
import { FIRA_SANS_REGULAR } from '../../../styles/fonts';
import { BORDER_WIDTH, ICON, PADDING } from '../../../styles/metrics';
@@ -36,9 +36,9 @@ const styles = StyleSheet.create({
height: ICON.XL,
width: ICON.XL,
borderRadius: ICON.XL / 2,
- backgroundColor: PINK[300],
+ backgroundColor: COPPER[300],
borderWidth: 2,
- borderColor: PINK[500],
+ borderColor: COPPER[500],
},
text: {
...FIRA_SANS_REGULAR.MD,
@@ -48,7 +48,7 @@ const styles = StyleSheet.create({
selectedText: {
...FIRA_SANS_REGULAR.XL,
textAlign: 'center',
- color: PINK[600],
+ color: COPPER[600],
},
});
diff --git a/src/components/companyLinkRequest/ValidationModal/styles.ts b/src/components/companyLinkRequest/ValidationModal/styles.ts
index 68bccd98d..f2577273a 100644
--- a/src/components/companyLinkRequest/ValidationModal/styles.ts
+++ b/src/components/companyLinkRequest/ValidationModal/styles.ts
@@ -1,5 +1,5 @@
import { StyleSheet } from 'react-native';
-import { GREY, PINK } from '../../../styles/colors';
+import { GREY, COPPER } from '../../../styles/colors';
import { MARGIN, BUTTON_HEIGHT, BORDER_WIDTH, BORDER_RADIUS, PADDING } from '../../../styles/metrics';
import { FIRA_SANS_BOLD, FIRA_SANS_REGULAR } from '../../../styles/fonts';
@@ -25,7 +25,7 @@ const styles = StyleSheet.create({
},
buttonText: {
...FIRA_SANS_REGULAR.MD,
- color: PINK[500],
+ color: COPPER[500],
},
button: {
height: BUTTON_HEIGHT,
diff --git a/src/components/form/Checkbox/index.tsx b/src/components/form/Checkbox/index.tsx
index a573f6d42..0df399634 100644
--- a/src/components/form/Checkbox/index.tsx
+++ b/src/components/form/Checkbox/index.tsx
@@ -1,6 +1,6 @@
import { Text, TouchableOpacity } from 'react-native';
import MaterialIcons from '@react-native-vector-icons/material-icons';
-import { GREY, PINK } from '../../../styles/colors';
+import { GREY, COPPER } from '../../../styles/colors';
import styles from './styles';
interface RenderItemProps {
@@ -11,7 +11,7 @@ interface RenderItemProps {
}
const getColors = (isChecked: boolean, disabled: boolean) => {
- if (isChecked) return { icon: disabled ? PINK[300] : PINK[500], text: disabled ? GREY[300] : GREY[600] };
+ if (isChecked) return { icon: disabled ? COPPER[300] : COPPER[500], text: disabled ? GREY[300] : GREY[600] };
return { icon: disabled ? GREY[300] : GREY[600], text: disabled ? GREY[300] : GREY[600] };
};
diff --git a/src/components/form/Input/styles.ts b/src/components/form/Input/styles.ts
index e68e2947f..f8c00f4f4 100644
--- a/src/components/form/Input/styles.ts
+++ b/src/components/form/Input/styles.ts
@@ -1,6 +1,6 @@
import { StyleSheet } from 'react-native';
import { BORDER_RADIUS, MARGIN, PADDING, INPUT_HEIGHT, BORDER_WIDTH } from '../../../styles/metrics';
-import { GREY, ORANGE, PINK, TRANSPARENT_PINK, WHITE } from '../../../styles/colors';
+import { GREY, ORANGE, COPPER, TRANSPARENT_COPPER, WHITE } from '../../../styles/colors';
import { FIRA_SANS_REGULAR, FIRA_SANS_MEDIUM, FIRA_SANS_ITALIC } from '../../../styles/fonts';
const styles = (isSelected: boolean, borderColor: string) => StyleSheet.create({
@@ -10,7 +10,7 @@ const styles = (isSelected: boolean, borderColor: string) => StyleSheet.create({
},
input: {
borderWidth: BORDER_WIDTH,
- borderColor: isSelected ? PINK[500] : borderColor,
+ borderColor: isSelected ? COPPER[500] : borderColor,
height: INPUT_HEIGHT,
alignItems: 'center',
borderRadius: BORDER_RADIUS.MD,
@@ -29,7 +29,7 @@ const styles = (isSelected: boolean, borderColor: string) => StyleSheet.create({
},
required: {
...FIRA_SANS_REGULAR.SM,
- color: PINK[500],
+ color: COPPER[500],
paddingHorizontal: PADDING.SM,
},
inputIcon: {
@@ -43,7 +43,7 @@ const styles = (isSelected: boolean, borderColor: string) => StyleSheet.create({
height: INPUT_HEIGHT,
},
shadow: {
- backgroundColor: TRANSPARENT_PINK,
+ backgroundColor: TRANSPARENT_COPPER,
top: -3,
bottom: -3,
right: -3,
diff --git a/src/components/form/PrimaryButton/index.tsx b/src/components/form/PrimaryButton/index.tsx
index 39776dfb5..f68e81ee1 100644
--- a/src/components/form/PrimaryButton/index.tsx
+++ b/src/components/form/PrimaryButton/index.tsx
@@ -1,5 +1,5 @@
import NiButton from '../Button';
-import { PINK, WHITE } from '../../../styles/colors';
+import { COPPER, WHITE } from '../../../styles/colors';
import { FontType } from '../../../types/FontType';
import { FIRA_SANS_BLACK } from '../../../styles/fonts';
import { FeatherType } from '../../../types/FeatherType';
@@ -21,7 +21,7 @@ const PrimaryButton = ({
caption,
onPress,
loading = false,
- bgColor = PINK[500],
+ bgColor = COPPER[500],
color = WHITE,
font = FIRA_SANS_BLACK.MD,
icon,
diff --git a/src/components/form/RadioButtonList/index.tsx b/src/components/form/RadioButtonList/index.tsx
index 59dfa6237..247537d7a 100644
--- a/src/components/form/RadioButtonList/index.tsx
+++ b/src/components/form/RadioButtonList/index.tsx
@@ -1,7 +1,7 @@
import { TouchableOpacity, Text } from 'react-native';
import MaterialIcons from '@react-native-vector-icons/material-icons';
import styles from './styles';
-import { GREY, PINK } from '../../../styles/colors';
+import { GREY, COPPER } from '../../../styles/colors';
import { DataOptionsType } from '../../../store/attendanceSheets/slice';
interface RadioButtonProps {
@@ -18,7 +18,7 @@ interface RenderItemProps {
const renderItem = ({ item, checkedRadioButton, onPressCheckbox }: RenderItemProps) => {
const iconName = checkedRadioButton === item.value ? 'radio-button-checked' : 'radio-button-unchecked';
- const iconColor = checkedRadioButton === item.value ? PINK[500] : GREY[600];
+ const iconColor = checkedRadioButton === item.value ? COPPER[500] : GREY[600];
const textStyle = checkedRadioButton === item.value ? styles.text : { ...styles.text, color: GREY[600] };
return (
diff --git a/src/components/steps/LiveInfoItem/styles.ts b/src/components/steps/LiveInfoItem/styles.ts
index 1497e0f48..f89b04955 100644
--- a/src/components/steps/LiveInfoItem/styles.ts
+++ b/src/components/steps/LiveInfoItem/styles.ts
@@ -1,6 +1,6 @@
import { StyleSheet } from 'react-native';
import { BORDER_WIDTH, MARGIN } from '../../../styles/metrics';
-import { GREY, PINK } from '../../../styles/colors';
+import { GREY, COPPER } from '../../../styles/colors';
import { NUNITO_SEMI, FIRA_SANS_REGULAR } from '../../../styles/fonts';
export default StyleSheet.create({
@@ -18,7 +18,7 @@ export default StyleSheet.create({
},
location: {
...FIRA_SANS_REGULAR.MD,
- color: PINK[600],
+ color: COPPER[600],
textDecorationLine: 'underline',
},
});
diff --git a/src/core/helpers/assets.ts b/src/core/helpers/assets.ts
index 1d9295181..0e70c43cb 100644
--- a/src/core/helpers/assets.ts
+++ b/src/core/helpers/assets.ts
@@ -28,7 +28,7 @@ const fetchAssets = async () => {
require('../../../assets/images/home_footer_ellipse.webp'),
require('../../../assets/images/pa_aidant_balade_bleu.webp'),
require('../../../assets/images/pa_aidant_balade_rose.webp'),
- require('../../../assets/images/pink_section_background.webp'),
+ require('../../../assets/images/copper_section_background.webp'),
require('../../../assets/images/profile_background.webp'),
require('../../../assets/images/purple_section_background.webp'),
require('../../../assets/images/start_card_background.webp'),
diff --git a/src/navigation/Home/styles.ts b/src/navigation/Home/styles.ts
index a148ebfbb..d23ed6c10 100644
--- a/src/navigation/Home/styles.ts
+++ b/src/navigation/Home/styles.ts
@@ -1,5 +1,5 @@
import { StyleSheet } from 'react-native';
-import { PINK, WHITE } from '../../styles/colors';
+import { COPPER, WHITE } from '../../styles/colors';
import { FIRA_SANS_BOLD } from '../../styles/fonts';
import { MARGIN, TAB_BAR_HEIGHT, TAB_BAR_LABEL_WIDTH } from '../../styles/metrics';
@@ -18,7 +18,7 @@ const styles = StyleSheet.create({
},
iconText: {
...FIRA_SANS_BOLD.SM,
- color: PINK[500],
+ color: COPPER[500],
textAlign: 'center',
},
});
diff --git a/src/screens/LoginCodeForm/styles.ts b/src/screens/LoginCodeForm/styles.ts
index 2096885db..1b9a4a140 100644
--- a/src/screens/LoginCodeForm/styles.ts
+++ b/src/screens/LoginCodeForm/styles.ts
@@ -1,5 +1,5 @@
import { StyleSheet } from 'react-native';
-import { GREY, PINK, WHITE } from '../../styles/colors';
+import { GREY, COPPER, WHITE } from '../../styles/colors';
import { BORDER_RADIUS, BORDER_WIDTH, MARGIN, PADDING } from '../../styles/metrics';
import { FIRA_SANS_REGULAR } from '../../styles/fonts';
@@ -50,7 +50,7 @@ export default StyleSheet.create({
},
required: {
...FIRA_SANS_REGULAR.SM,
- color: PINK[500],
+ color: COPPER[500],
paddingHorizontal: PADDING.SM,
},
input: {
diff --git a/src/screens/courses/cardTemplates/FillTheGapCard/index.tsx b/src/screens/courses/cardTemplates/FillTheGapCard/index.tsx
index 24f409adb..63717ac63 100644
--- a/src/screens/courses/cardTemplates/FillTheGapCard/index.tsx
+++ b/src/screens/courses/cardTemplates/FillTheGapCard/index.tsx
@@ -21,7 +21,7 @@ import {
useGetQuizzAnswer,
useIncGoodAnswersCount,
} from '../../../../store/cards/hooks';
-import { PINK, GREY, GREEN, ORANGE } from '../../../../styles/colors';
+import { COPPER, GREY, GREEN, ORANGE } from '../../../../styles/colors';
import { EDGES } from '../../../../styles/metrics';
import { FillTheGapType, footerColorsType, StoreAnswerType } from '../../../../types/CardType';
import styles from './styles';
@@ -89,7 +89,7 @@ const FillTheGapCard = ({ isLoading, setIsRightSwipeEnabled }: FillTheGap) => {
const [draggingId, setDraggingId] = useState(null);
const areGapsFilled = !!selectedAnswers.length && !selectedAnswers.filter(answer => answer === '').length;
const footerColors: footerColorsType = !isValidated
- ? { buttons: PINK[500], text: GREY[100], background: GREY[100] }
+ ? { buttons: COPPER[500], text: GREY[100], background: GREY[100] }
: isAnsweredCorrectly
? { buttons: GREEN[600], text: GREEN[600], background: GREEN[100] }
: { buttons: ORANGE[600], text: ORANGE[600], background: ORANGE[100] };
diff --git a/src/screens/courses/cardTemplates/FlashCard/styles.ts b/src/screens/courses/cardTemplates/FlashCard/styles.ts
index 12cfea231..cf04447d4 100644
--- a/src/screens/courses/cardTemplates/FlashCard/styles.ts
+++ b/src/screens/courses/cardTemplates/FlashCard/styles.ts
@@ -1,6 +1,6 @@
import { StyleSheet } from 'react-native';
import { FIRA_SANS_BOLD, NUNITO_LIGHT } from '../../../../styles/fonts';
-import { GREY, PINK, WHITE } from '../../../../styles/colors';
+import { GREY, COPPER, WHITE } from '../../../../styles/colors';
import {
BORDER_RADIUS,
BORDER_WIDTH,
@@ -53,11 +53,11 @@ const styles = (card: FlashCardType) => StyleSheet.create({
...IS_LARGE_SCREEN ? NUNITO_LIGHT.XXXL : NUNITO_LIGHT.XXL,
alignSelf: 'center',
position: 'absolute',
- color: PINK[100],
+ color: COPPER[100],
},
flipCardBack: {
- backgroundColor: PINK[400],
- borderColor: PINK[500],
+ backgroundColor: COPPER[400],
+ borderColor: COPPER[500],
position: 'absolute',
top: 0,
height: '100%',
@@ -72,7 +72,7 @@ const styles = (card: FlashCardType) => StyleSheet.create({
...IS_LARGE_SCREEN ? NUNITO_LIGHT.XXXL : NUNITO_LIGHT.XXL,
alignSelf: 'center',
position: 'absolute',
- color: PINK[500],
+ color: COPPER[500],
},
shadow: {
backgroundColor: GREY[200],
diff --git a/src/screens/courses/cardTemplates/MultipleChoiceQuestionCard/index.tsx b/src/screens/courses/cardTemplates/MultipleChoiceQuestionCard/index.tsx
index 4d0c40d04..b60968d11 100644
--- a/src/screens/courses/cardTemplates/MultipleChoiceQuestionCard/index.tsx
+++ b/src/screens/courses/cardTemplates/MultipleChoiceQuestionCard/index.tsx
@@ -15,7 +15,7 @@ import {
useGetQuizzAnswer,
useIncGoodAnswersCount,
} from '../../../../store/cards/hooks';
-import { GREEN, GREY, ORANGE, PINK } from '../../../../styles/colors';
+import { GREEN, GREY, ORANGE, COPPER } from '../../../../styles/colors';
import { EDGES } from '../../../../styles/metrics';
import cardsStyle from '../../../../styles/cards';
import { footerColorsType, MultipleChoiceQuestionType, StoreAnswerType } from '../../../../types/CardType';
@@ -36,7 +36,7 @@ const MultipleChoiceQuestionCard = ({ isLoading, setIsRightSwipeEnabled }: Multi
const [isValidated, setIsValidated] = useState(false);
const [isAnsweredCorrectly, setIsAnsweredCorrectly] = useState(false);
const footerColors: footerColorsType = !isValidated
- ? { buttons: PINK[500], text: GREY[100], background: GREY[100] }
+ ? { buttons: COPPER[500], text: GREY[100], background: GREY[100] }
: isAnsweredCorrectly
? { buttons: GREEN[600], text: GREEN[600], background: GREEN[100] }
: { buttons: ORANGE[600], text: ORANGE[600], background: ORANGE[100] };
diff --git a/src/screens/courses/cardTemplates/OpenQuestionCard/index.tsx b/src/screens/courses/cardTemplates/OpenQuestionCard/index.tsx
index a8a109dcb..d7c52aece 100644
--- a/src/screens/courses/cardTemplates/OpenQuestionCard/index.tsx
+++ b/src/screens/courses/cardTemplates/OpenQuestionCard/index.tsx
@@ -12,7 +12,7 @@ import {
useGetCardIndex,
useGetQuestionnaireAnswer,
} from '../../../../store/cards/hooks';
-import { GREY, PINK } from '../../../../styles/colors';
+import { GREY, COPPER } from '../../../../styles/colors';
import { EDGES, IS_LARGE_SCREEN, MARGIN } from '../../../../styles/metrics';
import { OpenQuestionType } from '../../../../types/CardType';
import styles from './styles';
@@ -66,8 +66,8 @@ const OpenQuestionCard = ({ isLoading, setIsRightSwipeEnabled }: OpenQuestionCar
- setIsSelected(false)} validateCard={validateQuestionnaireAnswer} />
);
diff --git a/src/screens/courses/cardTemplates/OrderTheSequenceCard/index.tsx b/src/screens/courses/cardTemplates/OrderTheSequenceCard/index.tsx
index 23800f993..d14c2a07d 100644
--- a/src/screens/courses/cardTemplates/OrderTheSequenceCard/index.tsx
+++ b/src/screens/courses/cardTemplates/OrderTheSequenceCard/index.tsx
@@ -16,7 +16,7 @@ import {
useIncGoodAnswersCount,
} from '../../../../store/cards/hooks';
import cardsStyle from '../../../../styles/cards';
-import { GREEN, GREY, ORANGE, PINK } from '../../../../styles/colors';
+import { GREEN, GREY, ORANGE, COPPER } from '../../../../styles/colors';
import { EDGES } from '../../../../styles/metrics';
import { footerColorsType, OrderTheSequenceType, AnswerPositionType } from '../../../../types/CardType';
import styles from './styles';
@@ -47,7 +47,7 @@ const OrderTheSequenceCard = ({ isLoading, setIsRightSwipeEnabled }: OrderTheSeq
[[-sumOtherHeightsList[2]], [-propsHeight[1], -propsHeight[0]], [0]],
];
const footerColors: footerColorsType = !isValidated
- ? { buttons: PINK[500], text: GREY[100], background: GREY[100] }
+ ? { buttons: COPPER[500], text: GREY[100], background: GREY[100] }
: isOrderedCorrectly
? { buttons: GREEN[600], text: GREEN[600], background: GREEN[100] }
: { buttons: ORANGE[600], text: ORANGE[600], background: ORANGE[100] };
diff --git a/src/screens/courses/cardTemplates/QuestionAnswerCard/index.tsx b/src/screens/courses/cardTemplates/QuestionAnswerCard/index.tsx
index f4979012b..1cf7db7f1 100644
--- a/src/screens/courses/cardTemplates/QuestionAnswerCard/index.tsx
+++ b/src/screens/courses/cardTemplates/QuestionAnswerCard/index.tsx
@@ -18,7 +18,7 @@ import {
import cardsStyle from '../../../../styles/cards';
import { EDGES, IS_LARGE_SCREEN, MARGIN } from '../../../../styles/metrics';
import { IS_IOS } from '../../../../core/data/constants';
-import { GREY, PINK } from '../../../../styles/colors';
+import { GREY, COPPER } from '../../../../styles/colors';
import styles from './styles';
interface QuestionAnswerCardProps {
@@ -117,8 +117,8 @@ const QuestionAnswerCard = ({ isLoading, setIsRightSwipeEnabled }: QuestionAnswe
-
diff --git a/src/screens/courses/cardTemplates/QuestionAnswerCard/styles.ts b/src/screens/courses/cardTemplates/QuestionAnswerCard/styles.ts
index f55cdfdd8..5fc4f3018 100644
--- a/src/screens/courses/cardTemplates/QuestionAnswerCard/styles.ts
+++ b/src/screens/courses/cardTemplates/QuestionAnswerCard/styles.ts
@@ -1,5 +1,5 @@
import { StyleSheet } from 'react-native';
-import { GREY, PINK, WHITE } from '../../../../styles/colors';
+import { GREY, COPPER, WHITE } from '../../../../styles/colors';
import { BORDER_RADIUS, BORDER_WIDTH, BUTTON_HEIGHT, MARGIN, PADDING } from '../../../../styles/metrics';
import { FIRA_SANS_MEDIUM } from '../../../../styles/fonts';
@@ -31,14 +31,14 @@ const styles = (isSelected: boolean) => StyleSheet.create({
minHeight: BUTTON_HEIGHT,
borderWidth: BORDER_WIDTH,
backgroundColor: WHITE,
- borderColor: isSelected ? PINK[500] : GREY[200],
+ borderColor: isSelected ? COPPER[500] : GREY[200],
borderRadius: BORDER_RADIUS.MD,
paddingHorizontal: PADDING.LG,
color: GREY[900],
width: '100%',
},
shadow: {
- backgroundColor: isSelected ? PINK[500] : GREY[200],
+ backgroundColor: isSelected ? COPPER[500] : GREY[200],
borderRadius: BORDER_RADIUS.LG,
},
});
diff --git a/src/screens/courses/cardTemplates/SingleChoiceQuestionCard/index.tsx b/src/screens/courses/cardTemplates/SingleChoiceQuestionCard/index.tsx
index 0d5d19047..891094256 100644
--- a/src/screens/courses/cardTemplates/SingleChoiceQuestionCard/index.tsx
+++ b/src/screens/courses/cardTemplates/SingleChoiceQuestionCard/index.tsx
@@ -15,7 +15,7 @@ import {
useIncGoodAnswersCount,
} from '../../../../store/cards/hooks';
import cardsStyle from '../../../../styles/cards';
-import { GREY, GREEN, ORANGE, PINK } from '../../../../styles/colors';
+import { GREY, GREEN, ORANGE, COPPER } from '../../../../styles/colors';
import { EDGES } from '../../../../styles/metrics';
import { footerColorsType, StoreAnswerType, SingleChoiceQuestionType } from '../../../../types/CardType';
import styles from './styles';
@@ -36,7 +36,7 @@ const SingleChoiceQuestionCard = ({ isLoading, setIsRightSwipeEnabled }: SingleC
const [answers, setAnswers] = useState([]);
const footerColors: footerColorsType = !isPressed
- ? { buttons: PINK[500], text: GREY[100], background: GREY[100] }
+ ? { buttons: COPPER[500], text: GREY[100], background: GREY[100] }
: isAnsweredCorrectly
? { buttons: GREEN[600], text: GREEN[600], background: GREEN[100] }
: { buttons: ORANGE[600], text: ORANGE[600], background: ORANGE[100] };
diff --git a/src/screens/courses/cardTemplates/StartCard/index.tsx b/src/screens/courses/cardTemplates/StartCard/index.tsx
index 069000088..7e49fd9d4 100644
--- a/src/screens/courses/cardTemplates/StartCard/index.tsx
+++ b/src/screens/courses/cardTemplates/StartCard/index.tsx
@@ -2,7 +2,7 @@ import { View, Text, Image, ImageBackground, ScrollView, ActivityIndicator } fro
import { useNavigation } from '@react-navigation/native';
import { SafeAreaView } from 'react-native-safe-area-context';
import NiPrimaryButton from '../../../../components/form/PrimaryButton';
-import { PINK, WHITE } from '../../../../styles/colors';
+import { COPPER, WHITE } from '../../../../styles/colors';
import { EDGES } from '../../../../styles/metrics';
import CardHeader from '../../../../components/cards/CardHeader';
import styles from './styles';
@@ -36,7 +36,7 @@ const StartCard = ({ title, isLoading, goBack, startTimer }: StartCardProps) =>
?
: {title}}
- {!isLoading && }
diff --git a/src/screens/courses/cardTemplates/StartCard/styles.ts b/src/screens/courses/cardTemplates/StartCard/styles.ts
index b2b204444..b8d56b687 100644
--- a/src/screens/courses/cardTemplates/StartCard/styles.ts
+++ b/src/screens/courses/cardTemplates/StartCard/styles.ts
@@ -1,12 +1,12 @@
import { StyleSheet } from 'react-native';
import { MARGIN } from '../../../../styles/metrics';
import { FIRA_SANS_BLACK } from '../../../../styles/fonts';
-import { PINK, WHITE } from '../../../../styles/colors';
+import { COPPER, WHITE } from '../../../../styles/colors';
const styles = StyleSheet.create({
safeArea: {
flex: 1,
- backgroundColor: PINK[500],
+ backgroundColor: COPPER[500],
},
contentContainer: {
flexGrow: 1,
diff --git a/src/screens/courses/cardTemplates/SurveyCard/index.tsx b/src/screens/courses/cardTemplates/SurveyCard/index.tsx
index b40975a38..e1e4d2689 100644
--- a/src/screens/courses/cardTemplates/SurveyCard/index.tsx
+++ b/src/screens/courses/cardTemplates/SurveyCard/index.tsx
@@ -11,7 +11,7 @@ import {
useGetQuestionnaireAnswer,
useRemoveQuestionnaireAnswer,
} from '../../../../store/cards/hooks';
-import { GREY, PINK } from '../../../../styles/colors';
+import { GREY, COPPER } from '../../../../styles/colors';
import { EDGES } from '../../../../styles/metrics';
import { SurveyType } from '../../../../types/CardType';
import styles from './styles';
@@ -65,8 +65,8 @@ const SurveyCard = ({ isLoading, setIsRightSwipeEnabled }: SurveyCardProps) => {
-
);
diff --git a/src/screens/courses/cardTemplates/SurveyCard/styles.ts b/src/screens/courses/cardTemplates/SurveyCard/styles.ts
index 874b9c6d4..5bc76d725 100644
--- a/src/screens/courses/cardTemplates/SurveyCard/styles.ts
+++ b/src/screens/courses/cardTemplates/SurveyCard/styles.ts
@@ -1,6 +1,6 @@
import { StyleSheet } from 'react-native';
import { FIRA_SANS_REGULAR } from '../../../../styles/fonts';
-import { GREY, PINK } from '../../../../styles/colors';
+import { GREY, COPPER } from '../../../../styles/colors';
import { MARGIN, PADDING } from '../../../../styles/metrics';
const styles = StyleSheet.create({
@@ -26,7 +26,7 @@ const styles = StyleSheet.create({
paddingHorizontal: PADDING.LG,
},
text: {
- color: PINK[500],
+ color: COPPER[500],
margin: MARGIN.XS,
},
});
diff --git a/src/screens/courses/cardTemplates/Transition/styles.ts b/src/screens/courses/cardTemplates/Transition/styles.ts
index 20535d079..a51bcf02e 100644
--- a/src/screens/courses/cardTemplates/Transition/styles.ts
+++ b/src/screens/courses/cardTemplates/Transition/styles.ts
@@ -1,12 +1,12 @@
import { StyleSheet } from 'react-native';
-import { PINK, WHITE } from '../../../../styles/colors';
+import { COPPER, WHITE } from '../../../../styles/colors';
import { MARGIN } from '../../../../styles/metrics';
import { NUNITO_REGULAR_BOLD_ITALIC } from '../../../../styles/fonts';
const styles = StyleSheet.create({
safeArea: {
flex: 1,
- backgroundColor: PINK[500],
+ backgroundColor: COPPER[500],
},
closeButton: {
margin: MARGIN.MD,
diff --git a/src/screens/courses/list/LearnerCourses/index.tsx b/src/screens/courses/list/LearnerCourses/index.tsx
index bc36ef519..5d9998e5d 100644
--- a/src/screens/courses/list/LearnerCourses/index.tsx
+++ b/src/screens/courses/list/LearnerCourses/index.tsx
@@ -153,7 +153,7 @@ const LearnerCourses = ({ navigation }: LearnerCoursesProps) => {
}
{!!courses.tutor.length &&
+ source={require('../../../../../assets/images/copper_section_background.webp')}>
diff --git a/src/screens/courses/list/styles.ts b/src/screens/courses/list/styles.ts
index a53d4e0a8..dbc870681 100644
--- a/src/screens/courses/list/styles.ts
+++ b/src/screens/courses/list/styles.ts
@@ -8,7 +8,7 @@ import {
SCREEN_WIDTH,
BACKGROUND_SPOT_WIDTH,
} from '../../../styles/metrics';
-import { GREEN, GREY, PINK, PURPLE, YELLOW, TRANSPARENT_GREY, WHITE } from '../../../styles/colors';
+import { GREEN, GREY, COPPER, PURPLE, YELLOW, TRANSPARENT_GREY, WHITE } from '../../../styles/colors';
import { FIRA_SANS_REGULAR, FIRA_SANS_BOLD } from '../../../styles/fonts';
const styles = StyleSheet.create({
@@ -40,8 +40,8 @@ const styles = StyleSheet.create({
},
pinkCount: {
...FIRA_SANS_REGULAR.SM,
- color: PINK[600],
- backgroundColor: PINK[200],
+ color: COPPER[600],
+ backgroundColor: COPPER[200],
},
rightBackground: {
resizeMode: 'contain',
diff --git a/src/screens/courses/profile/AdminCourseProfile/index.tsx b/src/screens/courses/profile/AdminCourseProfile/index.tsx
index 3084d6b60..65757fd83 100644
--- a/src/screens/courses/profile/AdminCourseProfile/index.tsx
+++ b/src/screens/courses/profile/AdminCourseProfile/index.tsx
@@ -23,7 +23,7 @@ import AttendanceSheets from '../../../../api/attendanceSheets';
import Questionnaires from '../../../../api/questionnaires';
import commonStyles from '../../../../styles/common';
import { EDGES, ICON } from '../../../../styles/metrics';
-import { BLACK, GREY, PINK, YELLOW } from '../../../../styles/colors';
+import { BLACK, GREY, COPPER, YELLOW } from '../../../../styles/colors';
import { BlendedCourseType, SlotType, TraineeType } from '../../../../types/CourseTypes';
import styles from './styles';
import { getTitle } from '../helper';
@@ -413,7 +413,7 @@ const AdminCourseProfile = ({ route, navigation }: AdminCourseProfileProps) => {
openImagePreview(sheet)}>
-
+
{label}
diff --git a/src/screens/courses/profile/styles.ts b/src/screens/courses/profile/styles.ts
index a02e8b04f..2b74451af 100644
--- a/src/screens/courses/profile/styles.ts
+++ b/src/screens/courses/profile/styles.ts
@@ -1,5 +1,5 @@
import { StyleSheet } from 'react-native';
-import { WHITE, GREY, PINK } from '../../../styles/colors';
+import { WHITE, GREY, COPPER } from '../../../styles/colors';
import { BORDER_RADIUS, BUTTON_HEIGHT, MARGIN, PADDING } from '../../../styles/metrics';
import { NUNITO_SEMI, FIRA_SANS_MEDIUM, FIRA_SANS_REGULAR } from '../../../styles/fonts';
@@ -34,7 +34,7 @@ const styles = StyleSheet.create({
paddingVertical: PADDING.MD,
paddingHorizontal: PADDING.XXL,
marginHorizontal: MARGIN.MD,
- backgroundColor: PINK[500],
+ backgroundColor: COPPER[500],
height: BUTTON_HEIGHT,
alignItems: 'center',
justifyContent: 'center',
@@ -56,7 +56,7 @@ const styles = StyleSheet.create({
},
traineeProgress: {
...FIRA_SANS_REGULAR.SM,
- color: PINK[500],
+ color: COPPER[500],
},
fileLinkContainer: {
marginTop: MARGIN.MD,
diff --git a/src/screens/explore/Catalog/index.tsx b/src/screens/explore/Catalog/index.tsx
index eda76044e..44cd00133 100644
--- a/src/screens/explore/Catalog/index.tsx
+++ b/src/screens/explore/Catalog/index.tsx
@@ -16,7 +16,7 @@ import ProgramCell from '../../../components/ProgramCell';
import styles from './styles';
import CoursesSection from '../../../components/CoursesSection';
import HomeScreenFooter from '../../../components/HomeScreenFooter';
-import { GREEN, PINK, YELLOW, PURPLE, GREY } from '../../../styles/colors';
+import { GREEN, COPPER, YELLOW, PURPLE, GREY } from '../../../styles/colors';
import { capitalizeFirstLetter, getTheoreticalDuration, removeDiacritics } from '../../../core/helpers/utils';
import { IS_WEB } from '../../../core/data/constants';
@@ -42,9 +42,9 @@ const CategoriesStyleList = [
countStyle: { background: PURPLE[200], color: PURPLE[800] },
},
{
- imageBackground: require('../../../../assets/images/pink_section_background.webp'),
+ imageBackground: require('../../../../assets/images/copper_section_background.webp'),
backgroundStyle: styles().rightBackground,
- countStyle: { background: PINK[200], color: PINK[600] },
+ countStyle: { background: COPPER[200], color: COPPER[600] },
},
];
diff --git a/src/screens/profile/Profile/index.tsx b/src/screens/profile/Profile/index.tsx
index 3531e9d3c..c1afb9ff7 100644
--- a/src/screens/profile/Profile/index.tsx
+++ b/src/screens/profile/Profile/index.tsx
@@ -17,7 +17,7 @@ import Courses from '../../../api/courses';
import CompanyLinkRequests from '../../../api/companyLinkRequests';
import Users from '../../../api/users';
import Companies from '../../../api/companies';
-import { PINK } from '../../../styles/colors';
+import { COPPER } from '../../../styles/colors';
import { HIT_SLOP, ICON } from '../../../styles/metrics';
import FeatherButton from '../../../components/icons/FeatherButton';
import PictureModal from '../../../components/PictureModal';
@@ -198,7 +198,7 @@ const Profile = ({ navigation }: ProfileProps) => {
: setPictureModal(true)}>
setPictureModal(true)}
- size={ICON.SM} color={PINK[500]} style={styles.profileImageEdit} />
+ size={ICON.SM} color={COPPER[500]} style={styles.profileImageEdit} />
}
{loggedUser.identity.firstname || ''} {loggedUser.identity.lastname}
{loggedUser.company?.name
diff --git a/src/screens/profile/Profile/styles.ts b/src/screens/profile/Profile/styles.ts
index a0141bb1d..da1fb400d 100644
--- a/src/screens/profile/Profile/styles.ts
+++ b/src/screens/profile/Profile/styles.ts
@@ -1,5 +1,5 @@
import { StyleSheet } from 'react-native';
-import { GREY, PINK, TRANSPARENT_GREY, WHITE } from '../../../styles/colors';
+import { GREY, COPPER, TRANSPARENT_GREY, WHITE } from '../../../styles/colors';
import { BORDER_RADIUS, BORDER_WIDTH, MARGIN, PADDING } from '../../../styles/metrics';
import {
FIRA_SANS_BOLD,
@@ -86,7 +86,7 @@ const styles = StyleSheet.create({
},
numberOfCourses: {
...NUNITO_LIGHT.XL,
- color: PINK[500],
+ color: COPPER[500],
},
contact: {
...FIRA_SANS_BOLD.LG,
@@ -120,7 +120,7 @@ const styles = StyleSheet.create({
},
legalNotice: {
...FIRA_SANS_REGULAR.MD,
- color: PINK[500],
+ color: COPPER[500],
},
});
diff --git a/src/screens/profile/ProfileEdition/styles.ts b/src/screens/profile/ProfileEdition/styles.ts
index dae1760ee..58fee4f74 100644
--- a/src/screens/profile/ProfileEdition/styles.ts
+++ b/src/screens/profile/ProfileEdition/styles.ts
@@ -1,7 +1,7 @@
import { StyleSheet } from 'react-native';
import { BORDER_RADIUS, BORDER_WIDTH, MARGIN } from '../../../styles/metrics';
import { FIRA_SANS_BOLD, FIRA_SANS_MEDIUM } from '../../../styles/fonts';
-import { GREY, PINK, TRANSPARENT_GREY } from '../../../styles/colors';
+import { GREY, COPPER, TRANSPARENT_GREY } from '../../../styles/colors';
const styles = StyleSheet.create({
safeArea: {
@@ -44,7 +44,7 @@ const styles = StyleSheet.create({
},
profileEdit: {
...FIRA_SANS_MEDIUM.MD,
- color: PINK[500],
+ color: COPPER[500],
marginTop: MARGIN.MD,
},
});
diff --git a/src/styles/cards.ts b/src/styles/cards.ts
index 7c66fc631..abd4346fc 100644
--- a/src/styles/cards.ts
+++ b/src/styles/cards.ts
@@ -1,5 +1,5 @@
import { StyleSheet } from 'react-native';
-import { GREY, PINK } from './colors';
+import { GREY, COPPER } from './colors';
import { FIRA_SANS_REGULAR, FIRA_SANS_BLACK, FIRA_SANS_MEDIUM } from './fonts';
import { INPUT_HEIGHT, MARGIN, PADDING, TEXT_LINE_HEIGHT } from './metrics';
@@ -31,7 +31,7 @@ export default StyleSheet.create({
},
informativeText: {
...FIRA_SANS_REGULAR.SM,
- color: PINK[500],
+ color: COPPER[500],
marginBottom: MARGIN.SM,
},
});
diff --git a/src/styles/colors.ts b/src/styles/colors.ts
index ec4cba9e6..ad5a48a68 100644
--- a/src/styles/colors.ts
+++ b/src/styles/colors.ts
@@ -1,9 +1,9 @@
// Yellow
export const YELLOW = {
- '100': '#FFFBE5',
- '200': '#FDF2BE',
- '300': '#FCE68D',
- '400': '#F8D95D',
+ '100': '#FCF8EC',
+ '200': '#F7EBC8',
+ '300': '#F4DD97',
+ '400': '#F2D264',
'500': '#F4CA25',
'600': '#DBA00A',
'700': '#AB6F07',
@@ -13,15 +13,15 @@ export const YELLOW = {
// Orange
export const ORANGE = {
- '100': '#FFF7EB',
- '200': '#FEE7C8',
- '300': '#FBC88D',
- '400': '#F6A555',
- '500': '#ED8936',
- '600': '#DD6B20',
- '700': '#C05621',
- '800': '#9C4221',
- '900': '#7B341E',
+ '100': '#FFF5E8',
+ '200': '#FFE1BE',
+ '300': '#FFBA76',
+ '400': '#FF8E2F',
+ '500': '#FF6A00',
+ '600': '#D2530C',
+ '700': '#B6400F',
+ '800': '#933012',
+ '900': '#742612',
};
// Green
@@ -48,14 +48,14 @@ export const PURPLE = {
'800': '#2E2673',
};
-// AltPink
-export const PINK = {
- '100': '#FFEBF1',
- '200': '#FBB8D2',
- '300': '#F18FB5',
- '400': '#E74B87',
- '500': '#C12862',
- '600': '#98204D',
+// Copper
+export const COPPER = {
+ '100': '#D3F1F5',
+ '200': '#A1DFE9',
+ '300': '#70C1CF',
+ '400': '#419FB0',
+ '500': '#1D7C8F',
+ '600': '#005774',
};
// Grey
@@ -78,7 +78,7 @@ export const TRANSPARENT_GREY = 'rgba(31, 20, 27, 0.2)';
export const TRANSPARENT_LIGHT_GREY = 'rgba(226, 218, 223, 0.3)';
export const TRANSPARENT_DARK_GREY = '#00000066';
export const MEDIA_BACKGROUND_PLAY = '#00000020';
-export const TRANSPARENT_PINK = 'rgba(193, 40, 98, 0.2)';
+export const TRANSPARENT_COPPER = 'rgba(29, 124, 143, 0.2)';
export const TRANSPARENT_GRADIENT = '#FFFFFF00';
export const MODAL_BACKDROP_GREY = '#00000099';
export const RED = '#FF0000';
diff --git a/src/styles/common.ts b/src/styles/common.ts
index 6dd901ac5..cd428abec 100644
--- a/src/styles/common.ts
+++ b/src/styles/common.ts
@@ -10,7 +10,7 @@ import {
BORDER_RADIUS,
PADDING,
} from './metrics';
-import { WHITE, PINK, GREY } from './colors';
+import { WHITE, COPPER, GREY } from './colors';
import { FIRA_SANS_BLACK, FIRA_SANS_BOLD, FIRA_SANS_ITALIC, FIRA_SANS_MEDIUM, FIRA_SANS_REGULAR } from './fonts';
export default StyleSheet.create({
@@ -75,5 +75,5 @@ export const markdownStyle = bodyStyle => ({
strong: { ...FIRA_SANS_BOLD.MD },
em: { ...FIRA_SANS_ITALIC.MD },
list_item: { margin: MARGIN.XS },
- link: { color: PINK[500] },
+ link: { color: COPPER[500] },
});