From f6ade7d4b5a13b5624069d8563e347db4a640314 Mon Sep 17 00:00:00 2001 From: siddharthkp Date: Fri, 8 May 2020 20:49:20 +0200 Subject: [PATCH] make theme agnostic choices --- packages/docs/src/pages/components/index.js | 45 ++++++++------------- 1 file changed, 17 insertions(+), 28 deletions(-) diff --git a/packages/docs/src/pages/components/index.js b/packages/docs/src/pages/components/index.js index 75cba6e..2d5803f 100644 --- a/packages/docs/src/pages/components/index.js +++ b/packages/docs/src/pages/components/index.js @@ -50,21 +50,16 @@ const Documentation = () => {
- - - Base Element - - + Base Element + { height: '80%', width: '80%', border: '2px dashed', - borderColor: 'grays.200' + borderColor: 'App.borderColor' }} > @@ -85,7 +80,7 @@ const Documentation = () => { height: 6, width: '96px', borderRadius: 1, - backgroundColor: 'grays.200' + backgroundColor: 'App.borderColor' }} /> @@ -224,7 +219,7 @@ const Documentation = () => { css={{ width: '100%', borderBottom: '0.25px solid', - borderColor: 'grays.500' + borderColor: 'App.borderColor' }} /> @@ -298,7 +293,7 @@ const Documentation = () => { css={{ width: '100%', borderBottom: '0.25px solid', - borderColor: 'grays.500' + borderColor: 'App.borderColor' }} /> @@ -342,17 +337,8 @@ const Documentation = () => { { { css={{ width: 'auto', height: '240px', + transitionProperty: 'transform', + transitionDuration: 3, + boxShadow: 1, ':hover': { - backgroundColor: 'grays.100' + boxShadow: 2, + transform: 'scale(1.01)' }, ...css }}