File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -20,6 +20,9 @@ function slotHasContent(target: EventTarget | null): boolean {
20
20
* @slot - area for the content of the box
21
21
* @cssprop --uui-box-header-padding - overwrite the header padding
22
22
* @cssprop --uui-box-default-padding - overwrite the box padding
23
+ * @cssprop --uui-box-border-width - overwrite the box border, default is 0
24
+ * @cssprop --uui-box-box-shadow - overwrite the box shadow, default is var(--uui-shadow-depth-1)
25
+ * @cssprop --uui-box-border-radius - overwrite the box border-radius, default is var(--uui-border-radius)
23
26
*
24
27
*/
25
28
@defineElement ( 'uui-box' )
@@ -119,8 +122,11 @@ export class UUIBoxElement extends LitElement {
119
122
css `
120
123
: host {
121
124
display : block;
122
- box-shadow : var (--uui-shadow-depth-1 );
123
- border-radius : var (--uui-border-radius );
125
+ border : var (--uui-box-border-width , 0 ) solid
126
+ var (--uui-color-divider-standalone );
127
+
128
+ box-shadow : var (--uui-box-box-shadow , var (--uui-shadow-depth-1 ));
129
+ border-radius : var (--uui-box-border-radius , var (--uui-border-radius ));
124
130
background-color : var (--uui-color-surface );
125
131
}
126
132
You can’t perform that action at this time.
0 commit comments