From 8d43d374fbeefc20f3b3ea931f29ba5203e7d5a4 Mon Sep 17 00:00:00 2001 From: Damola Obaleke <45045727+damolaobaleke@users.noreply.github.com> Date: Wed, 27 Jul 2022 11:06:26 -0700 Subject: [PATCH 1/2] Update app-custom-theme.md Updating syntax in doc for clean up of Theme object Signed-off-by: Damola Obaleke <45045727+damolaobaleke@users.noreply.github.com> --- docs/getting-started/app-custom-theme.md | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/docs/getting-started/app-custom-theme.md b/docs/getting-started/app-custom-theme.md index 1a6658f0b2..79fd37ee94 100644 --- a/docs/getting-started/app-custom-theme.md +++ b/docs/getting-started/app-custom-theme.md @@ -136,15 +136,15 @@ const myTheme = createTheme({ fontFamily: 'Comic Sans MS', /* below drives the header colors */ pageTheme: { - home: genPageTheme(['#8c4351', '#343b58'], shapes.wave), - documentation: genPageTheme(['#8c4351', '#343b58'], shapes.wave2), - tool: genPageTheme(['#8c4351', '#343b58'], shapes.round), - service: genPageTheme(['#8c4351', '#343b58'], shapes.wave), - website: genPageTheme(['#8c4351', '#343b58'], shapes.wave), - library: genPageTheme(['#8c4351', '#343b58'], shapes.wave), - other: genPageTheme(['#8c4351', '#343b58'], shapes.wave), - app: genPageTheme(['#8c4351', '#343b58'], shapes.wave), - apis: genPageTheme(['#8c4351', '#343b58'], shapes.wave), + home: genPageTheme({ colors: ['#8c4351', '#343b58'], shape: shapes.wave}), + documentation: genPageTheme({ colors: ['#8c4351', '#343b58'], shape: shapes.wave2}), + tool: genPageTheme({ colors: ['#8c4351', '#343b58'], shape: shapes.round}), + service: genPageTheme({ colors: ['#8c4351', '#343b58'], shape: shapes.wave}), + website: genPageTheme({ colors: ['#8c4351', '#343b58'], shape: shapes.wave}), + library: genPageTheme({ colors: ['#8c4351', '#343b58'], shape: shapes.wave}), + other: genPageTheme({ colors: ['#8c4351', '#343b58'], shape: shapes.wave}), + app: genPageTheme({ colors: ['#8c4351', '#343b58'], shape: shapes.wave}), + apis: genPageTheme({ colors: ['#8c4351', '#343b58'], shape: shapes.wave}), }, }); ``` From c333ffd2c3bdc7fb4a2d4bddb0f0388ef781d09c Mon Sep 17 00:00:00 2001 From: blam Date: Thu, 28 Jul 2022 11:13:19 +0200 Subject: [PATCH 2/2] =?UTF-8?q?chore:=20prettify!=20=F0=9F=AA=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: blam --- docs/getting-started/app-custom-theme.md | 30 +++++++++++++++++------- 1 file changed, 21 insertions(+), 9 deletions(-) diff --git a/docs/getting-started/app-custom-theme.md b/docs/getting-started/app-custom-theme.md index 79fd37ee94..da4f10a64b 100644 --- a/docs/getting-started/app-custom-theme.md +++ b/docs/getting-started/app-custom-theme.md @@ -136,15 +136,27 @@ const myTheme = createTheme({ fontFamily: 'Comic Sans MS', /* below drives the header colors */ pageTheme: { - home: genPageTheme({ colors: ['#8c4351', '#343b58'], shape: shapes.wave}), - documentation: genPageTheme({ colors: ['#8c4351', '#343b58'], shape: shapes.wave2}), - tool: genPageTheme({ colors: ['#8c4351', '#343b58'], shape: shapes.round}), - service: genPageTheme({ colors: ['#8c4351', '#343b58'], shape: shapes.wave}), - website: genPageTheme({ colors: ['#8c4351', '#343b58'], shape: shapes.wave}), - library: genPageTheme({ colors: ['#8c4351', '#343b58'], shape: shapes.wave}), - other: genPageTheme({ colors: ['#8c4351', '#343b58'], shape: shapes.wave}), - app: genPageTheme({ colors: ['#8c4351', '#343b58'], shape: shapes.wave}), - apis: genPageTheme({ colors: ['#8c4351', '#343b58'], shape: shapes.wave}), + home: genPageTheme({ colors: ['#8c4351', '#343b58'], shape: shapes.wave }), + documentation: genPageTheme({ + colors: ['#8c4351', '#343b58'], + shape: shapes.wave2, + }), + tool: genPageTheme({ colors: ['#8c4351', '#343b58'], shape: shapes.round }), + service: genPageTheme({ + colors: ['#8c4351', '#343b58'], + shape: shapes.wave, + }), + website: genPageTheme({ + colors: ['#8c4351', '#343b58'], + shape: shapes.wave, + }), + library: genPageTheme({ + colors: ['#8c4351', '#343b58'], + shape: shapes.wave, + }), + other: genPageTheme({ colors: ['#8c4351', '#343b58'], shape: shapes.wave }), + app: genPageTheme({ colors: ['#8c4351', '#343b58'], shape: shapes.wave }), + apis: genPageTheme({ colors: ['#8c4351', '#343b58'], shape: shapes.wave }), }, }); ```