From fab453c27a26a3928c0b355306d45b313a5fc531 Mon Sep 17 00:00:00 2001 From: Chris Swithinbank Date: Sun, 4 Jun 2023 21:13:03 +0200 Subject: Tweak sidebar styles after feedback --- .changeset/ninety-singers-bow.md | 5 +++++ packages/starlight/components/SidebarSublist.astro | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) create mode 100644 .changeset/ninety-singers-bow.md diff --git a/.changeset/ninety-singers-bow.md b/.changeset/ninety-singers-bow.md new file mode 100644 index 00000000..fe492fcd --- /dev/null +++ b/.changeset/ninety-singers-bow.md @@ -0,0 +1,5 @@ +--- +"@astrojs/starlight": patch +--- + +Design tweak: larger sidebar text with more spacing diff --git a/packages/starlight/components/SidebarSublist.astro b/packages/starlight/components/SidebarSublist.astro index 762ee446..3925a91f 100644 --- a/packages/starlight/components/SidebarSublist.astro +++ b/packages/starlight/components/SidebarSublist.astro @@ -74,7 +74,7 @@ interface Props { border-radius: 0.25rem; text-decoration: none; color: var(--sl-color-gray-2); - padding-inline: var(--sl-sidebar-item-padding-inline); + padding: 0.1em var(--sl-sidebar-item-padding-inline); } a:hover, @@ -98,7 +98,7 @@ interface Props { font-size: var(--sl-text-base); } a { - font-size: var(--sl-text-xs); + font-size: var(--sl-text-sm); } } -- cgit