Starlight Changelog
0.8.0
Minor Changes
-
#529
c2d0e7f
Thanks @delucis! - For improved compatibility with Tailwind, some Starlight built-in class names are now prefixed with"sl-"
.While not likely, if you were relying on one of these internal class names in your own components or custom CSS, you will need to update to use the prefixed version.
- Before:
flex
,md:flex
,lg:flex
,block
,md:block
,lg:block
,hidden
,md:hidden
,lg:hidden
. - After:
sl-flex
,md:sl-flex
,lg:sl-flex
,sl-block
,md:sl-block
,lg:sl-block
,sl-hidden
,md:sl-hidden
,lg:sl-hidden
.
- Before:
-
#593
5b8af95
Thanks @delucis! - Add announcement banner feature -
#516
70a32a1
Thanks @kevinzunigacuellar! - Support adding badges to sidebar links from config file and frontmatter
Patch Changes
0.7.3
Patch Changes
-
#525
87caf21
Thanks @delucis! - Improve inline code and code block support in RTL languages -
#537
56c19bc
Thanks @carlgleisner! - Add Swedish UI translations. -
#528
f5e5503
Thanks @jsparkdev! - add Korean language support
0.7.2
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.
0.7.1
Patch Changes
-
#488
da35556
Thanks @mayank99! - Improved accessibility of LinkCard by only including the title as part of the link text, and using a pseudo-element to keep the card clickable. -
#489
35cd82e
Thanks @HiDeoo! - Respecthidden
sidebar frontmatter property when no sidebar configuration is provided
0.7.0
Minor Changes
-
#441
0119a49
Thanks @lorenzolewis! - Add support for hiding entries from an autogenerated sidebar:---title: About this projectsidebar: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
0.6.1
Patch Changes
-
#442
42c0abd
Thanks @HiDeoo! - Increase Markdown table border contrast -
#443
cb8bcec
Thanks @delucis! - Add icons for Bitbucket, Gitter, CodePen, and Microsoft Teams -
#445
a80e180
Thanks @HiDeoo! - Prevent repeated table of contents mark on mobile
0.6.0
Minor Changes
-
#424
4485d90
Thanks @delucis! - Add support for customising autogenerated sidebar link labels from page frontmatter, overriding the page title:---title: About this projectsidebar: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 firstsidebar: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
0.5.6
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
0.5.5
Patch Changes
0.5.4
Patch Changes
- #360
8415df6
Thanks @HiDeoo! - Fix build warnings when using the TypeScriptverbatimModuleSyntax
compiler option