From 7a737845e5d81a09151320d373a787d2e5f881af Mon Sep 17 00:00:00 2001
From: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
Date: Sun, 25 Dec 2022 18:28:56 +0530
Subject: [PATCH] feat(theme): add mastodon icon (#1736)
---
docs/config/theme-configs.md | 1 +
src/client/theme-default/support/socialIcons.ts | 2 ++
types/default-theme.d.ts | 1 +
3 files changed, 4 insertions(+)
diff --git a/docs/config/theme-configs.md b/docs/config/theme-configs.md
index e0bf13c6..9db0170b 100644
--- a/docs/config/theme-configs.md
+++ b/docs/config/theme-configs.md
@@ -193,6 +193,7 @@ type SocialLinkIcon =
| 'github'
| 'instagram'
| 'linkedin'
+ | 'mastodon'
| 'slack'
| 'twitter'
| 'youtube'
diff --git a/src/client/theme-default/support/socialIcons.ts b/src/client/theme-default/support/socialIcons.ts
index 90fb19ab..05d538d7 100644
--- a/src/client/theme-default/support/socialIcons.ts
+++ b/src/client/theme-default/support/socialIcons.ts
@@ -11,6 +11,8 @@ export const icons = {
'',
linkedin:
'',
+ mastodon:
+ '',
slack:
'',
twitter:
diff --git a/types/default-theme.d.ts b/types/default-theme.d.ts
index 387385ac..f62f8a62 100644
--- a/types/default-theme.d.ts
+++ b/types/default-theme.d.ts
@@ -201,6 +201,7 @@ export namespace DefaultTheme {
| 'github'
| 'instagram'
| 'linkedin'
+ | 'mastodon'
| 'slack'
| 'twitter'
| 'youtube'