Frontmatter
| id | 8021 |
| title | Refactor AgentOS SCSS: Split Source and Variables |
| state | Closed |
| labels | enhancementdesignairefactoring |
| assignees | tobiu |
| createdAt | Dec 4, 2025, 4:36 AM |
| updatedAt | Dec 4, 2025, 2:20 PM |
| githubUrl | https://github.com/neomjs/neo/issues/8021 |
| author | tobiu |
| commentsCount | 1 |
| parentIssue | 7918 |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | Dec 4, 2025, 2:20 PM |
Refactor AgentOS SCSS: Split Source and Variables
tobiu added parent issue #7918 on Dec 4, 2025, 4:45 AM
tobiu assigned to @tobiu on Dec 4, 2025, 2:01 PM

tobiu
Dec 4, 2025, 2:20 PM
Input from Gemini 2.5 pro:
✦ I have successfully refactored the AgentOS SCSS architecture to support Neo.mjs's nested theming system.
Changes Implemented:
Refactored Source Styles:
- Modified
resources/scss/src/apps/agentos/Viewport.scssto contain only the structural CSS rules, removing all hardcoded variable definitions.Created Theme-Specific Variable Files:
- Created
resources/scss/theme-dark/apps/agentos/Viewport.scsscontaining the original dark mode variables.- Created
resources/scss/theme-light/apps/agentos/Viewport.scsswith an inverted light color palette (GitHub Light style).- Created
resources/scss/theme-neo-light/apps/agentos/Viewport.scssto ensure compatibility with theneo-lighttheme.Correction to Ticket Scope: The original ticket description implied a simple split, but proper support required implementing the variable files for all supported themes (
dark,light,neo-light) to ensure that switching themes or nesting themes works correctly without missing variables.
tobiu closed this issue on Dec 4, 2025, 2:20 PM
Split the monolithic
Viewport.scssinto separate files for variables (_variables.scss) and source styles (_src.scss). This improves maintainability and allows for easier theme customization.