diff --git a/.changeset/strange-boxes-know.md b/.changeset/strange-boxes-know.md new file mode 100644 index 00000000000..2af4c76d62f --- /dev/null +++ b/.changeset/strange-boxes-know.md @@ -0,0 +1,4 @@ +--- +'@astrojs/starlight': patch +--- +Adds Matrix social link icon diff --git a/packages/starlight/components/Icons.ts b/packages/starlight/components/Icons.ts index 6446a5ae8a0..4aeabd27e80 100644 --- a/packages/starlight/components/Icons.ts +++ b/packages/starlight/components/Icons.ts @@ -101,4 +101,6 @@ export const Icons = { '', slack: '', + matrix: + '', }; diff --git a/packages/starlight/schemas/social.ts b/packages/starlight/schemas/social.ts index 6882f9f8a36..c3ccff8fa27 100644 --- a/packages/starlight/schemas/social.ts +++ b/packages/starlight/schemas/social.ts @@ -25,6 +25,7 @@ export const socialLinks = [ 'reddit', 'patreon', 'slack', + 'matrix', ] as const; export const SocialLinksSchema = () => @@ -65,6 +66,7 @@ export const SocialLinksSchema = () => reddit: 'Reddit', patreon: 'Patreon', slack: 'Slack', + matrix: 'Matrix', }[key]; labelledLinks[key] = { label, url }; }