README file from
GithubMonokai Syntax
Monokai Syntax is a Monokai Pro inspired theme for Obsidian. It is designed for code learning notes, long-form technical writing, and daily knowledge work where reading mode, Live Preview, file navigation, code blocks, callouts, Graph view, and Canvas should feel like one coherent workspace.

Version
Current version: 1.1.9
Minimum Obsidian version: 1.5.8
What's New In 1.1.9
- Performance: file-tree active indicator moved from
inset box-shadowto a composited::afterbar (opacity+scaleY), eliminating repaint cost on high-frequency tree transitions;will-change: background-sizeremoved from links. - Consistency: code
Copybutton now uses progressive disclosure in both Reading and Source/Live Preview (opacity 0.3at rest,1on hover/focus); link underline animation scoped from globalbody ato note content only (.markdown-rendered/.cm-link), keeping globala:focus-visiblefor UI links. - Engineering: 7 unused SCSS variables removed; duplicate selectors merged via
:is(); verify/test assertions updated to the new:is()/::afterstructure.
For older versions, see CHANGELOG.md.
Highlights
- Monokai Pro Default (Pro/Octagon #2D2A2E) dark palette and a tuned Light paper palette (
#FAF8F2). - Style Settings palette selector with
Follow system,Pro(default), andLight; single-sourcemonokai-filtermixin covering 80 semantic tokens. - CodeMirror 6 syntax mapped to spectrum
#FF6188 #FC9867 #FFD866 #A9DC76 #78DCE8 #AB9DF2; keyword-only italic by default, optional type/decorator italics. - Reading mode and Live Preview share semantic spacing, typography, code, callout, blockquote, tag, task, table, and link variables.
- CJK-friendly font stacks:
Inter + Noto Sans SC / PingFang SCandFira Code + JetBrains Mono / Maple Mono. - File tree icons for Markdown, project, config, code and Obsidian files; first-level keeps native chevron, nested uses Monokai marker.
- Code learning callouts for
concept,syntax,api,debug,pitfall,exercise,answer,source,output, andterminal; rail style with6%/12%sidebar tokens. - Task states, API parameter tables (responsive,
anywherewrap), inline code, code blocks (distinct light background), Mermaid, Math, Dataview, embeds, images, tags, links and footnotes optimized for technical notes. - Graph view, Canvas, Ribbon, tabs, modals, search, settings and plugin surfaces follow the same tokens; no remote assets, icon font bundled as inline
woff(swap,woff2auto). - Full verification:
check:contrast(30 pairs),audit:css(no!important/remote),verify:palette/active-visualand 39 unit tests.
License
MIT. See LICENSE.md.
