Skip to content

Commit

Permalink
Test commit using the vsx-extension widget
Browse files Browse the repository at this point in the history
  • Loading branch information
msujew committed Oct 5, 2021
1 parent 042e69c commit 6419413
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
5 changes: 5 additions & 0 deletions examples/api-samples/src/browser/style/branding.css
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,8 @@
background-repeat: no-repeat;
background-size: 15%;
}

.unclosable-window-icon {
-webkit-mask: url('window-icon.svg');
mask: url('window-icon.svg');
}
4 changes: 4 additions & 0 deletions examples/api-samples/src/browser/style/window-icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
********************************************************************************/

import { codicon, ReactWidget } from '@theia/core/lib/browser';
import { ReactWidget } from '@theia/core/lib/browser';
import { injectable, postConstruct } from '@theia/core/shared/inversify';
import * as React from '@theia/core/shared/react';

Expand All @@ -30,7 +30,7 @@ export class SampleViewUnclosableView extends ReactWidget {
this.id = SampleViewUnclosableView.ID;
this.title.caption = 'Sample Unclosable View';
this.title.label = 'Sample Unclosable View';
this.title.iconClass = codicon('window');
this.title.iconClass = 'unclosable-window-icon';
this.title.closable = false;
this.update();
}
Expand Down

0 comments on commit 6419413

Please sign in to comment.