Frontmatter
| id | 8847 |
| title | Fix Dark Theme for HighlightJS |
| state | Closed |
| labels | bugdesign |
| assignees | tobiu |
| createdAt | Jan 21, 2026, 12:37 PM |
| updatedAt | Jan 21, 2026, 12:41 PM |
| githubUrl | https://github.com/neomjs/neo/issues/8847 |
| author | tobiu |
| commentsCount | 1 |
| parentIssue | 8727 |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | Jan 21, 2026, 12:41 PM |
Fix Dark Theme for HighlightJS
tobiu added parent issue #8727 on Jan 21, 2026, 12:38 PM

tobiu
Jan 21, 2026, 12:40 PM
Input from Gemini 3 Pro:
✦ I have corrected the dark theme colors for HighlightJS.
Changes:
- Updated
resources/scss/theme-neo-dark/util/HighlightJs.scss: Applied a GitHub Dark inspired palette (dark background#0d1117, light syntax highlighting colors) to replace the incorrect light theme values.- Updated
resources/scss/theme-neo-dark/util/HighlightJsLineNumbers.scss: Applied dark background and dim text colors for line numbers.Since the SCSS variables are scoped to
.neo-theme-neo-dark, andNeo.util.HighlightJsensures the CSS files are loaded, switching the theme on the Portal Viewport will now automatically apply these corrected styles to all markdown code blocks.
tobiu assigned to @tobiu on Jan 21, 2026, 12:40 PM
tobiu closed this issue on Jan 21, 2026, 12:41 PM
Update the SCSS variables for HighlightJS and LineNumbers in the dark theme to use appropriate dark mode colors.
Files to Update:
resources/scss/theme-neo-dark/util/HighlightJs.scss: Use a dark palette (e.g., GitHub Dark).resources/scss/theme-neo-dark/util/HighlightJsLineNumbers.scss: Use dark background and lighter text for line numbers.Current State: The dark theme files currently contain light theme colors (white background), causing visual artifacts in the Portal App's dark mode.