diff options
author | Chris Swithinbank | 2023-06-04 21:13:03 +0200 |
---|---|---|
committer | Chris Swithinbank | 2023-06-04 21:13:03 +0200 |
commit | fab453c27a26a3928c0b355306d45b313a5fc531 (patch) | |
tree | 4a09807da5aaf9e1bd1f20be028357bec0d12685 | |
parent | 81ef58eac2a53672773d7d564068539190960127 (diff) | |
download | IT.starlight-fab453c27a26a3928c0b355306d45b313a5fc531.tar.gz IT.starlight-fab453c27a26a3928c0b355306d45b313a5fc531.tar.bz2 IT.starlight-fab453c27a26a3928c0b355306d45b313a5fc531.zip |
Tweak sidebar styles after feedback
-rw-r--r-- | .changeset/ninety-singers-bow.md | 5 | ||||
-rw-r--r-- | packages/starlight/components/SidebarSublist.astro | 4 |
2 files changed, 7 insertions, 2 deletions
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); } } </style> |