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 { migration } from "../migration-wrapper";
|
||||||
import { catalogEntityRegistry } from "../../renderer/api/catalog-entity-registry";
|
import { catalogEntityRegistry } from "../../renderer/api/catalog-entity-registry";
|
||||||
|
|
||||||
|
|||||||
@ -7,5 +7,5 @@ import version500beta4 from "./5.0.0-beta.4";
|
|||||||
export default {
|
export default {
|
||||||
...version500alpha0,
|
...version500alpha0,
|
||||||
...version500alpha2,
|
...version500alpha2,
|
||||||
...version500beta4
|
...version500beta4,
|
||||||
};
|
};
|
||||||
|
|||||||
@ -3,12 +3,12 @@ import { makeStyles, Tooltip, TooltipProps } from "@material-ui/core";
|
|||||||
|
|
||||||
const useStyles = makeStyles(() => ({
|
const useStyles = makeStyles(() => ({
|
||||||
arrow: {
|
arrow: {
|
||||||
color: "#18191c",
|
color: "var(--tooltipBackground)",
|
||||||
},
|
},
|
||||||
tooltip: {
|
tooltip: {
|
||||||
fontSize: 12,
|
fontSize: 12,
|
||||||
backgroundColor: "#18191c",
|
backgroundColor: "var(--tooltipBackground)",
|
||||||
color: "#fff",
|
color: "var(--textColorAccent)",
|
||||||
padding: 8,
|
padding: 8,
|
||||||
boxShadow: "0 8px 16px rgba(0,0,0,0.24)"
|
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 [animating, setAnimating] = useState(false);
|
||||||
const onAnimationEnd = () => { setAnimating(false); };
|
const onAnimationEnd = () => { setAnimating(false); };
|
||||||
const onClick = () => {
|
const onClick = () => {
|
||||||
if (className.includes("isDraggingOver")) {
|
setAnimating(!className.includes("isDraggingOver"));
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
setAnimating(true);
|
|
||||||
};
|
};
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
|||||||
@ -128,6 +128,7 @@
|
|||||||
"settingsColor": "#909ba6",
|
"settingsColor": "#909ba6",
|
||||||
"navSelectedBackground": "#262b2e",
|
"navSelectedBackground": "#262b2e",
|
||||||
"navHoverColor": "#dcddde",
|
"navHoverColor": "#dcddde",
|
||||||
"hrColor": "#ffffff0f"
|
"hrColor": "#ffffff0f",
|
||||||
|
"tooltipBackground": "#18191c"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -130,6 +130,7 @@
|
|||||||
"settingsColor": "#555555",
|
"settingsColor": "#555555",
|
||||||
"navSelectedBackground": "#ffffff",
|
"navSelectedBackground": "#ffffff",
|
||||||
"navHoverColor": "#2e3135",
|
"navHoverColor": "#2e3135",
|
||||||
"hrColor": "#06060714"
|
"hrColor": "#06060714",
|
||||||
|
"tooltipBackground": "#ffffff"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user