Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: last updates #42

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
more changes
  • Loading branch information
raul.garcia.f committed Jun 25, 2021
commit 45c6aa80c6b6ebb843e9497e2cea9dbdcbe9912e
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"build": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject",
"electron": "npm run build && electron electron.js"
"electron": "npm run build && electron --enable-transparent-visuals --disable-gpu electron.js"
},
"eslintConfig": {
"extends": "react-app"
Expand Down
7 changes: 6 additions & 1 deletion src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,19 @@ const GlobalStyles = createGlobalStyle`
box-sizing: border-box;
}

html {
background: transparent;
}

body {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
font-size: 16px;
user-select: none;
-webkit-touch-callout: none;
background: transparent;

@media (prefers-color-scheme: dark) {
background: black;
background: white;
}
}
`;
Expand Down