From d48e8d888b443d4e1ffd48385079a576e5d47838 Mon Sep 17 00:00:00 2001 From: Ellpeck Date: Tue, 29 Mar 2022 14:07:25 +0200 Subject: [PATCH] added a twitter preset --- README.md | 1 + src/settings.ts | 8 ++++++++ 2 files changed, 9 insertions(+) diff --git a/README.md b/README.md index 094c27b..eef0760 100644 --- a/README.md +++ b/README.md @@ -18,6 +18,7 @@ By default, Custom Frames comes with a few presets that allow you to get new pan - [Obsidian Forum](https://forum.obsidian.md/) - [Google Keep](https://keep.google.com), optimized for a narrow pane on the side - [Notion](https://www.notion.so/) (it's recommended to close Notion's sidebar if used as a side pane) +- [Twitter](https://twitter.com) If you create a frame that you think other people would like, don't hesitate to create a pull request with [a new preset](https://github.com/Ellpeck/ObsidianCustomFrames/blob/master/src/settings.ts#L5). diff --git a/src/settings.ts b/src/settings.ts index d8297a8..ac3beca 100644 --- a/src/settings.ts +++ b/src/settings.ts @@ -29,6 +29,14 @@ export const presets: Record = { hideOnMobile: true, minimumWidth: 400, customCss: "" + }, + "twitter": { + url: "https://twitter.com", + displayName: "Twitter", + icon: "twitter", + hideOnMobile: true, + minimumWidth: 400, + customCss: "" } };