changing the font to open sans for typography in theme.ts, and making the toggled one bold
This commit is contained in:
parent
62cc0a2e97
commit
39a90c93cb
2 changed files with 16 additions and 2 deletions
|
|
@ -148,9 +148,9 @@ export default function ButtonGroup(props: Props){
|
||||||
}}>
|
}}>
|
||||||
{b.icon
|
{b.icon
|
||||||
?
|
?
|
||||||
b.icon
|
b.icon
|
||||||
:
|
:
|
||||||
<Typography sx={{fontSize: textSize}}>
|
<Typography sx={{fontSize: textSize ?? 13, fontWeight: checkToggled(i) ? 650 : 500}}>
|
||||||
{b.title}
|
{b.title}
|
||||||
</Typography>
|
</Typography>
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -17,6 +17,20 @@ const baseTheme: ThemeOptions = {
|
||||||
paper: '#f5f5f5',
|
paper: '#f5f5f5',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
typography: {
|
||||||
|
fontFamily: [
|
||||||
|
"Open Sans",
|
||||||
|
"-apple-system",
|
||||||
|
"BlinkMacSystemFont",
|
||||||
|
'"Segoe UI"',
|
||||||
|
'"Helvetica Neue"',
|
||||||
|
"Arial",
|
||||||
|
"sans-serif",
|
||||||
|
'"Apple Color Emoji"',
|
||||||
|
'"Segoe UI Emoji"',
|
||||||
|
'"Segoe UI Symbol"'
|
||||||
|
].join(",")
|
||||||
|
}
|
||||||
// Add other options if needed
|
// Add other options if needed
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue