diff --git a/src/renderer/components/+add-cluster/add-cluster.scss b/src/renderer/components/+add-cluster/add-cluster.scss index 84108c3795..9583ec17b9 100644 --- a/src/renderer/components/+add-cluster/add-cluster.scss +++ b/src/renderer/components/+add-cluster/add-cluster.scss @@ -1,9 +1,20 @@ .AddClusters { + --flex-gap: #{$unit * 2}; $spacing: $padding * 2; .AceEditor { min-height: 200px; max-height: 400px; + border: 1px solid var(--colorVague); + border-radius: $radius; + + .theme-light & { + border-color: var(--borderFaintColor); + } + + .editor { + border-radius: $radius; + } } .Select { @@ -27,4 +38,13 @@ code { color: $pink-400; } + + .text-primary { + color: var(--textColorAccent); + } + + .hint { + display: block; + padding-top: 6px; + } } diff --git a/src/renderer/components/+add-cluster/add-cluster.tsx b/src/renderer/components/+add-cluster/add-cluster.tsx index 56e7d4e893..139ebd392c 100644 --- a/src/renderer/components/+add-cluster/add-cluster.tsx +++ b/src/renderer/components/+add-cluster/add-cluster.tsx @@ -195,21 +195,19 @@ export class AddCluster extends React.Component { renderInfo() { return ( - -

- Add clusters by clicking the Add Cluster button. - You'll need to obtain a working kubeconfig for the cluster you want to add. - You can either browse it from the file system or paste it as a text from the clipboard. - Read more about adding clusters here. -

-
+

+ Add clusters by clicking the Add Cluster button. + You'll need to obtain a working kubeconfig for the cluster you want to add. + You can either browse it from the file system or paste it as a text from the clipboard. + Read more about adding clusters here. +

); } renderKubeConfigSource() { return ( <> - + Select kubeconfig file} @@ -221,7 +219,7 @@ export class AddCluster extends React.Component { /> {this.sourceTab === KubeConfigSourceTab.FILE && ( - <> +
Pro-Tip: you can also drag-n-drop kubeconfig file to this area - +
)} {this.sourceTab === KubeConfigSourceTab.TEXT && ( - <> +
Pro-Tip: paste kubeconfig to get available contexts - +
)} ); @@ -275,7 +273,7 @@ export class AddCluster extends React.Component { ? Selected contexts: {this.selectedContexts.length} : Select contexts; return ( - <> +