From 04ab4991543b0c9ee110b005412d8856c5bd8a6a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Ekstr=C3=B6m?= Date: Wed, 5 Apr 2023 15:25:12 +0200 Subject: [PATCH] Add textVariants to docs --- .../docs/fundamentals/defining-your-theme.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/documentation/docs/fundamentals/defining-your-theme.md b/documentation/docs/fundamentals/defining-your-theme.md index 2da373e3..bd834e1a 100644 --- a/documentation/docs/fundamentals/defining-your-theme.md +++ b/documentation/docs/fundamentals/defining-your-theme.md @@ -34,6 +34,19 @@ const theme = createTheme({ l: 24, xl: 40, }, + textVariants: { + header: { + fontWeight: 'bold', + fontSize: 34, + }, + body: { + fontSize: 16, + lineHeight: 24, + }, + defaults: { + // We can define a default text variant here. + }, + }, }); export type Theme = typeof theme;