From d15791a3d8a4d86334b9946fad86efda0bb77fea Mon Sep 17 00:00:00 2001 From: Owen Buckley Date: Fri, 8 Nov 2024 22:05:19 -0500 Subject: [PATCH] content/blog post init code block and scrollbar styling (#130) --- src/pages/blog/release/v0-30-0.md | 8 +++++++- src/styles/theme.css | 2 ++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/src/pages/blog/release/v0-30-0.md b/src/pages/blog/release/v0-30-0.md index 42f238b..9e9b55f 100644 --- a/src/pages/blog/release/v0-30-0.md +++ b/src/pages/blog/release/v0-30-0.md @@ -167,10 +167,16 @@ The above highlights are by no means the only features delivered in this release ### Init Refresh -We gave the initial scaffolding output when running our `@greenwood/init` command a refresh. It now comes with some useful starter code and links to the website for common documentation resources. Try it out today using `npx @greenwood/init@latest my-app`! +We gave the initial scaffolding output when running our `@greenwood/init` command a refresh. It now comes with some useful starter code and links to the website for common documentation resources. ![Greenwood Init Refresh](/assets/blog/greenwood-init-refresh.webp) +Try it out today! + +```shell +$ npx @greenwood/init@latest my-app +``` + ### Lit SSR Enhancements In this release, we upgraded our Lit SSR plugin to support Lit v3 and addressed some bugs with our existing implementation. Checkout out the [plugin docs](/docs/plugins/lit-ssr/) for more info and check out our [demo repo](https://github.com/thescientist13/greenwood-lit-ssr) to see it all in action. diff --git a/src/styles/theme.css b/src/styles/theme.css index 7f6a34e..4f15b1f 100644 --- a/src/styles/theme.css +++ b/src/styles/theme.css @@ -91,6 +91,8 @@ pre { padding: 0px 4px; display: inline-block; border-radius: var(--radius-2); + scrollbar-width: thin; + scrollbar-color: var(--color-gray) transparent; } [popover] {