@@ -25,29 +25,29 @@ function createMuiDsfrTheme(params: { isDark: boolean }): MuiTheme {
2525 "values" : breakpointValues
2626 } ,
2727 "palette" : ( ( ) => {
28- const { options, decisions } = getColors ( isDark ) ;
28+ const { options } = getColors ( isDark ) ;
2929
3030 return {
3131 "mode" : isDark ? "dark" : "light" ,
3232 "primary" : {
33- /*
34- "main": options.blueFrance._850_200.default,
35- "light": options.blueFrance._850_200.default,
36- "dark": options.blueFrance.sun113_625.default,
33+ "main" : options . blueFrance . sun113_625 . default ,
34+ "light" : options . blueFrance . sun113_625 . active ,
35+ "dark" : options . blueFrance . sun113_625 . hover ,
3736 "contrastText" : options . blueFrance . _975sun113 . default
38- */
37+ /*
3938 "main": decisions.background.actionHigh.blueFrance.default,
4039 "light": decisions.background.actionLow.blueFrance.default
40+ */
4141 } ,
4242 "secondary" : {
43- /*
4443 "main" : options . redMarianne . main472 . default ,
4544 "light" : options . redMarianne . _850_200 . default ,
4645 "dark" : options . redMarianne . _425_625 . default ,
4746 "contrastText" : options . redMarianne . _975_75 . default
48- */
47+ /*
4948 "main": decisions.background.actionHigh.redMarianne.default,
5049 "light": decisions.background.actionLow.redMarianne.default
50+ */
5151 } ,
5252 "error" : {
5353 "light" : options . error . _950_100 . default ,
@@ -82,16 +82,17 @@ function createMuiDsfrTheme(params: { isDark: boolean }): MuiTheme {
8282 "divider" : options . grey . _900_175 . default ,
8383 "action" : {
8484 "default" : options . blueFrance . sun113_625 . default ,
85+ "background" : options . blueFrance . _925_125 . default ,
8586 "active" : options . blueFrance . sun113_625 . active ,
86- "hover" : options . blueFrance . sun113_625 . hover ,
87+ "hover" : options . grey . _975_100 . default ,
8788 "selected" : options . blueFrance . sun113_625 . active ,
8889 "disabled" : options . grey . _625_425 . default ,
8990 "disabledBackground" : options . grey . _925_125 . default ,
9091 "focus" : options . blueFrance . sun113_625 . active
9192 } ,
9293 "background" : {
9394 "default" : options . grey . _1000_50 . default ,
94- "paper" : options . grey . _975_75 . default ,
95+ "paper" : options . grey . _1000_100 . default ,
9596 "paperHover" : options . grey . _975_75 . hover
9697 }
9798 } as const ;
0 commit comments