Skip to content

Commit 4175fa0

Browse files
authored
Merge pull request #19 from holaplex/espi/holaplex-design-feedback
Updates for Holaplex Theme
2 parents 41a9b34 + 96b4cd9 commit 4175fa0

File tree

4 files changed

+8
-4
lines changed

4 files changed

+8
-4
lines changed

packages/@holaplexui-playground/styles/globals.css

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,8 +125,12 @@ a {
125125
@apply flex flex-col gap-4;
126126
}
127127

128+
.modal-scrim {
129+
@apply bg-gray-800 bg-opacity-40;
130+
}
131+
128132
.modal-panel {
129-
@apply flex flex-col bg-white h-full transform !overflow-visible align-middle transition-all overflow-y-auto rounded-md shadow-md max-h-screen max-w-md sm:h-auto sm:max-w-lg;
133+
@apply flex z-20 flex-col bg-white h-full transform !overflow-visible align-middle transition-all overflow-y-auto rounded-md shadow-md max-h-screen max-w-md sm:h-auto sm:max-w-lg;
130134
}
131135

132136
.modal-close {

packages/@holaplexui-react/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@holaplex/ui-library-react",
33
"author": "Holaplex Inc.",
4-
"version": "0.17.2",
4+
"version": "0.18.0",
55
"description": "Holaplex react ui library components",
66
"private": false,
77
"files": [

packages/@holaplexui-react/src/components/Modal.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export function Modal(props: ModalProps) {
2828
<div
2929
className={clsx(
3030
'fixed inset-0 z-40',
31-
'bg-gray-800 bg-opacity-40',
31+
'modal-scrim',
3232
'transition-opacity duration-500 ease-in-out',
3333
'flex flex-col items-center justify-center',
3434
{

packages/@holaplexui-react/src/components/Popover.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ export function PopoverBox({
5555
ref={setPopperElement}
5656
style={styles.popper}
5757
{...attributes.popper}
58-
className={clsx('absolute z-20 w-auto', 'popover-panel')}
58+
className={clsx('absolute w-auto', 'popover-panel')}
5959
>
6060
<div className="overflow-hidden popover-content">
6161
<>

0 commit comments

Comments
 (0)