@@ -39,11 +39,18 @@ function createMuiDsfrTheme(params: { isDark: boolean }): MuiTheme {
39
39
"contrastText" : options . blueFrance . _975sun113 . default
40
40
} ,
41
41
"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
+ */
46
52
} ,
53
+
47
54
"error" : {
48
55
"light" : options . error . _425_625 . active ,
49
56
"main" : options . error . _425_625 . default ,
@@ -76,11 +83,11 @@ function createMuiDsfrTheme(params: { isDark: boolean }): MuiTheme {
76
83
} ,
77
84
"divider" : options . grey . _900_175 . default ,
78
85
"action" : {
79
- "default" : options . blueFrance . sun113_625 . default ,
86
+ "default" : options . grey . _200_850 . default ,
80
87
"background" : options . blueFrance . _925_125 . default ,
81
- "active" : options . blueFrance . sun113_625 . active ,
88
+ "active" : options . grey . _200_850 . default ,
82
89
"hover" : options . grey . _975_100 . default ,
83
- "selected" : options . blueFrance . _925_125 . default ,
90
+ "selected" : options . blueFrance . _925_125 . active ,
84
91
"disabled" : options . grey . _625_425 . default ,
85
92
"disabledBackground" : options . grey . _925_125 . default ,
86
93
"focus" : options . blueFrance . sun113_625 . active
@@ -90,6 +97,9 @@ function createMuiDsfrTheme(params: { isDark: boolean }): MuiTheme {
90
97
"default" : options . grey . _1000_50 . default ,
91
98
"paper" : options . grey . _1000_100 . default ,
92
99
"paperHover" : options . grey . _975_75 . hover
100
+ } ,
101
+ "getContrastText" : ( ) => {
102
+ return "cyan" ;
93
103
}
94
104
} as const ;
95
105
} ) ( ) ,
0 commit comments