From 6f9162a3005aa848c2a51309cc6c1797581e7870 Mon Sep 17 00:00:00 2001 From: Rom Date: Tue, 27 Aug 2019 22:06:42 +0200 Subject: [PATCH] Migration to typography v2 Ensure compatibility with upcoming typography v2. --- src/getPageContext.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/getPageContext.ts b/src/getPageContext.ts index 9d2a3a5..8071eef 100644 --- a/src/getPageContext.ts +++ b/src/getPageContext.ts @@ -15,6 +15,9 @@ export interface PageContext { } const theme = createMuiTheme({ + typography: { + useNextVariants: true, + }, palette: { primary: { light: "#66e1c2",