@astrojs/starlight@0.0.10
astrobot-houston
released this
23 May 13:24
·
1842 commits
to main
since this release
Patch Changes
-
#78
d3ee6fc
Thanks @delucis! - Add support for customising and translating Starlight鈥檚 UI.Users can provide translations in JSON files in
src/content/i18n/
which is a data collection. For example, asrc/content/i18n/de.json
might translate the search UI:{ "search.label": "Suchen", "search.shortcutLabel": "(Dr眉cke / zum Suchen)" }
This change also allows Starlight to provide built-in support for more languages than just English and adds German & Spanish support.
-
#76
5e82073
Thanks @lloydjatkinson! - Scale down code block font size to match Figma design -
#78
d3ee6fc
Thanks @delucis! - Require a minimum Astro version of 2.5.0