fix: address Obsidian review bot issues
- Move inline styles from TypeScript to CSS for better theme compatibility - Remove "Freewriting" from command names to follow Obsidian conventions - Fix TypeScript type casting by properly typing model as AnthropicModel - Update to latest Claude models including Opus 4.1 and Sonnet 4 Changes: • commands/staggeredPrompts.ts: Replace inline styles with CSS class • main.ts: Rename commands to "Show Staggered Prompts" and "Add Note Prompts" • settings.ts: Remove 'as any' cast and update default model • styles.css: Add .freewriting-prompt-notice class with proper styling • types.ts: Change model field type from string to AnthropicModel 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
5 files changed
+25
-25
No files matched your search
+9
-6
@@ -1,8 +1,11 @@
|
||||
/*
|
||||
|
||||
This CSS file will be included with your plugin, and
|
||||
available in the app when your plugin is enabled.
|
||||
|
||||
If your plugin does not need CSS, delete this file.
|
||||
|
||||
Freewriting Prompts Plugin Styles
|
||||
*/
|
||||
|
||||
/* Styling for staggered prompt notifications */
|
||||
.freewriting-prompt-notice {
|
||||
max-width: 400px !important;
|
||||
white-space: pre-wrap !important;
|
||||
font-size: 14px !important;
|
||||
line-height: 1.4 !important;
|
||||
}
|
||||
Reference in new issue
Block a user