Skip to content

Commit

Permalink
root css
Browse files Browse the repository at this point in the history
  • Loading branch information
cevro committed Nov 25, 2023
1 parent a5efc9e commit 01c0b0e
Showing 1 changed file with 13 additions and 5 deletions.
18 changes: 13 additions & 5 deletions app/Components/Results/style.scss
Original file line number Diff line number Diff line change
@@ -1,22 +1,30 @@
:root {
--task-color-1: #8AC75A;
--task-color-3: #37C4E5;
--task-color-P: #F47A69;
--task-color-E: #F08BAA;
--task-color-S: #F5BF69;
}

.contest-results {
[data-label="1"], [data-label="2"] {
--task-color: #8AC75A;
--task-color: var(--task-color-1);
}

[data-label="3"], [data-label="4"], [data-label="5"] {
--task-color: #37C4E5;
--task-color: var(--task-color-3);
}

[data-label="P"] {
--task-color: #F47A69;
--task-color: var(--task-color-P);
}

[data-label="E"] {
--task-color: #F08BAA;
--task-color: var(--task-color-E);
}

[data-label="S"] {
--task-color: #F5BF69;
--task-color: var(--task-color-S);
}

.points {
Expand Down

0 comments on commit 01c0b0e

Please sign in to comment.