Skip to content

Commit f6fba8b

Browse files
committed
change to --uui-validation-color
1 parent 6896328 commit f6fba8b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

packages/uui-input/lib/uui-input.element.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -431,7 +431,7 @@ export class UUIInputElement extends UUIFormControlMixin(
431431
:host(:not([pristine]):invalid),
432432
/* polyfill support */
433433
:host(:not([pristine])[internals-invalid]) {
434-
border-color: var(--uui-color-danger);
434+
border-color: var(--uui-validation-color, var(--uui-color-danger));
435435
}
436436
437437
input {

packages/uui-label/lib/uui-label.element.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { property } from 'lit/decorators.js';
66
* Label element for Custom Element
77
* @element uui-label
88
* @slot - for the label text.
9-
* @cssprop --uui-label-required-color - Color property for the required asterisk.
9+
* @cssprop --uui-validation-color - Color property for the required asterisk.
1010
*/
1111
@defineElement('uui-label')
1212
export class UUILabelElement extends LitElement {
@@ -80,7 +80,7 @@ export class UUILabelElement extends LitElement {
8080
}
8181
#required {
8282
display: inline;
83-
color: var(--uui-label-required-color, var(--uui-color-danger));
83+
color: var(--uui-validation-color, var(--uui-color-danger));
8484
font-weight: 900;
8585
}
8686
`,

0 commit comments

Comments
 (0)