Skip to content

Commit

Permalink
add font to ory (#4623)
Browse files Browse the repository at this point in the history
  • Loading branch information
d-g-town authored May 8, 2024
1 parent 9d2f22c commit 5aa3214
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion dashboard/src/main/MainWrapper.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,15 @@ import "@ory/elements/dist/style.css";

type PropsType = RouteComponentProps;

const themeOverrides = {
fontFamily: '"Work Sans", sans-serif',
// other theme properties...
};

const MainWrapper: React.FC<PropsType> = ({ history, location }) => {
return (
<ContextProvider history={history} location={location}>
<ThemeProvider themeOverrides={{}}>
<ThemeProvider themeOverrides={themeOverrides}>
<IntlProvider locale="en" defaultLocale="en">
<AuthzProvider>
<AuthnProvider>
Expand Down

0 comments on commit 5aa3214

Please sign in to comment.