@@ -39,11 +39,18 @@ function createMuiDsfrTheme(params: { isDark: boolean }): MuiTheme {
3939 "contrastText" : options . blueFrance . _975sun113 . default
4040 } ,
4141 "secondary" : {
42- "main" : options . redMarianne . main472 . default ,
43- "light" : options . redMarianne . _850_200 . default ,
44- "dark" : options . redMarianne . _425_625 . default ,
45- "contrastText" : options . redMarianne . _975_75 . default
42+ "main" : options . blueFrance . _950_100 . default ,
43+ "light" : options . blueFrance . _950_100 . active ,
44+ "dark" : options . blueFrance . _950_100 . hover ,
45+ "contrastText" : options . blueFrance . sun113_625 . default
46+ /*
47+ "main": options.blueFrance._850_200.default,
48+ "light": options.blueFrance._850_200.active,
49+ "dark": options.blueFrance._850_200.hover,
50+ "contrastText": options.blueFrance.sun113_625.default,
51+ */
4652 } ,
53+
4754 "error" : {
4855 "light" : options . error . _425_625 . active ,
4956 "main" : options . error . _425_625 . default ,
@@ -76,11 +83,11 @@ function createMuiDsfrTheme(params: { isDark: boolean }): MuiTheme {
7683 } ,
7784 "divider" : options . grey . _900_175 . default ,
7885 "action" : {
79- "default" : options . blueFrance . sun113_625 . default ,
86+ "default" : options . grey . _200_850 . default ,
8087 "background" : options . blueFrance . _925_125 . default ,
81- "active" : options . blueFrance . sun113_625 . active ,
88+ "active" : options . grey . _200_850 . default ,
8289 "hover" : options . grey . _975_100 . default ,
83- "selected" : options . blueFrance . _925_125 . default ,
90+ "selected" : options . blueFrance . _925_125 . active ,
8491 "disabled" : options . grey . _625_425 . default ,
8592 "disabledBackground" : options . grey . _925_125 . default ,
8693 "focus" : options . blueFrance . sun113_625 . active
@@ -90,6 +97,9 @@ function createMuiDsfrTheme(params: { isDark: boolean }): MuiTheme {
9097 "default" : options . grey . _1000_50 . default ,
9198 "paper" : options . grey . _1000_100 . default ,
9299 "paperHover" : options . grey . _975_75 . hover
100+ } ,
101+ "getContrastText" : ( ) => {
102+ return "cyan" ;
93103 }
94104 } as const ;
95105 } ) ( ) ,
0 commit comments