Releases: withastro/starlight
@astrojs/[email protected]
Patch Changes
-
#506
5e3133c
Thanks @HiDeoo! - Improve table of content current item highlight behavior -
#499
fcff49e
Thanks @D3vil0p3r! - Add icons for Instagram -
#502
3c87a16
Thanks @Mrahmani71! - Add Farsi UI translations -
#496
cd28392
Thanks @lorenzolewis! - FixlastUpdated
date position to be consistent -
#402
d8669b8
Thanks @chopfitzroy! - Fix content sometimes appearing above the mobile table of contents.
@astrojs/[email protected]
@astrojs/[email protected]
Patch Changes
@astrojs/[email protected]
Minor Changes
-
#441
0119a49
Thanks @lorenzolewis! - Add support for hiding entries from an autogenerated sidebar:--- title: About this project sidebar: hidden: true ---
-
#470
d076aec
Thanks @delucis! - Drop support for the--sl-hue-accent
CSS custom property.⚠️ BREAKING CHANGE — In previous Starlight versions you could control the accent color by setting the--sl-hue-accent
custom property. This could result in inaccessible color contrast and unpredictable results.You must now set accent colors directly. If you relied on setting
--sl-hue-accent
, migrate by setting light and dark mode colors in your custom CSS::root { --sl-hue-accent: 234; --sl-color-accent-low: hsl(var(--sl-hue-accent), 54%, 20%); --sl-color-accent: hsl(var(--sl-hue-accent), 100%, 60%); --sl-color-accent-high: hsl(var(--sl-hue-accent), 100%, 87%); } :root[data-theme='light'] { --sl-color-accent-high: hsl(var(--sl-hue-accent), 80%, 30%); --sl-color-accent: hsl(var(--sl-hue-accent), 90%, 60%); --sl-color-accent-low: hsl(var(--sl-hue-accent), 88%, 90%); }
The new color theme editor might help if you’d prefer to set a new color scheme.
-
#397
73eb5e6
Thanks @lorenzolewis! - AddLinkCard
component
Patch Changes
-
#460
2e0fb90
Thanks @HiDeoo! - Fix current page highlight in sidebar for URLs with no trailing slash -
#467
461a5d5
Thanks @delucis! - Fix type error for downstreamtsc
users -
#475
06a205e
Thanks @Yan-Thomas! - Locales whose language tag includes a regional subtag now use built-in UI translations for their base language. For example, a locale with a language ofpt-BR
will use ourpt
UI translations. -
#473
6a7692a
Thanks @HiDeoo! - Fix issue with nested<Tabs>
components
@astrojs/[email protected]
@astrojs/[email protected]
@astrojs/[email protected]
Minor Changes
-
#424
4485d90
Thanks @delucis! - Add support for customising autogenerated sidebar link labels from page frontmatter, overriding the page title:--- title: About this project sidebar: label: About ---
-
#359
e733311
Thanks @IDurward! - Add support for defining the order of auto-generated link groups in the sidebar using a frontmatter value:--- title: Page to display first sidebar: order: 1 ---
Patch Changes
-
#413
5a9d8f1
Thanks @delucis! - Fix site title overflow bug for longer titles on narrow screens -
#381
6e62909
Thanks @lorenzolewis! - Preserve order ofsocial
config in navbar -
#419
38ff53c
Thanks @lorenzolewis! - Improve styling of sidebar entries that wrap onto multiple lines -
#418
c7b2a4e
Thanks @delucis! - Settab-size: 2
on content code blocks to override default browser value of8
-
#399
31b8a5a
Thanks @HiDeoo! - Add new globalfavicon
option defaulting to'/favicon.svg'
to set the path of the default favicon for your website. Additional icons can be specified using thehead
option. -
#414
e951671
Thanks @delucis! - Add GitLab to social link icons
@astrojs/[email protected]
Patch Changes
-
#383
0ebc47e
Thanks @delucis! - Fix edge case where index files in an index directory would end up with the wrong slug -
#373
308b3aa
Thanks @lorenzolewis! - Fix visual overflow for wide logos -
#385
fb35397
Thanks @lorenzolewis! - Fix nested elements in markdown content -
#386
e6f6f30
Thanks @huijing! - Prevent search keyboard shortcuts from triggering when input elements are focused
@astrojs/[email protected]
@astrojs/[email protected]
Patch Changes
- #360
8415df6
Thanks @HiDeoo! - Fix build warnings when using the TypeScriptverbatimModuleSyntax
compiler option