diff options
| author | Armand Philippot <git@armandphilippot.com> | 2022-05-22 17:39:39 +0200 |
|---|---|---|
| committer | Armand Philippot <git@armandphilippot.com> | 2022-05-22 17:39:39 +0200 |
| commit | 3ed7f185e82c0cc87c63b75dc8cddfecc5c608ce (patch) | |
| tree | b1b314cec900ebb3f671269f6fc9560242e90a0a /src/styles | |
| parent | 321dae4a47594af83269fa560b375965d7f35763 (diff) | |
chore(storybook): use custom themes and add dark mode support
Diffstat (limited to 'src/styles')
| -rw-r--r-- | src/styles/base/_base.scss | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/styles/base/_base.scss b/src/styles/base/_base.scss index 25ef393..1ec5494 100644 --- a/src/styles/base/_base.scss +++ b/src/styles/base/_base.scss @@ -70,14 +70,6 @@ body { flex-flow: column nowrap; min-height: 100vh; background: var(--color-bg); - border-top: max(0.4vw, fun.convert-px(6)) solid; - border-bottom: max(0.4vw, fun.convert-px(6)) solid; - border-image: radial-gradient( - ellipse at center, - var(--color-primary-lighter) 20%, - var(--color-primary) 100% - ) - 1; color: var(--color-fg); font-family: var(--font-family-primary); font-size: var(--font-size-md); @@ -89,4 +81,12 @@ body { display: flex; flex-flow: column nowrap; height: 100%; + border-top: max(0.4vw, fun.convert-px(6)) solid; + border-bottom: max(0.4vw, fun.convert-px(6)) solid; + border-image: radial-gradient( + ellipse at center, + var(--color-primary-lighter) 20%, + var(--color-primary) 100% + ) + 1; } |
