mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Switching color theme globally (#728)
* Adding cluster menu colors Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com> * Adding theme class name flag into #app Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com> * Cleaning up mixins Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com> * Tuning up Wizard Layout styles Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com> * Using theme-light global flag Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com> * Minor style fixes Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com> * Using .theme-light flag across components Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com> * Set theme as @computed value Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com> * Preventing Drawer slide-in scroll flickering Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com> * Setting background for settings views Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com> * Minor layout fixes Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com> * Switching AceEditor theme reactively Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com> * Cleaning up Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
This commit is contained in:
1 parent
c7b11f86af
commit
0f11b03692
26 files changed
+85
-87
No files matched your search
@@ -1,5 +1,5 @@
|
||||
.KubeConfigDialog {
|
||||
&.light {
|
||||
.theme-light & {
|
||||
.AceEditor {
|
||||
border: 1px solid gainsboro;
|
||||
border-radius: $radius;
|
||||
|
||||
@@ -13,7 +13,6 @@ import { Dialog, DialogProps } from "../dialog";
|
||||
import { Icon } from "../icon";
|
||||
import { Notifications } from "../notifications";
|
||||
import { Wizard, WizardStep } from "../wizard";
|
||||
import { themeStore } from "../../theme.store";
|
||||
import { apiBase } from "../../api";
|
||||
|
||||
interface IKubeconfigDialogData {
|
||||
@@ -92,7 +91,7 @@ export class KubeConfigDialog extends React.Component<Props> {
|
||||
return (
|
||||
<Dialog
|
||||
{...dialogProps}
|
||||
className={cssNames("KubeConfigDialog", themeStore.activeTheme.type)}
|
||||
className={cssNames("KubeConfigDialog")}
|
||||
isOpen={isOpen}
|
||||
onOpen={this.onOpen}
|
||||
close={this.close}
|
||||
|
||||
Reference in new issue
Block a user