Starlight Changelog
0.8.0
Minor Changes
-
#529
c2d0e7fThanks @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
5b8af95Thanks @delucis! - Add announcement banner feature -
#516
70a32a1Thanks @kevinzunigacuellar! - Support adding badges to sidebar links from config file and frontmatter
Patch Changes
0.7.3
Patch Changes
-
#525
87caf21Thanks @delucis! - Improve inline code and code block support in RTL languages -
#537
56c19bcThanks @carlgleisner! - Add Swedish UI translations. -
#528
f5e5503Thanks @jsparkdev! - add Korean language support
0.7.2
Patch Changes
-
#506
5e3133cThanks @HiDeoo! - Improve table of content current item highlight behavior -
#499
fcff49eThanks @D3vil0p3r! - Add icons for Instagram -
#502
3c87a16Thanks @Mrahmani71! - Add Farsi UI translations -
#496
cd28392Thanks @lorenzolewis! - FixlastUpdateddate position to be consistent -
#402
d8669b8Thanks @chopfitzroy! - Fix content sometimes appearing above the mobile table of contents.
0.7.1
Patch Changes
-
#488
da35556Thanks @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
35cd82eThanks @HiDeoo! - Respecthiddensidebar frontmatter property when no sidebar configuration is provided
0.7.0
Minor Changes
-
#441
0119a49Thanks @lorenzolewis! - Add support for hiding entries from an autogenerated sidebar:---title: About this projectsidebar:hidden: true--- -
#470
d076aecThanks @delucis! - Drop support for the--sl-hue-accentCSS custom property.⚠️ BREAKING CHANGE — In previous Starlight versions you could control the accent color by setting the
--sl-hue-accentcustom 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
73eb5e6Thanks @lorenzolewis! - AddLinkCardcomponent
Patch Changes
-
#460
2e0fb90Thanks @HiDeoo! - Fix current page highlight in sidebar for URLs with no trailing slash -
#467
461a5d5Thanks @delucis! - Fix type error for downstreamtscusers -
#475
06a205eThanks @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-BRwill use ourptUI translations. -
#473
6a7692aThanks @HiDeoo! - Fix issue with nested<Tabs>components
0.6.1
Patch Changes
-
#442
42c0abdThanks @HiDeoo! - Increase Markdown table border contrast -
#443
cb8bcecThanks @delucis! - Add icons for Bitbucket, Gitter, CodePen, and Microsoft Teams -
#445
a80e180Thanks @HiDeoo! - Prevent repeated table of contents mark on mobile
0.6.0
Minor Changes
-
#424
4485d90Thanks @delucis! - Add support for customising autogenerated sidebar link labels from page frontmatter, overriding the page title:---title: About this projectsidebar:label: About--- -
#359
e733311Thanks @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
5a9d8f1Thanks @delucis! - Fix site title overflow bug for longer titles on narrow screens -
#381
6e62909Thanks @lorenzolewis! - Preserve order ofsocialconfig in navbar -
#419
38ff53cThanks @lorenzolewis! - Improve styling of sidebar entries that wrap onto multiple lines -
#418
c7b2a4eThanks @delucis! - Settab-size: 2on content code blocks to override default browser value of8 -
#399
31b8a5aThanks @HiDeoo! - Add new globalfaviconoption defaulting to'/favicon.svg'to set the path of the default favicon for your website. Additional icons can be specified using theheadoption. -
#414
e951671Thanks @delucis! - Add GitLab to social link icons
0.5.6
Patch Changes
-
#383
0ebc47eThanks @delucis! - Fix edge case where index files in an index directory would end up with the wrong slug -
#373
308b3aaThanks @lorenzolewis! - Fix visual overflow for wide logos -
#385
fb35397Thanks @lorenzolewis! - Fix nested elements in markdown content -
#386
e6f6f30Thanks @huijing! - Prevent search keyboard shortcuts from triggering when input elements are focused
0.5.5
Patch Changes
0.5.4
Patch Changes
- #360
8415df6Thanks @HiDeoo! - Fix build warnings when using the TypeScriptverbatimModuleSyntaxcompiler option