Fix sync script :root parsing, add offline/editor/user to minify. Bump 03.10.06
Some checks failed
Repo Health / Access control (push) Successful in 1s
Auto-Update SHA Hash / Update SHA-256 Hash in updates.xml (release) Failing after 4s
Repo Health / Release configuration (push) Failing after 4s
Repo Health / Scripts governance (push) Successful in 4s
Repo Health / Repository health (push) Failing after 4s

- Sync: compare against standard theme (not deleted custom starters)
- Sync: handle :root{ on same line (dark.standard.css format)
- Minify: added offline.css, editor.css, a11y-high-contrast.css,
  user.css, user.js to minification list

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Jonathan Miller
2026-04-18 17:34:59 -05:00
parent eaf68762e5
commit 8c5473b140
6 changed files with 36 additions and 31 deletions

View File

@@ -22,14 +22,19 @@ class MokoMinifyHelper
*/
private const CSS_FILES = [
'css/template.css',
'css/offline.css',
'css/editor.css',
'css/a11y-high-contrast.css',
'css/theme/light.standard.css',
'css/theme/dark.standard.css',
'css/theme/light.custom.css',
'css/theme/dark.custom.css',
'css/user.css',
];
private const JS_FILES = [
'js/template.js',
'js/user.js',
];
/**