Skip to content

Commit 55ce550

Browse files
committed
Fix skill number colors in dark mode for Frontend, Backend, Deployment & DevOps, and Software Practices tabs
1 parent b4472ba commit 55ce550

1 file changed

Lines changed: 9 additions & 13 deletions

File tree

src/components/HGNSkillsDashboard/SkillsProfilePage/styles/SkillsSection.module.css

Lines changed: 9 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
.skillLabel {
3131
font-size: 0.9rem;
3232
text-align: center;
33-
word-wrap: break-word;
33+
overflow-wrap: break-word;
3434
}
3535

3636
.red {
@@ -45,7 +45,7 @@
4545
color: #0f9110;
4646
}
4747

48-
@media (max-width: 600px) {
48+
@media (width <= 600px) {
4949
.skillSection {
5050
max-width: 100%;
5151
padding: 10px;
@@ -63,7 +63,7 @@
6363
}
6464
}
6565

66-
@media (min-width: 601px) and (max-width: 900px) {
66+
@media (601px <= width <= 900px) {
6767
.skillSection {
6868
max-width: 85%;
6969
padding: 15px;
@@ -81,22 +81,18 @@
8181
}
8282
}
8383

84-
:global(.dark-mode) .skillValue {
85-
color: #fff;
86-
}
87-
8884
:global(.dark-mode) .skillLabel {
8985
color: #d0d0d0;
9086
}
9187

92-
:global(.dark-mode) .red {
93-
color: #ff6b6b;
88+
:global(body.dark-mode) .skillValue.red {
89+
color: #ff6b6b !important;
9490
}
9591

96-
:global(.dark-mode) .orange {
97-
color: #ffb74d;
92+
:global(body.dark-mode) .skillValue.orange {
93+
color: #ffb74d !important;
9894
}
9995

100-
:global(.dark-mode) .green {
101-
color: #69f0ae;
96+
:global(body.dark-mode) .skillValue.green {
97+
color: #69f0ae !important;
10298
}

0 commit comments

Comments
 (0)