+
{this.props.folder.folder_number.concat(" - ").concat(this.props.folder.name)}
{this.countPendingDocuments() > 0 && (
diff --git a/src/front/Components/DesignSystem/FolderList/classes.module.scss b/src/front/Components/DesignSystem/FolderList/classes.module.scss
index d8013f29..b1bf1c69 100644
--- a/src/front/Components/DesignSystem/FolderList/classes.module.scss
+++ b/src/front/Components/DesignSystem/FolderList/classes.module.scss
@@ -4,11 +4,11 @@
height: calc(100vh - 290px);
overflow-y: scroll;
- &.archived{
+ &.archived {
height: calc(100vh - 220px);
}
.active {
- background-color: var(--grey-medium);
+ background-color: var(--color-neutral-200);
}
-}
\ No newline at end of file
+}
diff --git a/src/front/Components/DesignSystem/FolderListContainer/classes.module.scss b/src/front/Components/DesignSystem/FolderListContainer/classes.module.scss
index d787f90f..deb6e813 100644
--- a/src/front/Components/DesignSystem/FolderListContainer/classes.module.scss
+++ b/src/front/Components/DesignSystem/FolderListContainer/classes.module.scss
@@ -18,6 +18,6 @@
max-height: calc(100vh - 290px);
height: calc(100vh - 290px);
overflow: auto;
- border-right: 1px solid var(--grey-medium);
+ border-right: 1px solid var(--color-neutral-200);
}
}
diff --git a/src/front/Components/DesignSystem/Form/BaseField.tsx b/src/front/Components/DesignSystem/Form/BaseField.tsx
index 05afdf38..488ecc69 100644
--- a/src/front/Components/DesignSystem/Form/BaseField.tsx
+++ b/src/front/Components/DesignSystem/Form/BaseField.tsx
@@ -107,7 +107,7 @@ export default abstract class BaseField {
errors.push(
-
+
{value}
,
);
diff --git a/src/front/Components/DesignSystem/Form/DateField/classes.module.scss b/src/front/Components/DesignSystem/Form/DateField/classes.module.scss
index 0fda11ae..bac68da9 100644
--- a/src/front/Components/DesignSystem/Form/DateField/classes.module.scss
+++ b/src/front/Components/DesignSystem/Form/DateField/classes.module.scss
@@ -12,7 +12,7 @@
gap: 10px;
width: 100%;
height: 70px;
- border: 1px solid var(--grey-medium);
+ border: 1px solid var(--color-neutral-200);
&:disabled {
cursor: not-allowed;
@@ -76,16 +76,16 @@
padding: 0 16px;
pointer-events: none;
position: absolute;
- background: $white;
+ background: $color-generic-white;
transition: transform 0.3s ease-in-out;
}
}
&[data-is-errored="true"] {
.input {
- border: 1px solid var(--red-flash);
+ border: 1px solid var(--color-error-600);
~ .fake-placeholder {
- color: var(--red-flash);
+ color: var(--color-error-600);
}
}
}
diff --git a/src/front/Components/DesignSystem/Form/DateField/index.tsx b/src/front/Components/DesignSystem/Form/DateField/index.tsx
index 0c0e892a..47d60181 100644
--- a/src/front/Components/DesignSystem/Form/DateField/index.tsx
+++ b/src/front/Components/DesignSystem/Form/DateField/index.tsx
@@ -20,7 +20,7 @@ export default class DateField extends BaseField {
public override render(): ReactNode {
const value = this.state.value ?? "";
return (
-
+
{
{selectedOption && (
<>
{selectedOption?.icon}
-
+
{selectedOption?.label}
>
)}
{!selectedOption && (
-
+
{this.props.placeholder ?? ""}
@@ -110,7 +110,7 @@ class SelectFieldClass extends React.Component {
className={classes["container-li"]}
onClick={(e) => this.onSelect(option, e)}>
{option.icon}
- {option.label}
+ {option.label}
))}
@@ -199,7 +199,7 @@ class SelectFieldClass extends React.Component {
private renderErrors(): JSX.Element | null {
if (!this.state.errors) return null;
return (
-
+
{this.props.placeholder} ne peut pas être vide
);
diff --git a/src/front/Components/DesignSystem/Form/TextField/classes.module.scss b/src/front/Components/DesignSystem/Form/TextField/classes.module.scss
index 0fda11ae..bac68da9 100644
--- a/src/front/Components/DesignSystem/Form/TextField/classes.module.scss
+++ b/src/front/Components/DesignSystem/Form/TextField/classes.module.scss
@@ -12,7 +12,7 @@
gap: 10px;
width: 100%;
height: 70px;
- border: 1px solid var(--grey-medium);
+ border: 1px solid var(--color-neutral-200);
&:disabled {
cursor: not-allowed;
@@ -76,16 +76,16 @@
padding: 0 16px;
pointer-events: none;
position: absolute;
- background: $white;
+ background: $color-generic-white;
transition: transform 0.3s ease-in-out;
}
}
&[data-is-errored="true"] {
.input {
- border: 1px solid var(--red-flash);
+ border: 1px solid var(--color-error-600);
~ .fake-placeholder {
- color: var(--red-flash);
+ color: var(--color-error-600);
}
}
}
diff --git a/src/front/Components/DesignSystem/Form/TextField/index.tsx b/src/front/Components/DesignSystem/Form/TextField/index.tsx
index bb83fbf2..8e3e5d6d 100644
--- a/src/front/Components/DesignSystem/Form/TextField/index.tsx
+++ b/src/front/Components/DesignSystem/Form/TextField/index.tsx
@@ -21,7 +21,7 @@ export default class TextField extends BaseField {
public override render(): ReactNode {
const value = this.state.value ?? "";
return (
-
+