Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions assets/icons/CatalogSelectedIcon.tsx
Original file line number Diff line number Diff line change
@@ -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,
Expand All @@ -9,9 +10,9 @@ type CatalogSelectedIconProps = {

const CatalogSelectedIcon = ({ style, size = ICON.MD }: CatalogSelectedIconProps) => (
<Svg width={size} height={size} viewBox="0 0 24 24" fill="none" style={style}>
<Circle cx="10" cy="10" r="6" fill="#FFEBF1"/>
<Path fillRule="evenodd" clipRule="evenodd" d="M4.04 10.67C5.5 9.03 7.63 8 10 8C12.37 8 14.5 9.03 15.96 10.67C15.63 13.67 13.09 16 10 16C6.91 16 4.37 13.67 4.04 10.67Z" fill="#FBB8D2"/>
<Path d="M16.32 14.9L21.71 20.3C21.87 20.49 21.96 20.74 21.945 20.99C21.93 21.24 21.83 21.48 21.65 21.66C21.47 21.83 21.23 21.94 20.98 21.94C20.73 21.95 20.48 21.87 20.29 21.7L14.91 16.32C13.3 17.57 11.28 18.16 9.25 17.97C7.23 17.78 5.35 16.82 4 15.29C2.66 13.77 1.94 11.79 2.01 9.75C2.07 7.72 2.91 5.78 4.35 4.35C5.78 2.91 7.72 2.07 9.75 2.01C11.79 1.94 13.77 2.66 15.29 4C16.821 5.35 17.78 7.23 17.97 9.25C18.16 11.28 17.57 13.3 16.32 14.91V14.9ZM10 16C11.59 16 13.12 15.37 14.24 14.24C15.37 13.12 16 11.59 16 10C16 8.41 15.37 6.88 14.24 5.76C13.12 4.63 11.59 4 10 4C8.41 4 6.88 4.63 5.76 5.76C4.63 6.88 4 8.41 4 10C4 11.59 4.63 13.12 5.76 14.24C6.88 15.37 8.41 16 10 16Z" fill="#C12862"/>
<Circle cx="10" cy="10" r="6" fill={COPPER[100]}/>
<Path fillRule="evenodd" clipRule="evenodd" d="M4.04 10.67C5.5 9.03 7.63 8 10 8C12.37 8 14.5 9.03 15.96 10.67C15.63 13.67 13.09 16 10 16C6.91 16 4.37 13.67 4.04 10.67Z" fill={COPPER[200]}/>
<Path d="M16.32 14.9L21.71 20.3C21.87 20.49 21.96 20.74 21.945 20.99C21.93 21.24 21.83 21.48 21.65 21.66C21.47 21.83 21.23 21.94 20.98 21.94C20.73 21.95 20.48 21.87 20.29 21.7L14.91 16.32C13.3 17.57 11.28 18.16 9.25 17.97C7.23 17.78 5.35 16.82 4 15.29C2.66 13.77 1.94 11.79 2.01 9.75C2.07 7.72 2.91 5.78 4.35 4.35C5.78 2.91 7.72 2.07 9.75 2.01C11.79 1.94 13.77 2.66 15.29 4C16.821 5.35 17.78 7.23 17.97 9.25C18.16 11.28 17.57 13.3 16.32 14.91V14.9ZM10 16C11.59 16 13.12 15.37 14.24 14.24C15.37 13.12 16 11.59 16 10C16 8.41 15.37 6.88 14.24 5.76C13.12 4.63 11.59 4 10 4C8.41 4 6.88 4.63 5.76 5.76C4.63 6.88 4 8.41 4 10C4 11.59 4.63 13.12 5.76 14.24C6.88 15.37 8.41 16 10 16Z" fill={COPPER[500]}/>
</Svg>
);

Expand Down
8 changes: 5 additions & 3 deletions assets/icons/LearnerCoursesSelectedIcon.tsx
Original file line number Diff line number Diff line change
@@ -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,
Expand All @@ -9,9 +11,9 @@ type LeanerCoursesSelectedIconProps = {

const LeanerCoursesSelectedIcon = ({ style, size = ICON.MD }: LeanerCoursesSelectedIconProps) => (
<Svg width={size} height={size} viewBox="0 0 24 24" fill="none" style={style}>
<Rect x="4" y="4" width="16" height="16" fill="#FBB8D2"/>
<Rect x="8" y="4" width="8" height="10" fill="#FFEBF1"/>
<Path d="M7 5H5V19H19V5H17V15C17 15.17 16.96 15.34 16.88 15.49C16.79 15.64 16.67 15.77 16.53 15.86C16.38 15.947 16.22 16 16.04 16.006C15.87 16.01 15.703 15.98 15.55 15.9L12 14.11L8.45 15.88C8.3 15.96 8.13 15.99 7.96 15.99C7.79 15.98 7.63 15.93 7.48 15.84C7.34 15.75 7.22 15.63 7.13 15.48C7.05 15.34 7 15.17 7 15V5ZM5 3H19C19.53 3 20.04 3.21 20.41 3.59C20.79 3.96 21 4.47 21 5V19C21 19.53 20.79 20.04 20.41 20.41C20.04 20.79 19.53 21 19 21H5C4.47 21 3.96 20.79 3.59 20.41C3.21 20.04 3 19.53 3 19V5C3 3.9 3.9 3 5 3ZM9 5V13.38L11.55 12.11C11.69 12.04 11.84 12.003 12 12.003C12.16 12.003 12.31 12.04 12.45 12.11L15 13.38V5H9Z" fill="#C12862"/>
<Rect x="4" y="4" width="16" height="16" fill={COPPER[200]}/>
<Rect x="8" y="4" width="8" height="10" fill={COPPER[100]}/>
<Path d="M7 5H5V19H19V5H17V15C17 15.17 16.96 15.34 16.88 15.49C16.79 15.64 16.67 15.77 16.53 15.86C16.38 15.947 16.22 16 16.04 16.006C15.87 16.01 15.703 15.98 15.55 15.9L12 14.11L8.45 15.88C8.3 15.96 8.13 15.99 7.96 15.99C7.79 15.98 7.63 15.93 7.48 15.84C7.34 15.75 7.22 15.63 7.13 15.48C7.05 15.34 7 15.17 7 15V5ZM5 3H19C19.53 3 20.04 3.21 20.41 3.59C20.79 3.96 21 4.47 21 5V19C21 19.53 20.79 20.04 20.41 20.41C20.04 20.79 19.53 21 19 21H5C4.47 21 3.96 20.79 3.59 20.41C3.21 20.04 3 19.53 3 19V5C3 3.9 3.9 3 5 3ZM9 5V13.38L11.55 12.11C11.69 12.04 11.84 12.003 12 12.003C12.16 12.003 12.31 12.04 12.45 12.11L15 13.38V5H9Z" fill={COPPER[500]}/>
</Svg>
);

Expand Down
9 changes: 5 additions & 4 deletions assets/icons/ProfileSelectedIcon.tsx
Original file line number Diff line number Diff line change
@@ -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,
Expand All @@ -9,10 +10,10 @@ type ProfileSelectedIconProps = {

const ProfileSelectedIcon = ({ style, size = ICON.MD }: ProfileSelectedIconProps) => (
<Svg width={size} height={size} viewBox="0 0 24 24" fill="none" style={style}>
<Circle cx="12" cy="13" r="10" fill="#FBB8D2"/>
<Path fillRule="evenodd" clipRule="evenodd" d="M4 19.001C4 19 4 19 4 19C4 16.79 5.79 15 8 15H16C18.21 15 20 16.79 20 19C20 19 20 19 20 19.001C18.18 21.43 15.27 23 12 23C8.73 23 5.82 21.43 4 19.001Z" fill="#FFEBF1"/>
<Circle cx="12" cy="7" r="4" fill="#FFEBF1"/>
<Path d="M12 12C10.67 12 9.4 11.47 8.46 10.54C7.53 9.6 7 8.33 7 7C7 5.67 7.53 4.4 8.46 3.46C9.4 2.53 10.67 2 12 2C13.33 2 14.6 2.53 15.54 3.46C16.47 4.4 17 5.67 17 7C17 8.33 16.47 9.6 15.54 10.54C14.6 11.47 13.33 12 12 12ZM12 10C12.394 10 12.78 9.92 13.15 9.77C13.512 9.62 13.84 9.4 14.12 9.12C14.4 8.84 14.62 8.51 14.77 8.15C14.92 7.78 15 7.39 15 7C15 6.61 14.92 6.22 14.77 5.85C14.62 5.49 14.4 5.16 14.12 4.88C13.84 4.6 13.512 4.38 13.15 4.23C12.78 4.08 12.394 4 12 4C11.2 4 10.44 4.32 9.88 4.88C9.32 5.44 9 6.2 9 7C9 7.8 9.32 8.56 9.88 9.12C10.44 9.68 11.2 10 12 10ZM21 21C21 21.27 20.89 21.52 20.71 21.71C20.52 21.89 20.27 22 20 22C19.73 22 19.48 21.89 19.29 21.71C19.11 21.52 19 21.27 19 21V19C19 18.2 18.68 17.44 18.12 16.88C17.56 16.32 16.8 16 16 16H8C7.2 16 6.44 16.32 5.88 16.88C5.32 17.44 5 18.2 5 19V21C5 21.27 4.89 21.52 4.71 21.71C4.52 21.89 4.27 22 4 22C3.73 22 3.48 21.89 3.29 21.71C3.11 21.52 3 21.27 3 21V19C3 17.67 3.53 16.4 4.46 15.46C5.4 14.53 6.67 14 8 14H16C17.33 14 18.6 14.53 19.54 15.46C20.47 16.4 21 17.67 21 19V21Z" fill="#C12862"/>
<Circle cx="12" cy="13" r="10" fill={COPPER[200]}/>
<Path fillRule="evenodd" clipRule="evenodd" d="M4 19.001C4 19 4 19 4 19C4 16.79 5.79 15 8 15H16C18.21 15 20 16.79 20 19C20 19 20 19 20 19.001C18.18 21.43 15.27 23 12 23C8.73 23 5.82 21.43 4 19.001Z" fill={COPPER[100]}/>
<Circle cx="12" cy="7" r="4" fill={COPPER[100]}/>
<Path d="M12 12C10.67 12 9.4 11.47 8.46 10.54C7.53 9.6 7 8.33 7 7C7 5.67 7.53 4.4 8.46 3.46C9.4 2.53 10.67 2 12 2C13.33 2 14.6 2.53 15.54 3.46C16.47 4.4 17 5.67 17 7C17 8.33 16.47 9.6 15.54 10.54C14.6 11.47 13.33 12 12 12ZM12 10C12.394 10 12.78 9.92 13.15 9.77C13.512 9.62 13.84 9.4 14.12 9.12C14.4 8.84 14.62 8.51 14.77 8.15C14.92 7.78 15 7.39 15 7C15 6.61 14.92 6.22 14.77 5.85C14.62 5.49 14.4 5.16 14.12 4.88C13.84 4.6 13.512 4.38 13.15 4.23C12.78 4.08 12.394 4 12 4C11.2 4 10.44 4.32 9.88 4.88C9.32 5.44 9 6.2 9 7C9 7.8 9.32 8.56 9.88 9.12C10.44 9.68 11.2 10 12 10ZM21 21C21 21.27 20.89 21.52 20.71 21.71C20.52 21.89 20.27 22 20 22C19.73 22 19.48 21.89 19.29 21.71C19.11 21.52 19 21.27 19 21V19C19 18.2 18.68 17.44 18.12 16.88C17.56 16.32 16.8 16 16 16H8C7.2 16 6.44 16.32 5.88 16.88C5.32 17.44 5 18.2 5 19V21C5 21.27 4.89 21.52 4.71 21.71C4.52 21.89 4.27 22 4 22C3.73 22 3.48 21.89 3.29 21.71C3.11 21.52 3 21.27 3 21V19C3 17.67 3.53 16.4 4.46 15.46C5.4 14.53 6.67 14 8 14H16C17.33 14 18.6 14.53 19.54 15.46C20.47 16.4 21 17.67 21 19V21Z" fill={COPPER[500]}/>
</Svg>
);

Expand Down
7 changes: 4 additions & 3 deletions assets/icons/TrainerCoursesSelectedIcon.tsx
Original file line number Diff line number Diff line change
@@ -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,
Expand All @@ -9,9 +10,9 @@ type TrainerCoursesSelectedIconProps = {

const TrainerCoursesSelectedIcon = ({ style, size = ICON.MD }: TrainerCoursesSelectedIconProps) => (
<Svg width={size} height={size} viewBox="0 0 25 24" fill="none" style={style}>
<Ellipse cx="11.69" cy="9.62" rx="6" ry="7.38" transform="rotate(-9.38 11.69 9.62)" fill="#FBB8D2"/>
<Rect x="11.667" y="4" width="9" height="11" fill="#FBB8D2"/>
<Path fill="#C12862" stroke="#C12862" strokeWidth="0.8" d="M21.067 4V3.6H20.667H11.05C11.01 3.19 10.91 2.78 10.76 2.4H20.667C21.09 2.4 21.5 2.57 21.8 2.87C22.1 3.17 22.267 3.58 22.267 4V15C22.267 15.42 22.1 15.83 21.8 16.13C21.5 16.43 21.09 16.6 20.667 16.6H12.067V15.4H20.667H21.067V15V4ZM3.67 13.6H2.57V9C2.57 8.58 2.74 8.17 3.04 7.87C3.34 7.57 3.74 7.4 4.17 7.4H15.267V8.6H9.67H9.27V9V21.6H8.07V16V15.6H7.67H5.67H5.27V16V21.6H4.07V14V13.6H3.67ZM8.27 4C8.27 4.42 8.1 4.83 7.8 5.13C7.5 5.43 7.09 5.6 6.67 5.6C6.24 5.6 5.84 5.43 5.54 5.13C5.24 4.83 5.07 4.42 5.07 4C5.07 3.58 5.24 3.17 5.54 2.87C5.84 2.57 6.24 2.4 6.67 2.4C7.09 2.4 7.5 2.57 7.8 2.87C8.1 3.17 8.27 3.58 8.27 4Z" />
<Ellipse cx="11.69" cy="9.62" rx="6" ry="7.38" transform="rotate(-9.38 11.69 9.62)" fill={COPPER[200]}/>
<Rect x="11.667" y="4" width="9" height="11" fill={COPPER[200]}/>
<Path fill={COPPER[500]} stroke={COPPER[500]} strokeWidth="0.8" d="M21.067 4V3.6H20.667H11.05C11.01 3.19 10.91 2.78 10.76 2.4H20.667C21.09 2.4 21.5 2.57 21.8 2.87C22.1 3.17 22.267 3.58 22.267 4V15C22.267 15.42 22.1 15.83 21.8 16.13C21.5 16.43 21.09 16.6 20.667 16.6H12.067V15.4H20.667H21.067V15V4ZM3.67 13.6H2.57V9C2.57 8.58 2.74 8.17 3.04 7.87C3.34 7.57 3.74 7.4 4.17 7.4H15.267V8.6H9.67H9.27V9V21.6H8.07V16V15.6H7.67H5.67H5.27V16V21.6H4.07V14V13.6H3.67ZM8.27 4C8.27 4.42 8.1 4.83 7.8 5.13C7.5 5.43 7.09 5.6 6.67 5.6C6.24 5.6 5.84 5.43 5.54 5.13C5.24 4.83 5.07 4.42 5.07 4C5.07 3.58 5.24 3.17 5.54 2.87C5.84 2.57 6.24 2.4 6.67 2.4C7.09 2.4 7.5 2.57 7.8 2.87C8.1 3.17 8.27 3.58 8.27 4Z" />
</Svg>
);

Expand Down
Binary file modified assets/images/aux_detective.webp
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/images/aux_fierte.webp
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/images/aux_joie.webp
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/copper_section_background.webp
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/images/doc-tableau-blanc.webp
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/images/doct_liste.webp
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/images/pa_aidant_balade_bleu.webp
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/images/pa_aidant_balade_rose.webp
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed assets/images/pink_section_background.webp
Binary file not shown.
Binary file modified assets/images/profile_background.webp
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/images/start_card_background.webp
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions src/components/ArrowButton/index.tsx
Original file line number Diff line number Diff line change
@@ -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';

Expand All @@ -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 (
Expand Down
4 changes: 2 additions & 2 deletions src/components/AttendanceEndScreen/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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';

Expand All @@ -19,7 +19,7 @@ interface AttendanceEndScreenProps {
const renderFailMessage = (text: string) =>
<ScrollView contentContainerStyle={styles.errorContainer} showsVerticalScrollIndicator={IS_WEB}>
<Text style={styles.title}>{text}</Text>
<MaterialIcons style={styles.icon} size={200} name={'warning'} color={PINK[500]} />
<MaterialIcons style={styles.icon} size={200} name={'warning'} color={COPPER[500]} />
<Text style={styles.text}>Veuillez réitérer votre demande</Text>
</ScrollView>;

Expand Down
4 changes: 2 additions & 2 deletions src/components/AttendanceEndScreen/styles.ts
Original file line number Diff line number Diff line change
@@ -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: {
Expand All @@ -16,7 +16,7 @@ const styles = StyleSheet.create({
},
text: {
...FIRA_SANS_BLACK.MD,
color: PINK[600],
color: COPPER[600],
marginVertical: MARGIN.LG,
textAlign: 'center',
},
Expand Down
6 changes: 3 additions & 3 deletions src/components/CalendarIcon/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand All @@ -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];
Expand All @@ -40,7 +40,7 @@ const CalendarIcon = ({ slots, progress = 0, mode }: CalendarIconProps) => {
if (!progress) {
return (
<View style={style.datesLengthContainer}>
<Ionicons name='calendar-sharp' size={ICON.SM} color={mode === TRAINER ? PURPLE[800] : PINK[500]}
<Ionicons name='calendar-sharp' size={ICON.SM} color={mode === TRAINER ? PURPLE[800] : COPPER[500]}
style={style.datesLengthIcon} />
</View>
);
Expand Down
4 changes: 2 additions & 2 deletions src/components/ConfirmationModal/styles.ts
Original file line number Diff line number Diff line change
@@ -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';

Expand Down Expand Up @@ -34,7 +34,7 @@ const styles = StyleSheet.create({
justifyContent: 'flex-end',
},
buttonText: {
color: PINK[500],
color: COPPER[500],
},
button: {
width: 80,
Expand Down
4 changes: 2 additions & 2 deletions src/components/ContactInfoContainer/styles.ts
Original file line number Diff line number Diff line change
@@ -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';

Expand All @@ -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',
},
Expand Down
6 changes: 3 additions & 3 deletions src/components/CourseAboutHeader/styles.ts
Original file line number Diff line number Diff line change
@@ -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';

Expand All @@ -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,
Expand Down
4 changes: 2 additions & 2 deletions src/components/DeletionConfirmationModal/styles.ts
Original file line number Diff line number Diff line change
@@ -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';

Expand Down Expand Up @@ -40,7 +40,7 @@ const styles = StyleSheet.create({
},
button: {
...FIRA_SANS_REGULAR.MD,
color: PINK[500],
color: COPPER[500],
},
});

Expand Down
4 changes: 2 additions & 2 deletions src/components/ImagePickerManager/styles.ts
Original file line number Diff line number Diff line change
@@ -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';

Expand All @@ -10,7 +10,7 @@ const styles = StyleSheet.create({
},
text: {
...FIRA_SANS_MEDIUM.MD,
color: PINK[500],
color: COPPER[500],
marginBottom: MARGIN.SM,
},
});
Expand Down
8 changes: 4 additions & 4 deletions src/components/PasswordForm/styles.ts
Original file line number Diff line number Diff line change
@@ -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: {
Expand All @@ -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,
Expand Down
10 changes: 5 additions & 5 deletions src/components/PictureModal/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -78,15 +78,15 @@ const PictureModal = ({

return (
<NiModal visible={visible} onRequestClose={closePictureModal}>
<FeatherButton name={'x-circle'} onPress={closePictureModal} size={ICON.LG} color={PINK[500]}
<FeatherButton name={'x-circle'} onPress={closePictureModal} size={ICON.LG} color={COPPER[500]}
style={styles.goBack} />
<NiPrimaryButton caption='Prendre une photo' customStyle={styles.button} onPress={takePicture}
disabled={isLoading} bgColor={WHITE} color={PINK[500]} />
disabled={isLoading} bgColor={WHITE} color={COPPER[500]} />
<NiPrimaryButton caption='Ajouter une photo' customStyle={styles.button} onPress={addPictureFromGallery}
disabled={isLoading} bgColor={WHITE} color={PINK[500]} />
disabled={isLoading} bgColor={WHITE} color={COPPER[500]} />
{canDelete &&
<NiPrimaryButton caption='Supprimer la photo' customStyle={styles.button} onPress={onDeletePicture}
disabled={isLoading} bgColor={WHITE} color={PINK[500]} loading={isLoading} />}
disabled={isLoading} bgColor={WHITE} color={COPPER[500]} loading={isLoading} />}
</NiModal>);
};

Expand Down
4 changes: 2 additions & 2 deletions src/components/PictureModal/styles.ts
Original file line number Diff line number Diff line change
@@ -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';

Expand All @@ -10,7 +10,7 @@ const styles = StyleSheet.create({
},
buttonText: {
...FIRA_SANS_MEDIUM.MD,
color: PINK[500],
color: COPPER[500],
},
loading: {
paddingHorizontal: PADDING.SM,
Expand Down
4 changes: 2 additions & 2 deletions src/components/ProgramCell/styles.ts
Original file line number Diff line number Diff line change
@@ -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';

Expand Down Expand Up @@ -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,
Expand Down
Loading
Loading