Skip to content

Commit d14e752

Browse files
committed
Removed the box-sahdow and added a border using the --uui-border-color, for the preview button
1 parent b04b866 commit d14e752

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/uui-color-picker/lib/uui-color-picker.element.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -642,7 +642,6 @@ export class UUIColorPickerElement extends LabelMixin('label', LitElement) {
642642
width: 100%;
643643
height: 100%;
644644
border-radius: inherit;
645-
box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.2);
646645
/* We use a custom property in lieu of currentColor because of https://bugs.webkit.org/show_bug.cgi?id=216780 */
647646
background-color: var(--preview-color);
648647
}
@@ -652,6 +651,7 @@ export class UUIColorPickerElement extends LabelMixin('label', LitElement) {
652651
}
653652
654653
.color-picker__transparent-bg {
654+
border: 1px solid var(--uui-color-border);
655655
background-image: linear-gradient(
656656
45deg,
657657
var(--uui-palette-grey) 25%,

0 commit comments

Comments
 (0)