Compare commits

...

5 commits

Author SHA1 Message Date
Erica Xu
c6916db84b Bump version. 2025-10-02 14:40:50 -04:00
Erica Xu
195e4df1b6
Merge pull request #8 from kashi618/master
Fixed Fix for Textbox Not Appearing
2025-10-02 14:28:46 -04:00
kashi618
831826d071 Added quotes, fixed formatting
More quotes for idle and writing mode.
Format for quotes also fixed.
2024-11-20 13:06:42 +00:00
kashi618
c1d71da4f9 Fixed Textbox Not Appearing 2024-11-19 12:19:37 +00:00
Erica Xu
6e2384a001 Fix typo 2023-04-01 17:06:24 -04:00
3 changed files with 30 additions and 21 deletions

38
main.ts
View file

@ -26,27 +26,29 @@ const GEMMY_IDLE_QUOTES = [
"You have plugins that you can update!", "You have plugins that you can update!",
"Hi I'm Gemmy! Like Clippy but shinier!", "Hi I'm Gemmy! Like Clippy but shinier!",
"Everything is connected. Everything.", "Everything is connected. Everything.",
`It looks like youre writing a note., "Cant decide which note to work on? Try the Random Note core plugin!",
"Are you sure you dont want to upload all your notes just so we can chat?",
Would you like help? "How tall would all your notes be if you stacked them up?",
- Get help with writing the note "Wanna teach me to say things? Find me on GitHub and open a pull request!",
- Just type the note without help "Have you considered using Comic Sans?",
- [ ] Dont show me this tip again`, "A blank page is just a masterpiece in waiting"
'Cant decide which note to work on? Try the Random Note core plugin!',
'Are you sure you dont want to upload all your notes just so we can chat?',
'How tall would all your notes be if you stacked them up?',
'Wanna teach me to say things? Find me on GitHub and open a pull request!',
'Have you considered using Comic Sans?'
]; ];
const WRITING_MODE_QUOTES = [ const WRITING_MODE_QUOTES = [
`Is that the best you can do? Keep writing!`, "Is that the best you can do? Keep writing!",
`Write first, editor later.`, "Write first, edit later.",
`I love hearing your keyboard. Don't stop.`, "I love hearing your keyboard. Don't stop.",
`How about we review some old notes today?`, "How about we review some old notes today?",
`Stuck? Try journaling what happened today and see if that gives you inspiration.`, "Stuck? Try journaling what happened today and see if that gives you inspiration.",
`Maybe it's time to go get some water or coffee.`, "Maybe it's time to go get some water or coffee.",
`Anything is better than a blank page, even me. Write something!` "Anything is better than a blank page, even me. Write something!",
"Oh, taking a break? Dont let the ideas get cold!",
"Whats this? Writers block already?",
"Youve got this! Every keystroke is a step closer to brilliance.",
"Youre doing amazing! Keep the momentum going.",
"Bold choice to open Obsidian and then do absolutely nothing.",
"Is this a journal or a staring contest with the cursor?",
"Hmm, I didnt realize staring at the screen was a new note-taking strategy."
]; ];
const BUBBLE_DURATION = 5000; const BUBBLE_DURATION = 5000;

View file

@ -1,7 +1,7 @@
{ {
"id": "gemmy", "id": "gemmy",
"name": "Gemmy", "name": "Gemmy",
"version": "0.0.3", "version": "1.0.1",
"minAppVersion": "0.15.0", "minAppVersion": "0.15.0",
"description": "2023 April Fool's plugin brought to you by Obsidian", "description": "2023 April Fool's plugin brought to you by Obsidian",
"author": "Obsidian", "author": "Obsidian",

View file

@ -15,6 +15,9 @@ If your plugin does not need CSS, delete this file.
position: fixed; position: fixed;
bottom: 30px; bottom: 30px;
right: 30px; right: 30px;
display: flex;
flex-direction: column;
align-items: flex-end;
} }
.gemmy-container img { .gemmy-container img {
@ -23,10 +26,14 @@ If your plugin does not need CSS, delete this file.
border-radius: var(--gemmy-size); border-radius: var(--gemmy-size);
} }
.gemmy-tooltip { .gemmy-container[aria-label]::before {
--background-modifier-message: #FFFFCB; --background-modifier-message: #FFFFCB;
content: attr(aria-label);
color: #202020; color: #202020;
font-size: var(--font-ui-medium); font-size: var(--font-ui-medium);
border-radius: 20px; border-radius: 20px;
padding: var(--size-4-3) var(--size-4-6); padding: var(--size-4-3) var(--size-4-6);
} width: 150px;
background: var(--background-modifier-message);
}