Skip to content

Commit

Permalink
Update colors of code comments in dark mode
Browse files Browse the repository at this point in the history
  • Loading branch information
Kobzol authored and geordi committed Jan 30, 2024
1 parent b3644e3 commit 06276a3
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions frontend/src/CodeRow.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -71,22 +71,23 @@
/* Dark style comments */
:global(html[data-bs-theme="dark"] .comment) {
color: #FFFFFF;
--bs-code-color: #0021FF;
color: #000000;
}
:global(html[data-bs-theme="dark"] .comment.teacher) {
background: #B3B32A;
background: #FFFF2E;
}
:global(html[data-bs-theme="dark"] .comment.teacher.comment-read) {
background: #FFFF1E49;
background: #C0C035;
}
:global(html[data-bs-theme="dark"] .comment.student) {
background: #2F8510;
background: #4EFF0E;
}
:global(html[data-bs-theme="dark"] .comment.student.comment-read) {
background: #2A4A1E;
background: #66EC36;
}
:global(html[data-bs-theme="dark"] .comment.automated) {
background: #083154;
background: #1B96FF;
}
.selected {
Expand Down

0 comments on commit 06276a3

Please sign in to comment.