Skip to content

Commit

Permalink
fix input tools in dark mode (#314)
Browse files Browse the repository at this point in the history
* fix input tools in dark mode

* fix handwriting panel drag handle in dark mode
  • Loading branch information
DinCahill authored Feb 21, 2022
1 parent 44dcd6a commit fb96622
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion src/main/account-views/preload/dark-mode.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,20 @@ function enableDarkMode(): void {
// Hangouts Phone
'.a8V',
// Labels
'.aEe, .aEc.aHS-bnr .qj'
'.aEe, .aEc.aHS-bnr .qj',
// Input tool - most icons
'[class*="ita-icon-"]',
// Input tool - settings menu bar icons
'body > div[id*="ita-"] > div:nth-child(1) > div:last-child > span:empty',
// Input tool - virtual keyboard top right icons
'#kbd > div:nth-child(1) > div:nth-child(2) div:empty',
// Input tool - virtual keyboard button icons
'#kbd > div:nth-child(2) span:empty',
// Input tool - menu up/down and left/right icons
'body > div[id*="ita-"] > div:nth-child(2) > div > div:nth-child(2) > div > a span:empty',
'body > div[id*="ita-"] > div:nth-child(2) > div > div:nth-child(3) > div > a span:empty',
// Input tool - handwriting panel drag handle
'div[tabindex="-1"][style*="left:"][style*="top:"][style*="user-select: none"].notranslate > div:nth-child(5):empty'
],
disableStyleSheetsProxy: false
}
Expand Down

0 comments on commit fb96622

Please sign in to comment.