Skip to content

Commit

Permalink
update stylsheet icon
Browse files Browse the repository at this point in the history
  • Loading branch information
madsrasmussen committed Oct 7, 2024
1 parent 8ba24fd commit 94eaa7d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,7 @@ export class UmbWorkspacePackageBuilderElement extends UmbLitElement {
<umb-property-layout label="Stylesheets">
<div slot="editor">
<umb-input-entity
.getIcon=${() => 'icon-brush-alt'}
.getIcon=${() => 'icon-palette'}
.pickerContext=${UmbStylesheetPickerInputContext}
.selection=${this._package.stylesheets.map((path) => this.#serverFilePathUniqueSerializer.toUnique(path)) ??
[]}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,14 +54,14 @@ export class UmbStylesheetCreateOptionsModalElement extends UmbModalBaseElement<
<uui-box>
<!-- TODO: construct url -->
<uui-menu-item href=${`${this.#getCreateHref()}/view/code`} label="New Stylesheet" @click=${this.#onNavigate}>
<uui-icon slot="icon" name="icon-brush-alt"></uui-icon>}
<uui-icon slot="icon" name="icon-palette"></uui-icon>}
</uui-menu-item>
<uui-menu-item
href=${`${this.#getCreateHref()}/view/rich-text-editor`}
label="New Rich Text Editor Stylesheet"
@click=${this.#onNavigate}>
<uui-icon slot="icon" name="icon-brush-alt"></uui-icon>}
<uui-icon slot="icon" name="icon-palette"></uui-icon>}
</uui-menu-item>
<uui-menu-item @click=${this.#onCreateFolderClick} label="New Folder...">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,6 @@ const mapper = (item: FileSystemTreeItemPresentationModel): UmbStylesheetTreeIte
name: item.name,
isFolder: item.isFolder,
hasChildren: item.hasChildren,
icon: item.isFolder ? undefined : 'icon-brush-alt',
icon: item.isFolder ? undefined : 'icon-palette',
};
};

0 comments on commit 94eaa7d

Please sign in to comment.