Skip to content

Commit

Permalink
Merge pull request #103 from digio-ch/hc-237-unfinished
Browse files Browse the repository at this point in the history
Adjust colors for RoleOverview
  • Loading branch information
SebastianStorz authored Dec 20, 2023
2 parents 732e11d + a5c9b19 commit efa4d38
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/DTO/Mapper/RoleOverviewMapper.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@
class RoleOverviewMapper
{
const GROUP_TYPE_COLORS = [
'Biber' => ['#EEE09F', '#d6ca8f'],
'Woelfe' => ['#3BB5DC', '#2f91b0'],
'Pfadi' => ['#9A7A54', '#7b6243'],
'Pio' => ['#DD1F19', '#b11914'],
'Rover' => ['#1DA650', '#178540'],
'Pta' => ['#d9b826', '#ae931e'],
'Biber' => ['#EEE09F', '#a1976c'],
'Woelfe' => ['#3BB5DC', '#27758f'],
'Pfadi' => ['#9A7A54', '#574530'],
'Pio' => ['#DD1F19', '#6b110c'],
'Rover' => ['#1DA650', '#127336'],
'Pta' => ['#d9b826', '#947d16'],
];

public static function createRoleOverviewDTO(Group $group): RoleOverviewDTO
Expand Down Expand Up @@ -58,7 +58,7 @@ private static function getRoleColor(string $roleType)
return $value;
}
}
return ['#da70d6', '#ae5aab'];
return ['#da70d6', '#8c488a'];
}

public static function createRoleOccupation(AggregatedPersonRole $aggregatedPersonRole, string $from, string $to): RoleOccupation
Expand Down

0 comments on commit efa4d38

Please sign in to comment.