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 e0bf13c684d..9db0170b860 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 90fb19abfd3..05d538d732e 100644 --- a/src/client/theme-default/support/socialIcons.ts +++ b/src/client/theme-default/support/socialIcons.ts @@ -11,6 +11,8 @@ export const icons = { 'Instagram', linkedin: 'LinkedIn', + mastodon: + 'Mastodon', slack: 'Slack', twitter: diff --git a/types/default-theme.d.ts b/types/default-theme.d.ts index 387385ace67..f62f8a626fa 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'