A clean, accessible Obsidian theme for academic writing. Built from scratch for clarity, contrast, and ease of use—especially for users with ADHD and/or Dyslexia.
- OpenDyslexic font for improved readability
- High-contrast, distraction-minimizing color palette
- Clear typographic hierarchy for writing and reading
- Custom Sass build for modular and maintainable styling
- Clone or download this theme into your
.obsidian/themes/directory. - Build the CSS: run
npm installonce, thennpm run buildto compilebase.scss→theme.css. - Enable Openlexia in Obsidian via
Settings → Appearance → Themes. - To pick up edits while iterating, re-run
npm run buildand reload snippets/theme in Obsidian.
base.scss: main entry; imports modular settings and component styles.settings/colors-dark.scss,settings/colors-light.scss: single sources of truth for color swatches.settings/code-colors.scss: exposes code/inline-code colors as CSS vars per theme.settings/links-tags.scss: exposes link and tag variables (and list marker color) per theme.settings/metadata.scss: metadata link colors as CSS vars per theme.settings/pwc.scss: Pandoc/WriterCitations CSS vars per theme.settings/workspace-overrides.scss: workspace background and UI overrides (e.g.,--tab-divider-color).settings/rainbow-accents.scss: Rainbow Folders accent RGBs and core RGBs.features/rainbow-folders/*: Rainbow Folders styling.
- Reading view: styled via
.markdown-reading-view/.markdown-preview-viewselectors. - Live Preview / Source: styled via CodeMirror tokens.
- Inline code uses
.cm-inline-codeto match Reading view colors and Fira Code font/size. - Hashtags use
.cm-hashtag,.cm-hashtag-begin,.cm-hashtag-endfor tight, gapless tags.
- Inline code uses
- Inline code colors:
--inline-code-text-color,--inline-code-background-color(from swatches). - Code block colors:
--code-text-color,--code-background-color(from swatches). - Link colors:
--link-internal-color,--link-external-color(per theme). - Tags:
--tag-color,--tag-background, etc. Tags and inline code share the Fira Code font and size. - Horizontal rule: uses
--tab-divider-colorfromsettings/workspace-overrides.scss(dark#ffd76d, light#884800).
- Build:
npm run build(compiles Sass). - If you change swatches in
settings/colors-*.scss, rebuild to propagate to all CSS variables.
This project is licensed under the GNU GPL v3.0.