mirror of
https://github.com/johannesjo/super-productivity.git
synced 2026-01-22 18:30:09 +00:00
style(electron): make custom window title bar fully transparent
This commit is contained in:
parent
cd5151f4f7
commit
d578beb52b
1 changed files with 3 additions and 3 deletions
|
|
@ -33,9 +33,9 @@ let mainWin: BrowserWindow;
|
|||
* Semi-transparent to ensure window controls are always visible.
|
||||
*/
|
||||
const getTitleBarColor = (isDark: boolean): string => {
|
||||
// Dark: matches --bg (#131314) with 95% opacity
|
||||
// Light: matches --bg (#f8f8f7) with 95% opacity
|
||||
return isDark ? 'rgba(19, 19, 20, 0.95)' : 'rgba(248, 248, 247, 0.95)';
|
||||
// Dark: matches --bg (#131314) with 0% opacity (fully transparent)
|
||||
// Light: matches --bg (#f8f8f7) with 0% opacity (fully transparent)
|
||||
return isDark ? 'rgba(19, 19, 20, 0)' : 'rgba(248, 248, 247, 0)';
|
||||
};
|
||||
|
||||
const mainWinModule: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue