Skip to content

Commit b806213

Browse files
committed
Sets the text color of the property description
1 parent 5204129 commit b806213

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/packages/core/property/property-layout/property-layout.element.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ export class UmbPropertyLayoutElement extends UmbLitElement {
8282
#renderDescription() {
8383
if (!this.description) return;
8484
const ufmValue = { alias: this.alias, label: this.label, description: this.description };
85-
return html`<umb-ufm-render .markdown=${this.description} .value=${ufmValue}></umb-ufm-render>`;
85+
return html`<umb-ufm-render id="description" .markdown=${this.description} .value=${ufmValue}></umb-ufm-render>`;
8686
}
8787

8888
static override styles = [
@@ -131,6 +131,10 @@ export class UmbPropertyLayoutElement extends UmbLitElement {
131131
right: -30px;
132132
}
133133
134+
#description {
135+
color: var(--uui-color-text-alt);
136+
}
137+
134138
#editorColumn {
135139
margin-top: var(--uui-size-space-3);
136140
}

src/packages/ufm/components/ufm-render/ufm-render.element.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -94,10 +94,6 @@ export class UmbUfmRenderElement extends UmbLitElement {
9494
static override styles = [
9595
UmbTextStyles,
9696
css`
97-
:host {
98-
color: var(--uui-color-text-alt);
99-
}
100-
10197
* {
10298
max-width: 100%;
10399
}

0 commit comments

Comments
 (0)