Skip to content

Commit

Permalink
replace hard coded colors
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonEntholzer committed Oct 25, 2024
1 parent a0ad006 commit 365fe3f
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
[disabled]="!exercise || !exercise.solutionParticipation || !exercise.solutionParticipation.id || !exercise.solutionParticipation.repositoryUri"
(click)="selectSolutionParticipation()"
ngbDropdownItem
[style.background-color]="selectedRepository === REPOSITORY.SOLUTION ? '#3e8acc' : 'transparent'"
[style.background-color]="selectedRepository === REPOSITORY.SOLUTION ? 'var(--link-color)' : 'transparent'"
jhiTranslate="artemisApp.editor.repoSelect.solutionRepo"
>
<span jhiTranslate="artemisApp.editor.repoSelect.solutionRepo"></span>
Expand All @@ -69,7 +69,7 @@
"
(click)="selectAssignmentParticipation()"
ngbDropdownItem
[style.background-color]="selectedRepository === REPOSITORY.ASSIGNMENT ? '#3e8acc' : 'transparent'"
[style.background-color]="selectedRepository === REPOSITORY.ASSIGNMENT ? 'var(--link-color)' : 'transparent'"
jhiTranslate="artemisApp.editor.repoSelect.assignmentRepo"
>
Assignment Participation
Expand All @@ -78,7 +78,7 @@
[disabled]="!exercise"
(click)="selectTestRepository()"
ngbDropdownItem
[style.background-color]="selectedRepository === REPOSITORY.TEST ? '#3e8acc' : 'transparent'"
[style.background-color]="selectedRepository === REPOSITORY.TEST ? 'var(--link-color)' : 'transparent'"
jhiTranslate="artemisApp.editor.repoSelect.testRepo"
></button>
@for (auxiliaryRepository of exercise.auxiliaryRepositories; track exercise.auxiliaryRepositories; let i = $index) {
Expand All @@ -88,7 +88,7 @@
(click)="selectAuxiliaryRepository(auxiliaryRepository.id)"
ngbDropdownItem
[style.background-color]="
selectedRepository === REPOSITORY.AUXILIARY && selectedRepositoryId === auxiliaryRepository.id ? '#3e8acc' : 'transparent'
selectedRepository === REPOSITORY.AUXILIARY && selectedRepositoryId === auxiliaryRepository.id ? 'var(--link-color)' : 'transparent'
"
>
{{ auxiliaryRepository.name }}
Expand Down

0 comments on commit 365fe3f

Please sign in to comment.