Skip to content

Commit

Permalink
Merge pull request #18 from holaplex/espi/theme-modal-close-icon
Browse files Browse the repository at this point in the history
Theme Modal Close Icon
  • Loading branch information
kespinola authored Apr 26, 2023
2 parents 0552fd8 + c4234be commit 41a9b34
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions packages/@holaplexui-playground/styles/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,10 @@ a {
@apply top-1 right-1 rounded-full bg-gray-50 p-2 hover:bg-gray-100 hover:text-gray-400;
}

.modal-close-icon {
@apply text-black;
}

.modal-title {
@apply text-lg font-medium leading-6;
}
Expand Down
2 changes: 1 addition & 1 deletion packages/@holaplexui-react/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@holaplex/ui-library-react",
"author": "Holaplex Inc.",
"version": "0.17.1",
"version": "0.17.2",
"description": "Holaplex react ui library components",
"private": false,
"files": [
Expand Down
2 changes: 1 addition & 1 deletion packages/@holaplexui-react/src/components/Modal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ export function Modal(props: ModalProps) {
onClick={() => props.setOpen(false)}
className={clsx('absolute z-50', 'modal-close')}
>
<XMarkIcon className="h-4 w-4 text-black" />
<XMarkIcon className="h-4 w-4 modal-close-icon" />
</button>
{props.title && (
<Dialog.Title as="h3" className="modal-title">
Expand Down

0 comments on commit 41a9b34

Please sign in to comment.