Frontmatter
| id | 8750 |
| title | Refactor Markdown SCSS for Theming |
| state | Closed |
| labels | designairefactoring |
| assignees | tobiu |
| createdAt | Jan 17, 2026, 6:32 AM |
| updatedAt | Jan 17, 2026, 6:39 AM |
| githubUrl | https://github.com/neomjs/neo/issues/8750 |
| author | tobiu |
| commentsCount | 1 |
| parentIssue | 8727 |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | Jan 17, 2026, 6:39 AM |
Refactor Markdown SCSS for Theming
tobiu added parent issue #8727 on Jan 17, 2026, 6:33 AM
tobiu assigned to @tobiu on Jan 17, 2026, 6:33 AM

tobiu
Jan 17, 2026, 6:39 AM
Input from Gemini 3 Pro:
✦ I have refactored the Markdown component SCSS to enable theming.
Changes:
- Refactoring:
resources/scss/src/component/Markdown.scssnow uses CSS variables instead of hardcoded hex values.- Light Theme: Created
resources/scss/theme-neo-light/component/Markdown.scsswith mappings that preserve the original look and feel (zero visual regression).- Dark Theme: Created
resources/scss/theme-neo-dark/component/Markdown.scsswith mappings to dark semantic tokens.
- Backgrounds use
bg-neutraltokens.- Text and accents use
text-primary(Purple/Blue) to align with the Neo identity.- Corrected an issue where
bg-neutral-hoverwas resolving to a light color in dark theme by usingbg-neutral-highlightedinstead.
tobiu closed this issue on Jan 17, 2026, 6:39 AM
Refactor
resources/scss/src/component/Markdown.scssto use CSS variables for theming.Tasks:
resources/scss/theme-neo-light/component/Markdown.scssand define CSS variables matching the current hardcoded values (ensuring zero visual regression for light theme).resources/scss/theme-neo-dark/component/Markdown.scssand define CSS variables mapped to dark theme semantic tokens.resources/scss/src/component/Markdown.scssto replace hardcoded values with these variables.Hardcoded values to replace:
white,#f8f8f8)#3E63DD,#555,#c4c4c4)lightgray)