# Baseui responsive typography theme.js ```jsx // Create custom theme import { createTheme, lightThemePrimitives } from 'baseui'; // Responsive typography const overrides = { typography: { HeadingXXLarge: { // H1 [mediaQuery.small]: { fontSize: '28px', }, [mediaQuery.medium]: { fontSize: '36px', }, [mediaQuery.large]: { fontSize: '48px', }, }, }, }; const customTheme = createTheme(lightThemePrimitives, overrides); ``` Root.js ```tsx // Pass custom theme to theme provider <ThemeProvider theme={customTheme}> {...} </ThemeProvider> ```
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up