Skip to content

I have to customize the font to Roboto now? #623

@Rc85

Description

@Rc85
<ThemeProvider theme={theme}>
  <SnackbarProvider>
    <App />
  </SnackbarProvider>
</ThemeProvider>

// inside App
const { enqueueSnackbar } = useSnackbar();

enqueueSnackbar('Hello');

Font is times new roman.

I have to follow the override style in customization on the website to change fontFamily to Roboto.

In this the case now? Or am I doing something wrong?

I am building my app using Next.js app router and getting my fonts using inside

<head>
        <link rel='preconnect' href='https://fonts.googleapis.com' />
        <link rel='preconnect' href='https://fonts.gstatic.com' />
        <link
          href='https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap'
          rel='stylesheet'
        />
</head>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions