Skip to content

Commit 455c1ca

Browse files
TheRealArtonniOvergaard
authored andcommitted
fix: Update uui-box.element.ts to support border color changeability
1 parent f6e0a94 commit 455c1ca

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

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

+2-3
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ function slotHasContent(target: EventTarget | null): boolean {
2323
* @cssprop --uui-box-border-width - overwrite the box border, default is 0
2424
* @cssprop --uui-box-box-shadow - overwrite the box shadow, default is var(--uui-shadow-depth-1)
2525
* @cssprop --uui-box-border-radius - overwrite the box border-radius, default is var(--uui-border-radius)
26-
*
26+
* @cssprop --uui-box-border-color - overwrites the box border colorm default is var(--uui-color-divider-standalone)
2727
*/
2828
@defineElement('uui-box')
2929
export class UUIBoxElement extends LitElement {
@@ -123,8 +123,7 @@ export class UUIBoxElement extends LitElement {
123123
:host {
124124
display: block;
125125
border: var(--uui-box-border-width, 0) solid
126-
var(--uui-color-divider-standalone);
127-
126+
var(--uui-box-border-color, var(--uui-color-divider-standalone));
128127
box-shadow: var(--uui-box-box-shadow, var(--uui-shadow-depth-1));
129128
border-radius: var(--uui-box-border-radius, var(--uui-border-radius));
130129
background-color: var(--uui-color-surface);

0 commit comments

Comments
 (0)