From 9abf17147e649d06c7cd5ae10624a1e037e27330 Mon Sep 17 00:00:00 2001 From: georgewrmarshall Date: Wed, 11 May 2022 17:31:07 -0700 Subject: [PATCH] Fixing docs --- docs/Shadows.mdx | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/docs/Shadows.mdx b/docs/Shadows.mdx index 1cf21687..40b4defa 100644 --- a/docs/Shadows.mdx +++ b/docs/Shadows.mdx @@ -15,12 +15,12 @@ There are 4 different sizes of shadow in MetaMask. -| Size | JS | CSS | -| ------ | ---------------- | ----------------------- | -| **XS** | `shadow.size.xs` | `var(--shadow-size-xs)` | -| **SM** | `shadow.size.sm` | `var(--shadow-size-sm)` | -| **MD** | `shadow.size.md` | `var(--shadow-size-md)` | -| **LG** | `shadow.size.lg` | `var(--shadow-size-lg)` | +| Size | JS | CSS | +| ------ | ----------------- | ----------------------- | +| **XS** | `shadows.size.xs` | `var(--shadow-size-xs)` | +| **SM** | `shadows.size.sm` | `var(--shadow-size-sm)` | +| **MD** | `shadows.size.md` | `var(--shadow-size-md)` | +| **LG** | `shadows.size.lg` | `var(--shadow-size-lg)` | ## Color @@ -55,7 +55,7 @@ Using both size and color tokens, different shadows can be applied to components The CSS-in-JS `shadows.size` objects for React Native do contain a default color but colors should be overridden so the correct shadow colors are displayed in both light and dark themes. -The `xs` shadow object from `shadows` +The `xs` shadow size object from `shadows` ``` size: {