diff --git a/src/lib/components/Navbar.svelte b/src/lib/components/Navbar.svelte index d0f81e17..d70db22a 100644 --- a/src/lib/components/Navbar.svelte +++ b/src/lib/components/Navbar.svelte @@ -125,9 +125,9 @@ ); }} /> - Playground - more features, no account required + + Playground - more features, no account required + {/if} @@ -180,17 +180,16 @@ --> - - - - - + - Toggle theme + + + + {@render children()} diff --git a/src/lib/components/ui/button/button.svelte b/src/lib/components/ui/button/button.svelte index a9182a98..ce12343a 100644 --- a/src/lib/components/ui/button/button.svelte +++ b/src/lib/components/ui/button/button.svelte @@ -12,6 +12,7 @@ outline: 'border-input bg-background hover:bg-accent hover:text-accent-foreground border shadow-sm', secondary: 'bg-secondary text-secondary-foreground hover:bg-secondary/80 shadow-sm', + accent: 'bg-accent text-accent-foreground hover:bg-accent/80 shadow-sm', ghost: 'hover:bg-primary hover:text-primary-foreground', link: 'text-primary underline-offset-4 hover:underline' }, diff --git a/src/routes/edit/+page.svelte b/src/routes/edit/+page.svelte index 74d654f2..4a009bba 100644 --- a/src/routes/edit/+page.svelte +++ b/src/routes/edit/+page.svelte @@ -133,12 +133,13 @@ - Share + Share {#if env.isEnabledMermaidChartLinks}