[x] 21253 watch-themes omits neo.css package roots and prunes their built CSS, [x] 416 Seven skill lines name the SCSS theme sources that 14.0 removes, [x] 21233 Six guides describe the Sass theme sources that 14.0 removes, [x] 1013 The Institution''s theme sheets become plain CSS with the engine''s 14.0
closedAt
Nov 17, 2026, 3:02 PM
Theme sources become plain CSS, and the theme build copies them
Graduated from Discussion #18182 on 2026-11-17 ([GRADUATION_APPROVED by @neo-gpt-euclid @ body 2026-11-17T04:28:06Z], comment 19670420; quorum with the author's signal, comment 19670104). The operator's direction for 14.0, relayed in #21210: Sass goes, a clean cut with no migration path. This ticket is that Discussion's row 3c′ for the engine: the theme sources become plain CSS, and the theme build copies them instead of compiling them.
Measured on dev at 825047c9ea: all 722 engine theme files that are not partials convert to plain CSS whose Sass output equals what the original compiles to, normalized and through autoprefixer (#18182, comments 19670297 and 19670385). The converter and its negative control are in the Discussion's evidence.
The Problem
Sass is the last build tool a development workspace needs for the engine's own styles, and it does nothing in this tree that plain CSS cannot hold: every color.adjust call is a compile-time constant, the mixins take no arguments, and 665 of the files use nothing beyond nesting and // comments. Keeping it costs a compiler in every workspace's install and a second language for every theme edit.
The Architectural Reality
resources/scss/{src,theme-*}/** holds one file per class per theme (725 files, 11 of them partials). The stylesheet loader asks for dist/<env>/css/<folder>/<class>.css; theme-map.json lists which classes have sheets in which folders.
buildScripts/build/themes.mjs compiles each non-partial file with sass.compile, then runs postcss (autoprefixer; cssnano for production) and writes dist/<env>/css/**. It collects roots from the engine, from every dependency whose package.json names a neo.scss folder, and from the workspace's resources/scss.
buildScripts/helpers/watchThemes.mjs rebuilds changed files; buildScripts/util/developmentThemeAssets.mjs derives the map's class census from the non-partial source tree.
Other readers of resources/scss or of SCSS syntax: buildScripts/create/{class,scss,theme}.mjs (scaffolders), buildScripts/helpers/convertDesignTokens.mjs, buildScripts/util/{movePlan,moveStyleTransforms,check-theme-coverage,check-theme-surfaces,check-theme-value-files,check-relative-links}.mjs, and 29 test files.
package.json devDependencies: sass, postcss-scss (beside postcss, autoprefixer, cssnano, which stay).
The Fix
Sources.resources/scss becomes resources/css: every file converted by the #18182 converter. That means // comments become block comments, mixins and CSS-emitting modules are inlined, Sass-script values are replaced by what Sass computes, and a top-level rule that holds a nested rule under a mixed-specificity list or a declaration after a nested node takes Sass's flattened output in place (D2, D3). The two control-flow files take Sass's compiled output (D4). Nesting is kept everywhere else.
Build. The theme build copies .css sources and post-processes them as today; the map comes from the .css tree; the watcher copies instead of compiling. sass leaves package.json; postcss-scss leaves it too unless a lint still needs a parser postcss lacks.
Package contract. The neo.scss field of a package's package.json becomes neo.css, pointing at its plain-CSS root. A workspace's own resources/css replaces resources/scss.
Every other reader in the list above reads .css and resources/css; scaffolders write .css; tests follow.
The converter is part of the pull request, not of the package. One commit adds it and runs it; a later commit removes it together with Sass. The pull request body carries its proof output. The consumers' conversions run it from the pull request's head.
Decision Record: OPTIONAL (#21210's STEP_BACK, point 1): the source-root contract is recorded in this ticket and in the guides of the follow-up leaf.
Discussion Criteria Mapping
Discussion item
Lands in
D1: Sass leaves, postCSS stays for dist
The Fix 2, AC-3
D2, D3: flatten in place; Euclid's falsifier as negative control
The Fix 1, AC-1
D4: control-flow files take compiled output
The Fix 1
D5: packages convert before they run on 14; no SCSS support kept
The Fix 3 and 5; the paired leaves
D6: 3c″ follows in 14.x
Out of Scope
Gate 1 (empty diff), 2 (D2), 3 (D3)
AC-1
Gate 4 (copy build, map reachability)
AC-2, AC-4
Gate 5 (nested child-window tear-out)
AC-5
STEP_BACK 4 (map from sources, no stale root)
AC-4
STEP_BACK 8 (developmentThemeAssets.mjs is SCSS-specific)
The Fix 4
Acceptance Criteria
AC-1: on the pull request's base, every converted engine file compiles to what its original compiles to (empty normalized diff), with D2 and D3 applied and the negative control passing; the pull request body carries the run.
AC-2: build-themes and watch-themes copy .css sources and post-process them; dist/development/css serves a generated app styled, checked in a browser.
AC-3: sass is gone from package.json and from every build script. (The fresh-workspace clause, "npm i in a fresh workspace installs no Sass", moved on 2026-11-17 to neomjs/create-app#61 as its AC-4: the generated workspace pins sass itself, and that scaffold ships with the 14.0 range on cut day.)
AC-4: theme-map.json built from the .css tree equals the map built from the SCSS tree at the base; adding, renaming and deleting a class or theme changes it, and a removed root leaves no entry.
AC-5: a nested child window torn out of a running app shows the sheets of an engine class, a workspace class and a package class.
AC-6: every reader in The Architectural Reality reads .css; the theme lints pass on the converted tree; the unit and component suites pass.
AC-7: the Institution's and the private package's sheets are converted, reviewed and merged the same day as this pull request (paired merge, #21210 comment 19669790).
Out of Scope
Dev mode reading sources in place (3c″, 14.x through #21215's server).
The guides (their own leaf, which follows this one).
Generated workspaces: create-app's createScssResources.mjs writes resources/scss and goes with the generator's 14.0 release (#61's window).
Avoided Traps
Moving a declaration across a nested rule by property name: a shorthand also sets its longhands (#18182, comment 19670346). Flatten the containing rule instead.
Lifting single nested rules out: it reorders them against their siblings (#18182, comment 19670216).
Keeping SCSS support for packages: the clean cut has no migration path; the two known packages convert in the paired leaves.
Shipping the converter in the package: it needs Sass, which this change removes.
Related
Discussion #18182 (source) · #21210 (closed) · Epic #21213 · #21215 (the file server, the road to 3c″) · #61
Live latest-open + closed sweep: latest 20 open and open/closed searches ("scss css theme build sass") at 2026-11-17T04:32Z; #18232 and #3589 are closed predecessors on the same tree with no exclusion of this change. Backlog band: 87 open, red; no owning ticket or epic exists for the source language (Epic #21213 converted it to this Discussion's follow-up), so this leaf is filed. A2A sweep: no claim on this scope. Own open assignments: none on this surface.
Ownership: self-assigned; the Discussion is mine and the gate (Thu Nov 19, 24:00 UTC) is mine as steward of the cut.
tobiu referenced in commit 1cc7576 - "feat(themes): the theme sources become plain CSS, and the theme build copies them (#21217) (#21225) on Nov 17, 2026, 3:02 PM
tobiu referenced in commit b1394d8 - "feat(portal): the examples open on a groups overview, and every group stays in reach (#21130) (#21241) on Nov 17, 2026, 5:40 PM
Context
Graduated from Discussion #18182 on 2026-11-17 (
[GRADUATION_APPROVED by @neo-gpt-euclid @ body 2026-11-17T04:28:06Z], comment 19670420; quorum with the author's signal, comment 19670104). The operator's direction for 14.0, relayed in #21210: Sass goes, a clean cut with no migration path. This ticket is that Discussion's row 3c′ for the engine: the theme sources become plain CSS, and the theme build copies them instead of compiling them.Measured on
devat825047c9ea: all 722 engine theme files that are not partials convert to plain CSS whose Sass output equals what the original compiles to, normalized and through autoprefixer (#18182, comments 19670297 and 19670385). The converter and its negative control are in the Discussion's evidence.The Problem
Sass is the last build tool a development workspace needs for the engine's own styles, and it does nothing in this tree that plain CSS cannot hold: every
color.adjustcall is a compile-time constant, the mixins take no arguments, and 665 of the files use nothing beyond nesting and//comments. Keeping it costs a compiler in every workspace's install and a second language for every theme edit.The Architectural Reality
resources/scss/{src,theme-*}/**holds one file per class per theme (725 files, 11 of them partials). The stylesheet loader asks fordist/<env>/css/<folder>/<class>.css;theme-map.jsonlists which classes have sheets in which folders.buildScripts/build/themes.mjscompiles each non-partial file withsass.compile, then runs postcss (autoprefixer; cssnano for production) and writesdist/<env>/css/**. It collects roots from the engine, from every dependency whosepackage.jsonnames aneo.scssfolder, and from the workspace'sresources/scss.buildScripts/helpers/watchThemes.mjsrebuilds changed files;buildScripts/util/developmentThemeAssets.mjsderives the map's class census from the non-partial source tree.resources/scssor of SCSS syntax:buildScripts/create/{class,scss,theme}.mjs(scaffolders),buildScripts/helpers/convertDesignTokens.mjs,buildScripts/util/{movePlan,moveStyleTransforms,check-theme-coverage,check-theme-surfaces,check-theme-value-files,check-relative-links}.mjs, and 29 test files.package.jsondevDependencies:sass,postcss-scss(besidepostcss,autoprefixer,cssnano, which stay).The Fix
resources/scssbecomesresources/css: every file converted by the #18182 converter. That means//comments become block comments, mixins and CSS-emitting modules are inlined, Sass-script values are replaced by what Sass computes, and a top-level rule that holds a nested rule under a mixed-specificity list or a declaration after a nested node takes Sass's flattened output in place (D2, D3). The two control-flow files take Sass's compiled output (D4). Nesting is kept everywhere else..csssources and post-processes them as today; the map comes from the.csstree; the watcher copies instead of compiling.sassleavespackage.json;postcss-scssleaves it too unless a lint still needs a parser postcss lacks.neo.scssfield of a package'spackage.jsonbecomesneo.css, pointing at its plain-CSS root. A workspace's ownresources/cssreplacesresources/scss..cssandresources/css; scaffolders write.css; tests follow.Contract Ledger
buildScripts/build/themes.mjsrootsresources/scss/{src,theme-*}/**.scssresources/css/{src,theme-*}/**.cssthemes.mjs:37readsneo?.scss"neo": {"scss": "<dir>"}"neo": {"css": "<dir>"}themes.mjs:30-43Stylesheet#addThemeFiles,theme-map.jsondist/<env>/css/<folder>/<class>.cssbuild-themes,watch-themespackage.jsonscriptsDecision Record
Decision Record: OPTIONAL(#21210's STEP_BACK, point 1): the source-root contract is recorded in this ticket and in the guides of the follow-up leaf.Discussion Criteria Mapping
developmentThemeAssets.mjsis SCSS-specific)Acceptance Criteria
build-themesandwatch-themescopy.csssources and post-process them;dist/development/cssserves a generated app styled, checked in a browser.sassis gone frompackage.jsonand from every build script. (The fresh-workspace clause, "npm iin a fresh workspace installs no Sass", moved on 2026-11-17 to neomjs/create-app#61 as its AC-4: the generated workspace pinssassitself, and that scaffold ships with the 14.0 range on cut day.)theme-map.jsonbuilt from the.csstree equals the map built from the SCSS tree at the base; adding, renaming and deleting a class or theme changes it, and a removed root leaves no entry..css; the theme lints pass on the converted tree; the unit and component suites pass.Out of Scope
createScssResources.mjswritesresources/scssand goes with the generator's 14.0 release (#61's window).Avoided Traps
Related
Discussion #18182 (source) · #21210 (closed) · Epic #21213 · #21215 (the file server, the road to 3c″) · #61
Live latest-open + closed sweep: latest 20 open and open/closed searches ("scss css theme build sass") at 2026-11-17T04:32Z; #18232 and #3589 are closed predecessors on the same tree with no exclusion of this change. Backlog band: 87 open, red; no owning ticket or epic exists for the source language (Epic #21213 converted it to this Discussion's follow-up), so this leaf is filed. A2A sweep: no claim on this scope. Own open assignments: none on this surface.
Ownership: self-assigned; the Discussion is mine and the gate (Thu Nov 19, 24:00 UTC) is mine as steward of the cut.
Origin Session ID: e9f42310-21e7-4c15-aada-079042a61067 Retrieval Hint: "theme sources plain CSS clean cut 14.0, Sass removed, converter flatten in place, theme build copies"