From fb8653241fc413edb379637186a20704010948cf Mon Sep 17 00:00:00 2001 From: Artem Zatsarynnyi Date: Tue, 24 Mar 2020 09:06:46 +0200 Subject: [PATCH] Update Che Theia CSS styling to respect the VS Code theming approach (#656) (#684) * Update Che Theia CSS styling to respect the VS Code theming approach Signed-off-by: Artem Zatsarynnyi --- .../src/browser/about-che-theia-dialog.tsx | 2 +- .../src/browser/style/che-theia-about.css | 8 --- .../src/browser/che-devfile-main.ts | 2 +- .../plugin/che-plugin-view-toolbar.tsx | 4 +- .../src/browser/style/che-plugins-caching.css | 2 +- .../style/che-plugins-notification.css | 6 +- .../src/browser/style/che-plugins.css | 56 ++++++++++--------- .../resources/preview-urls-view.css | 14 ++--- 8 files changed, 44 insertions(+), 50 deletions(-) diff --git a/extensions/eclipse-che-theia-about/src/browser/about-che-theia-dialog.tsx b/extensions/eclipse-che-theia-about/src/browser/about-che-theia-dialog.tsx index 36fd589fc..01bf7aa65 100644 --- a/extensions/eclipse-che-theia-about/src/browser/about-che-theia-dialog.tsx +++ b/extensions/eclipse-che-theia-about/src/browser/about-che-theia-dialog.tsx @@ -91,7 +91,7 @@ export class AboutCheTheiaDialog extends AboutDialog { fontWeight: 400 }; const linkStyle: React.CSSProperties = { - color: 'var(--theia-ui-dialog-font-color)' + color: 'var(--theia-editorWidget-foreground)' }; return

Che-Theia@ diff --git a/extensions/eclipse-che-theia-about/src/browser/style/che-theia-about.css b/extensions/eclipse-che-theia-about/src/browser/style/che-theia-about.css index a96c6573d..6e069f95f 100644 --- a/extensions/eclipse-che-theia-about/src/browser/style/che-theia-about.css +++ b/extensions/eclipse-che-theia-about/src/browser/style/che-theia-about.css @@ -31,11 +31,3 @@ margin-right: 10px; height: 80px; } - -.che-theia-about-product-name { - display: flex; - align-items: center; - font-weight: 400; - color: var(--theia-ui-font-color0); - font-size: 45px; -} diff --git a/extensions/eclipse-che-theia-plugin-ext/src/browser/che-devfile-main.ts b/extensions/eclipse-che-theia-plugin-ext/src/browser/che-devfile-main.ts index 97dec1646..050f48b64 100644 --- a/extensions/eclipse-che-theia-plugin-ext/src/browser/che-devfile-main.ts +++ b/extensions/eclipse-che-theia-plugin-ext/src/browser/che-devfile-main.ts @@ -88,7 +88,7 @@ class OpenFactoryLinkDialog extends AbstractDialog { this.link = document.createElement('a'); this.link.target = '_blank'; - this.link.setAttribute('style', 'color: var(--theia-ui-dialog-font-color);'); + this.link.setAttribute('style', 'color: var(--theia-editorWidget-foreground);'); message.appendChild(this.link); this.appendCloseButton(); diff --git a/extensions/eclipse-che-theia-plugin-ext/src/browser/plugin/che-plugin-view-toolbar.tsx b/extensions/eclipse-che-theia-plugin-ext/src/browser/plugin/che-plugin-view-toolbar.tsx index 4216a9813..baca0d7fb 100644 --- a/extensions/eclipse-che-theia-plugin-ext/src/browser/plugin/che-plugin-view-toolbar.tsx +++ b/extensions/eclipse-che-theia-plugin-ext/src/browser/plugin/che-plugin-view-toolbar.tsx @@ -61,7 +61,7 @@ export class ChePluginViewToolbar extends React.Component; } else { return