1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

Some cleaning up

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
This commit is contained in:
Alex Andreev 2021-05-11 10:11:34 +03:00
parent bf1054bab8
commit f1e7191cda
6 changed files with 10 additions and 12 deletions

View File

@ -1,4 +1,4 @@
import { Hotbar } from "../../common/hotbar-store";
import type { Hotbar } from "../../common/hotbar-store";
import { migration } from "../migration-wrapper";
import { catalogEntityRegistry } from "../../renderer/api/catalog-entity-registry";

View File

@ -7,5 +7,5 @@ import version500beta4 from "./5.0.0-beta.4";
export default {
...version500alpha0,
...version500alpha2,
...version500beta4
...version500beta4,
};

View File

@ -3,12 +3,12 @@ import { makeStyles, Tooltip, TooltipProps } from "@material-ui/core";
const useStyles = makeStyles(() => ({
arrow: {
color: "#18191c",
color: "var(--tooltipBackground)",
},
tooltip: {
fontSize: 12,
backgroundColor: "#18191c",
color: "#fff",
backgroundColor: "var(--tooltipBackground)",
color: "var(--textColorAccent)",
padding: 8,
boxShadow: "0 8px 16px rgba(0,0,0,0.24)"
},

View File

@ -15,11 +15,7 @@ export function HotbarCell({ innerRef, children, className, ...rest }: Props) {
const [animating, setAnimating] = useState(false);
const onAnimationEnd = () => { setAnimating(false); };
const onClick = () => {
if (className.includes("isDraggingOver")) {
return;
}
setAnimating(true);
setAnimating(!className.includes("isDraggingOver"));
};
return (

View File

@ -128,6 +128,7 @@
"settingsColor": "#909ba6",
"navSelectedBackground": "#262b2e",
"navHoverColor": "#dcddde",
"hrColor": "#ffffff0f"
"hrColor": "#ffffff0f",
"tooltipBackground": "#18191c"
}
}

View File

@ -130,6 +130,7 @@
"settingsColor": "#555555",
"navSelectedBackground": "#ffffff",
"navHoverColor": "#2e3135",
"hrColor": "#06060714"
"hrColor": "#06060714",
"tooltipBackground": "#ffffff"
}
}