Press n or j to go to the next uncovered block, b, p or k for the previous block.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 | 73x 73x 73x 9697x 73x 73x 73x 73x 3850x | import type {} from "@mui/lab/themeAugmentation"; import { createTheme, Theme } from "@mui/material"; import { ThemeOptions } from "@mui/material/styles"; import { createBreakpoints } from "@mui/system"; declare module "@mui/material/styles/createTypography" { interface TypographyOptions { h1Large: TypographyStyleOptions; } interface Typography { h1Large: TypographyStyleOptions; } } const breakpoints = createBreakpoints({}); const spacing = (factor: number) => `${0.5 * factor}rem`; const borderRadius = 4; const navBarHeightXs = 3.5; //rem const navBarHeightSmUp = 4; //rem declare module "@mui/styles/defaultTheme" { // eslint-disable-next-line @typescript-eslint/no-empty-interface interface DefaultTheme extends Theme {} } declare module "@mui/material/styles" { interface Shape { borderRadius: number; navPaddingSmUp: string; navPaddingXs: string; } interface Theme { shape: Shape; } interface ThemeOptions { shape?: Partial<Shape>; } } const themeOptions: ThemeOptions = { components: { MuiCssBaseline: { styleOverrides: { a: { textDecoration: "none", color: "inherit", }, }, }, MuiFormLabel: { styleOverrides: { root: { "&.Mui-focused": { color: "inherit" }, }, }, }, MuiInputBase: { styleOverrides: { input: { fontSize: "1rem", }, }, }, MuiButtonBase: { defaultProps: { disableRipple: true, }, }, // Bc this change in v5 https://github.com/mui/material-ui/pull/26458 MuiTab: { styleOverrides: { root: { // up-sm "@media screen and (min-width: 600px)": { minWidth: 160, }, }, }, }, MuiTabPanel: { styleOverrides: { root: { padding: 0, paddingTop: spacing(1), }, }, }, }, palette: { background: { default: "#fcfcfc", paper: "#fff", }, common: { black: "#313539", white: "#fcfcfc", }, error: { main: "#ff0000", }, primary: { dark: "#20686c", light: "#6bc4a6", main: "#00a398", }, secondary: { dark: "#fe5e01", light: "#fe982a", main: "#e47701", }, success: { main: "#1ac302", }, grey: { 50: "#f3f3f3", 100: "#aaafb4", 200: "#e9e9e9", 600: "#767676", }, text: { primary: "#313539", secondary: "#767676", }, }, shape: { borderRadius, navPaddingSmUp: `${navBarHeightSmUp}rem`, navPaddingXs: `${navBarHeightXs}rem`, }, spacing: spacing, typography: { allVariants: { lineHeight: 1.5, }, body1: { fontSize: "1rem", //16px }, body2: { fontSize: "0.75rem", //12px }, button: { fontSize: "0.875rem", //14px textTransform: "none", //don't capitalize }, caption: { fontSize: "0.625rem", //10px }, fontFamily: "Ubuntu, sans-serif", h1: { fontSize: "1.25rem", //20px fontWeight: "bold", [breakpoints.up("md")]: { fontSize: "1.5rem", //24px }, }, h1Large: { fontSize: "1.5rem", //24px [breakpoints.up("md")]: { fontSize: "75rem", //28px }, }, h2: { fontSize: "1rem", //16px fontWeight: "bold", [breakpoints.up("md")]: { fontSize: "1.25rem", //20px }, }, h3: { fontSize: "0.875rem", //14px fontWeight: "bold", [breakpoints.up("md")]: { fontSize: "1rem", //16px }, }, h4: { fontSize: "0.75rem", //12px fontWeight: "bold", [breakpoints.up("md")]: { fontSize: "0.875rem", //14px }, }, h5: { fontSize: "0.75rem", //12px fontWeight: "bold", [breakpoints.up("md")]: { fontSize: "0.875rem", //14px }, }, h6: { fontSize: "0.75rem", //12px fontWeight: "bold", [breakpoints.up("md")]: { fontSize: "0.875rem", //14px }, }, overline: { fontSize: "0.875rem", //14px fontStyle: "italic", [breakpoints.up("md")]: { fontSize: "1rem", //14px }, }, subtitle1: { fontSize: "1rem", //16px }, }, }; export const theme = createTheme(themeOptions); |