Merge pull request #1060 from zed-industries/fix-disconnected-message

Fix disconnected from project message
This commit is contained in:
Nate Butler 2022-05-25 11:35:43 -04:00 committed by GitHub
commit d6024117d8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,4 +1,5 @@
import Theme from "../themes/common/theme";
import { withOpacity } from "../utils/color";
import { backgroundColor, border, iconColor, shadow, text } from "./components";
import statusBar from "./statusBar";
@ -155,8 +156,8 @@ export default function workspace(theme: Theme) {
padding: { left: 6 },
},
disconnectedOverlay: {
...text(theme, "sans", "onMedia"),
background: "#000000aa",
...text(theme, "sans", "active"),
background: withOpacity(theme.backgroundColor[500].base, 0.8).value,
},
notification: {
margin: { top: 10 },