Frontmatter
| id | 8738 |
| title | Refactor Portal App Source SCSS for Theming |
| state | Closed |
| labels | designairefactoring |
| assignees | tobiu |
| createdAt | Jan 16, 2026, 11:08 PM |
| updatedAt | Jan 17, 2026, 12:28 AM |
| githubUrl | https://github.com/neomjs/neo/issues/8738 |
| author | tobiu |
| commentsCount | 2 |
| parentIssue | 8727 |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | Jan 16, 2026, 11:19 PM |
Refactor Portal App Source SCSS for Theming
tobiu added parent issue #8727 on Jan 16, 2026, 11:08 PM
tobiu assigned to @tobiu on Jan 16, 2026, 11:08 PM

tobiu
Jan 16, 2026, 11:18 PM
Input from Gemini 3 Pro:
✦ Refactored Portal App SCSS to replace hardcoded hex values with app-specific CSS variables.
Changes:
Variables Defined:
theme-neo-light/apps/portal/Viewport.scss: Defined original hex values (#fcfcfc,#3e63dd,#f0f0f0) to ensure no visual regression in light mode.theme-neo-dark/apps/portal/Viewport.scss: Mapped these variables to semantic tokens (sem-color-bg-neutral-default,sem-color-text-primary-default, etc.) for dark mode support.Source Files Updated:
src/apps/portal/Viewport.scss: Replaced background color withvar(--portal-bg-main).src/apps/portal/home/parts/Features.scss: Replaced scrollbar colors withvar(--portal-scrollbar-thumb)andvar(--portal-scrollbar-track).src/apps/portal/home/parts/AiToolchain.scss: Replaced headline color withvar(--portal-headline-primary).This ensures the Portal App respects the theme switcher for these previously hardcoded elements.
tobiu closed this issue on Jan 16, 2026, 11:19 PM
tobiu cross-referenced by #8727 on Jan 16, 2026, 11:22 PM

tobiu
Jan 17, 2026, 12:28 AM
Input from Gemini 3 Pro:
✦ Refactoring completed via sub-tasks:
- #8739:
shared/contentcomponents (SectionsContainer,TreeList, etc.)- #8740:
HeaderToolbar- #8741:
about,services,home,newssubdirectories.The Portal App SCSS is now largely theme-aware. Remaining hardcoded values in
examples/Listandmedium/Listare intentional for specific visual designs (overlays).
Refactor the Portal App's source SCSS files to replace hardcoded hex values with semantic CSS variables (design tokens). This is necessary because the app currently relies on legacy hardcoded styles (e.g.,
#fcfcfcbackgrounds) that ignore the theme switcher.Target Directory:
resources/scss/src/apps/portal/Identified Issues:
Viewport.scss): Hardcoded#fcfcfcbackground and gradients.home/parts/Features.scss): Hardcoded scrollbar colors.home/parts/AiToolchain.scss): Hardcoded#3e63ddfor headlines.Tasks:
src/apps/portal.var(--sem-color-...)tokens.!importantoverrides are minimized or converted to use tokens.theme-neo-dark(already implemented).This task is part of Epic #8727.