Skip to content

Commit 297c7c3

Browse files
authored
Merge pull request #932 from clinwiki-org/crumbs-color-add
fixing type for font string
2 parents a39f5aa + 72730e3 commit 297c7c3

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

front/src/containers/ThemeProvider/ThemeProvider.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,19 +40,19 @@ export interface Theme {
4040
};
4141
crumbs: {
4242
crumbBackground: string;
43-
crumbFont: '#fff';
43+
crumbFont: string;
4444
};
4545
crumbs2: {
4646
crumbBackground2: string;
47-
crumbFont2: '#fff';
47+
crumbFont2: string;
4848
};
4949
crumbs3: {
5050
crumbBackground3: string;
51-
crumbFont3: '#fff';
51+
crumbFont3: string;
5252
};
5353
crumbs4: {
5454
crumbBackground4: string;
55-
crumbFont4: '#fff';
55+
crumbFont4: string;
5656
};
5757
presearch: {
5858
presearchHeaders: string;
@@ -198,7 +198,7 @@ function themeFromSite(site): Theme {
198198
},
199199
crumbs: {
200200
crumbBackground: colors.primaryColor,
201-
crumbFont: '#fff',
201+
crumbFont: colors.lightTextColor,
202202
},
203203
crumbs2: {
204204
crumbBackground2: colors.primaryColor2,

0 commit comments

Comments
 (0)