mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
* Add the ability to sync kube config files - Will update when the files changes - add KUBECONFIG_SYNC label - fix rebase and change to addObservableSource - move UI to user settings - support shallow folder watching - add some unit tests for the diff-er Signed-off-by: Sebastian Malton <sebastian@malton.name> * responding to review comments Signed-off-by: Sebastian Malton <sebastian@malton.name> * fix tests and add try/catch Signed-off-by: Sebastian Malton <sebastian@malton.name> * always sync c&p folder, remove bad rebase Signed-off-by: Sebastian Malton <sebastian@malton.name> * fix preferences Signed-off-by: Sebastian Malton <sebastian@malton.name> * Fix settings saving and catalog view Signed-off-by: Sebastian Malton <sebastian@malton.name> * fix unit tests Signed-off-by: Sebastian Malton <sebastian@malton.name> * fix synced clusters not connectable Signed-off-by: Sebastian Malton <sebastian@malton.name> * change to non-complete shallow watching Signed-off-by: Sebastian Malton <sebastian@malton.name> * fix sizing Signed-off-by: Sebastian Malton <sebastian@malton.name> * Catch readStream errors Signed-off-by: Sebastian Malton <sebastian@malton.name> * don't clear UserStore on non-existant preference field, fix unlinking not removing items from source Signed-off-by: Sebastian Malton <sebastian@malton.name> * change label to file Signed-off-by: Sebastian Malton <sebastian@malton.name>
35 lines
662 B
TypeScript
35 lines
662 B
TypeScript
import React from "react";
|
|
import { createMuiTheme, ThemeProvider } from "@material-ui/core";
|
|
|
|
const defaultTheme = createMuiTheme({
|
|
props: {
|
|
MuiIconButton: {
|
|
color: "inherit",
|
|
},
|
|
MuiSvgIcon: {
|
|
fontSize: "inherit",
|
|
},
|
|
MuiTooltip: {
|
|
placement: "top",
|
|
}
|
|
},
|
|
overrides: {
|
|
MuiIconButton: {
|
|
root: {
|
|
"&:hover": {
|
|
color: "var(--iconActiveColor)",
|
|
backgroundColor: "var(--iconActiveBackground)",
|
|
}
|
|
}
|
|
}
|
|
},
|
|
});
|
|
|
|
export function DefaultProps(App: React.ComponentType) {
|
|
return (
|
|
<ThemeProvider theme= { defaultTheme } >
|
|
<App />
|
|
</ThemeProvider>
|
|
);
|
|
}
|