Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions packages/components/src/heading.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ export const H2 = styled.h2.withConfig({
font-size: ${FontSizes.h2};
letter-spacing: 0.9px;
${(props) => props.noMargin && 'margin: 0;'};
color: ${(props) => props.theme.darkFont};
`

export const Title = styled(BaseHeader).withConfig({
Expand Down
1 change: 1 addition & 0 deletions packages/components/src/theme/dark-theme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ export const darkTheme: DefaultTheme = {
progressBar: '#F5F5F5',
overlay: '#41465B',
faq: '#C6CDE7',
reviewGrey: '#737373',

//Fonts
darkFont: '#FFFFFF',
Expand Down
1 change: 1 addition & 0 deletions packages/components/src/theme/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ declare module 'styled-components' {
progressBar: string
overlay: string
faq: string
reviewGrey: string

// Fonts
darkFont: string
Expand Down
1 change: 1 addition & 0 deletions packages/components/src/theme/light-theme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ export const lightTheme: DefaultTheme = {
progressBar: '#F5F5F5',
overlay: '#333333',
faq: '#AAB8EC',
reviewGrey: '#4F4F4F',

//Fonts
darkFont: '#333333',
Expand Down
2 changes: 1 addition & 1 deletion packages/frontend/src/helper/report-helper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ type UseReportHelper = {
const TraineeReportStatusColors: Record<ReportStatus, keyof DefaultTheme> = {
archived: 'successGreen',
reopened: 'errorRed',
review: 'mediumFont',
review: 'reviewGrey',
todo: 'iconBlue',
}

Expand Down