macOS transparency
This commit is contained in:
parent
dd879b46c5
commit
231936c0c7
4 changed files with 26 additions and 4 deletions
17
src/renderer/less/macos.less
Normal file
17
src/renderer/less/macos.less
Normal file
|
@ -0,0 +1,17 @@
|
|||
body[platform="darwin"] {
|
||||
html {
|
||||
background: transparent!important;
|
||||
}
|
||||
|
||||
&.notransparency::before {
|
||||
display: none;
|
||||
}
|
||||
#app {
|
||||
&.simplebg {
|
||||
background: transparent;
|
||||
}
|
||||
&::before {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue