From 4601449894bbbd619e4149788113090b67697fe1 Mon Sep 17 00:00:00 2001 From: Orhun Parmaksız Date: Wed, 6 Dec 2023 16:32:26 +0100 Subject: Add Matrix social icon (#1203) Co-authored-by: Chris Swithinbank --- .changeset/strange-boxes-know.md | 4 ++++ packages/starlight/components/Icons.ts | 2 ++ packages/starlight/schemas/social.ts | 2 ++ 3 files changed, 8 insertions(+) create mode 100644 .changeset/strange-boxes-know.md diff --git a/.changeset/strange-boxes-know.md b/.changeset/strange-boxes-know.md new file mode 100644 index 00000000..2af4c76d --- /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 6446a5ae..4aeabd27 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 6882f9f8..c3ccff8f 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 }; } -- cgit