Skip to content

Commit

Permalink
update modal backdrop color for dark theme
Browse files Browse the repository at this point in the history
  • Loading branch information
n1crack committed Oct 2, 2022
1 parent 47ce542 commit 47be16d
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion dist/style.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/vuefinder.js
Original file line number Diff line number Diff line change
Expand Up @@ -3079,7 +3079,7 @@ const Gl = { class: "vuefinder" }, Jl = /* @__PURE__ */ d("iframe", {
], 2)
]));
}
}), ec = /* @__PURE__ */ d("div", { class: "fixed inset-0 bg-gray-500 bg-opacity-75 transition-opacity" }, null, -1), tc = { class: "fixed z-10 inset-0 overflow-y-auto w-screen h-screen" }, rc = { class: "relative bg-white dark:bg-gray-800 rounded-lg text-left overflow-hidden shadow-xl transform transition-all sm:my-8 sm:max-w-4xl md:max-w-2xl lg:max-w-3xl xl:max-w-5xl w-full" }, oc = { class: "bg-white dark:bg-gray-800 px-4 pt-5 pb-4 sm:p-6 sm:pb-4" }, ac = { class: "bg-gray-50 dark:bg-gray-800 dark:border-t dark:border-gray-700 px-4 py-3 sm:px-6 sm:flex sm:flex-row-reverse" }, $e = {
}), ec = /* @__PURE__ */ d("div", { class: "fixed inset-0 bg-gray-500 dark:bg-gray-800 dark:bg-opacity-75 bg-opacity-75 transition-opacity" }, null, -1), tc = { class: "fixed z-10 inset-0 overflow-y-auto w-screen h-screen" }, rc = { class: "relative bg-white dark:bg-gray-800 rounded-lg text-left overflow-hidden shadow-xl transform transition-all sm:my-8 sm:max-w-4xl md:max-w-2xl lg:max-w-3xl xl:max-w-5xl w-full" }, oc = { class: "bg-white dark:bg-gray-800 px-4 pt-5 pb-4 sm:p-6 sm:pb-4" }, ac = { class: "bg-gray-50 dark:bg-gray-800 dark:border-t dark:border-gray-700 px-4 py-3 sm:px-6 sm:flex sm:flex-row-reverse" }, $e = {
__name: "ModalLayout",
setup(t) {
const e = B("emitter");
Expand Down
2 changes: 1 addition & 1 deletion dist/vuefinder.umd.cjs

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vuefinder",
"version": "1.1.5",
"version": "1.1.6",
"description": "Vuefinder is a file manager component for vuejs.",
"type": "module",
"files": [
Expand Down
2 changes: 1 addition & 1 deletion src/components/modals/ModalLayout.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<!-- This example requires Tailwind CSS v2.0+ -->
<div class="v-f-modal relative z-30" aria-labelledby="modal-title" role="dialog" aria-modal="true"
@keyup.esc="emitter.emit('vf-modal-close')" tabindex="0">
<div class="fixed inset-0 bg-gray-500 bg-opacity-75 transition-opacity"></div>
<div class="fixed inset-0 bg-gray-500 dark:bg-gray-800 dark:bg-opacity-75 bg-opacity-75 transition-opacity"></div>

<div class="fixed z-10 inset-0 overflow-y-auto w-screen h-screen">
<div class="flex items-end sm:items-center justify-center min-h-full p-4 text-center sm:p-0" @mousedown.self="emitter.emit('vf-modal-close')">
Expand Down

0 comments on commit 47be16d

Please sign in to comment.