mirror of
https://github.com/anyproto/anytype-ts.git
synced 2025-06-08 05:57:02 +09:00
darkmode
This commit is contained in:
parent
dfde28d6a8
commit
31e90e2f67
4 changed files with 2 additions and 7 deletions
|
@ -315,10 +315,6 @@ function createWindow () {
|
|||
send.apply(this, args);
|
||||
});
|
||||
|
||||
ipcMain.handle('dark-mode:system', () => {
|
||||
nativeTheme.themeSource = 'system';
|
||||
});
|
||||
|
||||
ipcMain.on('winCommand', (e, cmd) => {
|
||||
switch (cmd) {
|
||||
case 'menu':
|
||||
|
|
|
@ -1,7 +1,5 @@
|
|||
<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<rect x="2.5" y="2" width="10.5" height="16" rx="2.5" fill="white"/>
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M7 2C5.61929 2 4.5 3.11929 4.5 4.5V15.5C4.5 16.8807 5.61929 18 7 18H8.5C7.11929 18 6 16.8807 6 15.5V4.5C6 3.11929 7.11929 2 8.5 2H7Z" fill="#ACA996"/>
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M4 2C2.61929 2 1.5 3.11929 1.5 4.5V15.5C1.5 16.8807 2.61929 18 4 18H5.5C4.11929 18 3 16.8807 3 15.5V4.5C3 3.11929 4.11929 2 5.5 2H4Z" fill="#ACA996"/>
|
||||
<path d="M8 4.5C8 3.11929 9.11929 2 10.5 2H16.5C17.8807 2 19 3.11929 19 4.5V15.5C19 16.8807 17.8807 18 16.5 18H10.5C9.11929 18 8 16.8807 8 15.5V4.5Z" fill="white"/>
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M16.5 3.5H10.5C9.94772 3.5 9.5 3.94772 9.5 4.5V15.5C9.5 16.0523 9.94772 16.5 10.5 16.5H16.5C17.0523 16.5 17.5 16.0523 17.5 15.5V4.5C17.5 3.94772 17.0523 3.5 16.5 3.5ZM10.5 2C9.11929 2 8 3.11929 8 4.5V15.5C8 16.8807 9.11929 18 10.5 18H16.5C17.8807 18 19 16.8807 19 15.5V4.5C19 3.11929 17.8807 2 16.5 2H10.5Z" fill="#ACA996"/>
|
||||
</svg>
|
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 876 B |
|
@ -1,6 +1,6 @@
|
|||
@import "~scss/_vars";
|
||||
|
||||
.header { position: fixed; top: 0px; left: 0px; width: 100%; z-index: 20; transition: $transitionFast; user-select: none; }
|
||||
.header { position: fixed; top: 0px; left: 0px; width: 100%; z-index: 20; user-select: none; }
|
||||
.header {
|
||||
.icon { width: 20px; height: 20px; cursor: pointer; vertical-align: top; margin-right: 12px; -webkit-app-region: no-drag; }
|
||||
.icon.back { margin-right: 8px; }
|
||||
|
|
|
@ -22,4 +22,5 @@
|
|||
|
||||
|
||||
.blocks .block.blockDataview .views .item:hover, .blocks .block.blockDataview .views .item.active { color: #fff; }
|
||||
.blocks .block.blockDataview .viewItem.viewGrid .cellContent.isName .icon.expand { background-color: unset; }
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue