File tree Expand file tree Collapse file tree 2 files changed +9
-3
lines changed
Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -54,6 +54,10 @@ const NavItems: React.FC = () => {
5454 variant = "h1"
5555 sx = { {
5656 color : Colors . yellow ,
57+ fontSize : {
58+ xs : "2.2rem" , // font size on mobile
59+ sm : "2.5rem" ,
60+ } ,
5761 } }
5862 >
5963 NeuroJSON.io
@@ -62,6 +66,10 @@ const NavItems: React.FC = () => {
6266 variant = "h2"
6367 sx = { {
6468 color : Colors . lightGray ,
69+ fontSize : {
70+ xs : "1rem" , // font size on mobile
71+ sm : "1.2rem" ,
72+ } ,
6573 } }
6674 >
6775 Free Data Worth Sharing
Original file line number Diff line number Diff line change 1- import { orange , purple } from "@mui/material/colors" ;
1+ // import { orange, purple } from "@mui/material/colors";
22import { createTheme } from "@mui/material/styles" ;
33
44const primary = {
@@ -46,13 +46,11 @@ const theme = createTheme({
4646 h1 : {
4747 fontFamily : "Raleway" ,
4848 fontWeight : 700 ,
49- // fontSize: "2rem",
5049 fontSize : "2.5rem" ,
5150 textTransform : "none" ,
5251 } ,
5352 h2 : {
5453 fontWeight : 600 ,
55- // fontSize: "1.75rem",
5654 fontSize : "1.2rem" ,
5755 textTransform : "none" ,
5856 color : Colors . secondary . main ,
You can’t perform that action at this time.
0 commit comments