kuaifan
135b419572
fix(micro-apps): 修复深色主题下微应用自定义背景色显示错误
深色主题通过 html 整体 invert+hue-rotate 反色,导致配置的背景色被反成错误颜色。
改为在 iframe 铺底伪元素上承载真实背景色,并在深色下对该伪元素施加同款反向 filter
抵消整体反转,使背景与内容区反色行为一致,不再用 JS 近似反相。
- modal.vue:bodyStyle 通过 CSS 变量 --micro-body-background-color 传递真实色
- iframe.vue:.micro-app-iframe::before 铺底背景层 + 深色反向 filter,并加 isolation 隔离 z-index
- 移除不再需要的 utils/color.js 颜色反相工具
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-17 22:21:19 +08:00
..
2026-06-17 03:09:38 +00:00
2025-08-07 14:22:00 +08:00
2026-06-17 22:21:19 +08:00
2026-06-16 11:35:49 +00:00
2025-08-08 07:58:49 +08:00
2025-06-04 07:02:19 +08:00
2025-04-08 21:43:41 +08:00
2026-05-03 00:05:31 +00:00
2025-11-06 14:03:58 +00:00
2024-01-17 23:22:13 +08:00
2025-04-03 22:35:46 +08:00
2025-05-06 16:13:37 +08:00
2024-09-20 21:46:28 +03:00
2024-04-22 10:00:26 +08:00
2025-08-06 11:04:22 +08:00
2026-05-21 00:14:36 +00:00
2025-03-14 12:07:49 +08:00
2025-04-19 07:57:43 +08:00
2024-10-28 21:18:24 +08:00
2025-05-06 16:13:37 +08:00
2025-03-26 14:17:15 +08:00
2025-03-30 10:45:24 +08:00
2026-01-12 09:07:10 +08:00
2024-12-09 07:35:10 +08:00
2026-01-15 09:09:58 +00:00
2026-01-16 08:49:25 +00:00
2025-03-18 18:36:20 +08:00
2025-05-06 16:13:37 +08:00
2026-06-15 01:26:55 +00:00
2025-09-28 05:19:27 +08:00
2026-05-21 00:14:36 +00:00
2026-05-21 05:01:15 +00:00