mirror of
https://github.com/wavetermdev/waveterm.git
synced 2024-12-22 16:48:23 +01:00
e6003c310e
The Window Controls Overlay API applies a transparent overlay on Windows, but not on Linux. This PR addresses this by capturing the area underneath the overlay, averaging the color of the area, and setting this as the overlay background color. It will also detect whether to make the control symbols white or black, depending on how dark the background color is. On Linux, this will set both the background color and the symbol color, on Windows it will just set the symbol color. <img width="721" alt="image" src="https://github.com/user-attachments/assets/e6f9f8f8-a49f-41b6-984e-09e7d52c631d"> |
||
---|---|---|
.. | ||
asset | ||
block | ||
element | ||
hook | ||
modals | ||
store | ||
tab | ||
view | ||
workspace | ||
app.less | ||
app.tsx | ||
mixins.less | ||
reset.less | ||
theme.less |