fix(quick-look): dark-mode-aware instructions panel
The Operator Instructions panel had a hardcoded inline style (background: #f8f9fa) which became a white-on-dark unreadable blob in dark mode. Replaced with a CSS class backed by an SCSS file that branches at compile-time via $o-webclient-color-scheme — registered in both web.assets_backend (light) and web.assets_web_dark (dark) bundles per the CLAUDE.md pattern. Tokens: panel bg #f8f9fa light / #22262d dark; border #d8dadd / #3a3f47; text #212529 / #e8eaed. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
# License OPL-1 (Odoo Proprietary License v1.0)
|
||||
{
|
||||
'name': 'Fusion Plating — Native Jobs',
|
||||
'version': '19.0.8.14.0',
|
||||
'version': '19.0.8.14.2',
|
||||
'category': 'Manufacturing/Plating',
|
||||
'summary': 'Native plating job model — replaces mrp.production / mrp.workorder bridge.',
|
||||
'author': 'Nexa Systems Inc.',
|
||||
@@ -71,8 +71,16 @@ full design rationale and §6.2 of the implementation plan for task list.
|
||||
'report/report_fp_job_margin.xml',
|
||||
],
|
||||
'assets': {
|
||||
# No bundled JS/SCSS — the canonical operator UIs live in
|
||||
# fusion_plating_shopfloor (consolidated 2026-04-24).
|
||||
# Sub 12d — Step Details quick-look modal styles. Registered in
|
||||
# both bundles so light + dark mode each compile correctly
|
||||
# ($o-webclient-color-scheme branches at compile time per
|
||||
# CLAUDE.md note).
|
||||
'web.assets_backend': [
|
||||
'fusion_plating_jobs/static/src/scss/fp_step_quick_look.scss',
|
||||
],
|
||||
'web.assets_web_dark': [
|
||||
'fusion_plating_jobs/static/src/scss/fp_step_quick_look.scss',
|
||||
],
|
||||
},
|
||||
'installable': True,
|
||||
'application': False,
|
||||
|
||||
Reference in New Issue
Block a user