File tree 3 files changed +10
-6
lines changed
3 files changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -74,10 +74,10 @@ export const ButtonStory = () => (
74
74
Colors
75
75
</ Typography >
76
76
< Stack direction = "row" spacing = { 1 } sx = { { mb : 2 } } >
77
- < Button color = "cobalt " variant = "contained" >
77
+ < Button color = "primary " variant = "contained" >
78
78
Primary
79
79
</ Button >
80
- < Button color = "monochrome " variant = "contained" >
80
+ < Button color = "secondary " variant = "contained" >
81
81
Secondary
82
82
</ Button >
83
83
< Button color = "green" variant = "contained" >
Original file line number Diff line number Diff line change @@ -15,8 +15,8 @@ declare module "@mui/material" {
15
15
16
16
declare module "@mui/material/Button" {
17
17
interface ButtonPropsColorOverrides {
18
- primary : false ;
19
- secondary : false ;
18
+ primary : true ;
19
+ secondary : true ;
20
20
success : false ;
21
21
error : false ;
22
22
info : false ;
Original file line number Diff line number Diff line change @@ -2,18 +2,22 @@ import { c as colors } from "@interactivethings/swiss-federal-ci";
2
2
import { type ThemeOptions } from "@mui/material" ;
3
3
4
4
export const palette = {
5
+ ...colors ,
5
6
text : {
6
7
primary : colors . monochrome [ 800 ] ,
7
8
} ,
8
9
primary : {
9
- main : "#1D4ED8" ,
10
- light : "#60A5FA" ,
10
+ main : "#D8232A" ,
11
11
contrastText : "#FFFFFF" ,
12
12
} ,
13
13
cobalt : {
14
14
main : colors . cobalt [ 700 ] ,
15
15
...colors . cobalt ,
16
16
} ,
17
+ secondary : {
18
+ main : colors . cobalt [ 700 ] ,
19
+ ...colors . cobalt ,
20
+ } ,
17
21
monochrome : {
18
22
main : colors . monochrome [ 700 ] ,
19
23
...colors . monochrome ,
You can’t perform that action at this time.
0 commit comments