> For the complete documentation index, see [llms.txt](https://codedthemes.gitbook.io/berry/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://codedthemes.gitbook.io/berry/theme/theme-config/typography.md).

# Typography

#### Customize Theme Typography

You can customize the typography used in the theme as well from the central place.

For instance, if you want to change `font-weight` the typography `h5` to.`900` To do that, open **`src\themes\typography.tsx`** and update as below:

{% code title="typography.tsx" %}

```typescript
// material-ui
import { TypographyVariantsOptions } from '@mui/material/styles';

/**
 * Typography used in the theme
 */
  
export default function Typography(fontFamily: FontFamily): TypographyVariantsOptions {
    return {
        fontFamily,
        ...
        h5: {
            ...
            fontWeight: 900 // changed this to make it 900 from 500
        },
        ...
    };
});
```

{% endcode %}

This will apply to all places where you used Typography variants as **`h5`**

**`<Typography variant="h5"...>`**
