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:
parent
bf1054bab8
commit
f1e7191cda
@ -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";
|
||||
|
||||
|
||||
@ -7,5 +7,5 @@ import version500beta4 from "./5.0.0-beta.4";
|
||||
export default {
|
||||
...version500alpha0,
|
||||
...version500alpha2,
|
||||
...version500beta4
|
||||
...version500beta4,
|
||||
};
|
||||
|
||||
@ -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)"
|
||||
},
|
||||
|
||||
@ -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 (
|
||||
|
||||
@ -128,6 +128,7 @@
|
||||
"settingsColor": "#909ba6",
|
||||
"navSelectedBackground": "#262b2e",
|
||||
"navHoverColor": "#dcddde",
|
||||
"hrColor": "#ffffff0f"
|
||||
"hrColor": "#ffffff0f",
|
||||
"tooltipBackground": "#18191c"
|
||||
}
|
||||
}
|
||||
|
||||
@ -130,6 +130,7 @@
|
||||
"settingsColor": "#555555",
|
||||
"navSelectedBackground": "#ffffff",
|
||||
"navHoverColor": "#2e3135",
|
||||
"hrColor": "#06060714"
|
||||
"hrColor": "#06060714",
|
||||
"tooltipBackground": "#ffffff"
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user