Skip to content

Commit

Permalink
color updates
Browse files Browse the repository at this point in the history
  • Loading branch information
anemne committed Nov 22, 2024
1 parent 0797e7b commit c969378
Show file tree
Hide file tree
Showing 12 changed files with 23 additions and 24 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,8 @@
align-self: stretch;

border-radius: 1rem;
border: 2px solid var(--primary-red-error);
background: var(--text-primary-light, #faf8f5);
/* TODO: update this color */
border: 2px solid var(--surface-red);
background: var(--text-primary-light, #fafafa);
}

.buttonWrapper {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
display: flex;
flex-direction: column;
align-items: center;
background-color: var(--primary-black);
background-color: var(--text-primary);
border-radius: 12px;
height: 125px;
width: 50%;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@
}

.highlightCard {
border: 3px solid var(--primary-yellow-warning);
border: 3px solid var(--surface-yellow);
border-radius: 0.25rem;
background-color: var(--primary-yellow-warning);
background-color: var(--surface-yellow);
}

.highlightCard .innerContent {
background-color: var(--primary-bg);
background-color: var(--background-bg-light-primary);
border-radius: 1.5rem;
padding: 1rem;
height: 100%;
Expand All @@ -29,7 +29,7 @@
}

.highlightOutside {
background-color: var(--primary-yellow-warning);
background-color: var(--surface-yellow);
color: var(--text-primary);
display: inline-block;
padding: 0.25rem 1.25rem;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
}

.content.framed {
border: 2px solid var(--primary-yellow-warning);
border: 2px solid var(--surface-yellow);
border-radius: 0.25rem;
background-color: var(--primary-yellow-warning);
background-color: var(--surface-yellow);
}

.innerContent {
Expand All @@ -22,7 +22,7 @@
}

.framed .innerContent {
background-color: var(--primary-bg);
background-color: var(--background-bg-light-primary);
border-radius: 1.25rem;
padding: 1rem;
height: fit-content;
Expand Down
4 changes: 2 additions & 2 deletions src/components/employeeCard/employeeCard.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
display: flex;
flex-direction: column;
align-items: center;
background-color: var(--primary-black);
background-color: var(--background-bg-dark);
border-radius: 12px;
height: 125px;
width: 50%;
Expand Down Expand Up @@ -63,7 +63,7 @@
max-width: var(--Text-paragraph, 537px);
position: relative;

background-color: var(--primary-black);
background-color: var(--background-bg-dark);
border-radius: var(--medium, 12px);
}

Expand Down
4 changes: 2 additions & 2 deletions src/components/forms/checkbox/checkbox.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -64,14 +64,14 @@
display: flex;
align-items: center;
gap: 0.5rem;
color: var(--primary-red-error);
color: var(--surface-red);
&::before {
content: "";
width: 1.25rem;
height: 1.25rem;
display: inline-block;
-webkit-mask-size: cover;
background-color: var(--primary-red-error);
background-color: var(--surface-red);
-webkit-mask: url("/_assets/alert-circle.svg") no-repeat 50% 50%;
}

Expand Down
4 changes: 2 additions & 2 deletions src/components/forms/inputField/inputField.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,14 @@
display: flex;
align-items: center;
gap: 0.5rem;
color: var(--primary-red-error);
color: var(--surface-red);
&::before {
content: "";
width: 1.25rem;
height: 1.25rem;
display: inline-block;
-webkit-mask-size: cover;
background-color: var(--primary-red-error);
background-color: var(--surface-red);
-webkit-mask: url("/_assets/alert-circle.svg") no-repeat 50% 50%;
}

Expand Down
6 changes: 3 additions & 3 deletions src/components/forms/inputTextArea/inputTextArea.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

border-radius: 0.5rem;
border: 1px solid var(--background-bg-light-secondary, #ece1d3);
background: var(--text-primary-light, #fff);
background: var(--background-bg-light-primary, #fafafa);
/* Todo: Update color */
min-height: 10rem;
}
Expand All @@ -28,14 +28,14 @@
display: flex;
align-items: center;
gap: 0.5rem;
color: var(--primary-red-error);
color: var(--surface-red);
&::before {
content: "";
width: 1.25rem;
height: 1.25rem;
display: inline-block;
-webkit-mask-size: cover;
background-color: var(--primary-red-error);
background-color: var(--surface-red);
-webkit-mask: url("/_assets/alert-circle.svg") no-repeat 50% 50%;
}

Expand Down
2 changes: 1 addition & 1 deletion src/components/link/link.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
height: 24px;
display: inline-block;
-webkit-mask-size: cover;
background-color: var(--primary-white);
background-color: var(--text-primary);
-webkit-mask: url("/_assets/arrow.svg") no-repeat 50% 50%;
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/components/navigation/header/header.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,6 @@
.logo {
width: 130px;
height: 37px;
background-color: var(--primary-white);
background-color: var(--background-bg-light-primary);
-webkit-mask: url("/_assets/variant-logo.svg") no-repeat 50% 50%;
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
text-align: center;
gap: 1.5rem;
padding: 5rem 2rem;
background: var(--primary-bg-dark);
background: var(--surface-green);

@media (min-width: 640px) {
padding: 5rem 3rem;
Expand Down
2 changes: 1 addition & 1 deletion src/components/sections/employees/employees.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
}

.header {
color: var(--primary-black);
color: var(--background-bg-light-primary);
font-size: 48px;
font-weight: 600;
align-self: flex-start;
Expand Down

0 comments on commit c969378

Please sign in to comment.