shashbha14 opened a new pull request, #64281: URL: https://github.com/apache/airflow/pull/64281
Closes #64253 The `defineTheme` function in Monaco expects `#RRGGBB` hex strings. The old `cssVarToHex` read back `ctx.fillStyle` after assignment, which in Firefox returns `rgb(...)` and in Chrome returns the raw `oklch(...)` string, both of which are silently rejected by Monaco, resulting in the default `vs` or `vs-dark` themes. Fix: `fillRect` with `getImageData` pixel extraction to correctly convert any CSS color format, including oklch values from Chakra UI. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
