Repository navigation
UI Update - Better editor and animations - #49
Merged
Merged
Conversation
Editor (Obsidian-style source mode): - Remove markdownStylingPlugin (no AST-based line decorations) - Switch from Space Grotesk to monospace font (SF Mono/Menlo/Consolas) - Reduce padding (1.5rem/2rem), line-height (1.6), font-size (14px) - Strip all size/weight/style from syntax highlighting (color-only) - Text-colored cursor, minimal active line highlight LaTeX/KaTeX rendering fix: - Reorder rehype plugins: sanitize BEFORE katex (per official docs) - Custom schema allows math-inline/math-display classes through sanitizer - KaTeX runs after sanitization so its HTML output is never stripped
ChatGPT copied text often wraps LaTeX in plain parentheses like (\displaystyle \iiint_V f(x,y,z), dV) instead of \(...\). Add convertParenMath() that scans for balanced paren groups whose content starts with a LaTeX command (\word). Avoids false positives by requiring the opening ( to NOT be preceded by a word character (so f(x) is never converted). Also fix rehype plugin order per official docs: run rehype-sanitize BEFORE rehype-katex so KaTeX HTML output is never stripped.
- Inline math: 1.05em -> 1.15em - Display math: 1.08em -> 1.3em - More vertical padding on display blocks
Settings: - Remove all fake/demo settings (Default View, Sidebar Position, Language, Notifications, Color Mode) that had no backing state - Remove sidebar tab navigation (only one real section) - Keep only theme selection which actually works - Flat single-page layout, no bordered cards Trash: - Remove heavy bordered container and oversized icon backgrounds - Tighter spacing, smaller icons, simpler row layout - All functionality preserved (restore, delete, empty)
refactor(ui): minimize settings and trash pages
- Replace #f48c25 accent with #a1a1aa (zinc-400) in Cinder Dark - Replace #d97706 accent with #52525b (zinc-600) in Cinder Light - Update all hardcoded orange in EditorHeader to use CSS variable - Update manual save indicator in EditorStatusBar to zinc - Update Settings theme preview accent colors - Remove empty 3-dot kebab menu button from EditorHeader - Remove unused MoreVertical import
- Added dynamic padding for macOS traffic lights when sidebar is hidden - Added smooth CSS grid transition for folder expand/collapse in File Explorer - Added slide-up fade-in entrance animation for editor tabs - Added isMac environment detection utility
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this PR do?
Fixed editor glitches and gave it a new polished look
Related issue
Fixes #
Checklist