electron/shell
trop[bot] 7b66361ca8
feat: expose nativeTheme.shouldUseDarkColorsForSystemIntegratedUI (#46598)
feat: expose shouldUseDarkColorsForSystemIntegratedUI

Closes https://github.com/electron/electron/issues/46429.
Refs https://github.com/electron/electron/pull/19735.

This PR adds a new API `shouldUseDarkColorsForSystemIntegratedUI` to the
`nativeTheme` module. This API returns a boolean indicating whether the
system is using dark colors for system integrated UI elements. This is
useful for applications that want to adapt their UI to match the system
theme, especially for those that use system integrated UI elements like
the shell theme or taskbar appearance.

Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
2025-04-16 19:40:55 +02:00
..
app chore: bump chromium to 136.0.7095.0 (36-x-y) (#46184) 2025-04-07 13:09:35 -05:00
browser feat: expose nativeTheme.shouldUseDarkColorsForSystemIntegratedUI (#46598) 2025-04-16 19:40:55 +02:00
common fix: paint and flash issues on macOS (#46629) 2025-04-15 12:56:20 +02:00
renderer perf: prefer absl::flat_hash_set over std::set when sorted order is not needed (#46440) 2025-04-03 22:21:48 -05:00
services/node fix: destroy parent port backend when JS env exits (#46496) 2025-04-04 14:11:05 -05:00
utility fix: broken OOP window.print() on macOS/Linux (#45214) 2025-01-20 10:23:44 +01:00