diff --git a/Showcase.svelte b/Showcase.svelte index 28ccc0f..8c62dba 100644 --- a/Showcase.svelte +++ b/Showcase.svelte @@ -18,6 +18,7 @@ import Button from "./Button.svelte"; import Checkbox from "./Checkbox.svelte"; import Dropdown from "./Dropdown.svelte"; + import Emoji from "./Emoji.svelte"; import IdentifierLink from "./IdentifierLink.svelte"; import LoadingAnimation from "./LoadingAnimation.svelte"; import SegmentedControl from "./SegmentedControl.svelte"; @@ -242,6 +243,27 @@ margin-bottom: 32px; align-items: flex-end; } + + .sidebar { + width: var(--sidebar-width); + height: 100%; + background-color: var(--color-foreground-level-2); + position: fixed; + z-index: 10; + display: flex; + flex-direction: column; + align-items: start; + gap: 1.5rem; + padding-top: 3rem; + padding-left: 2rem; + } + + .sidebar a { + display: inline-flex; + gap: 1rem; + justify-content: center; + align-items: center; + } @@ -256,12 +278,27 @@
+
-

Primitives

- -
+
{#each colorGroups as colorGroup}
{#each colors.filter(color => { @@ -273,18 +310,13 @@ {/each}
-
+
{#each elevations as elevation} {/each}
-
+

Radicle Design System

@@ -351,7 +383,7 @@
-
+
{#await importIconComponents(icons) then icons} @@ -364,9 +396,7 @@
-
+
@@ -465,11 +495,7 @@
-
-
@@ -578,11 +604,7 @@ placeholder="Select option..." disabled={true} />
- -

Components

- -
@@ -606,11 +628,7 @@
-
-
{}, }} />
-
-
-
-

{title}

-

{subTitle}

-
+
+

{title}

diff --git a/static/global.css b/static/global.css index 5ce0390..f1230fb 100644 --- a/static/global.css +++ b/static/global.css @@ -25,7 +25,7 @@ body { } :root { - --sidebar-width: 4rem; + --sidebar-width: 16rem; --topbar-height: 4rem; --bigheader-height: 16.5rem; --content-min-width: 30rem;