Dark Mode updates (#49)
* Minor dark mode changes * Add dark mode to gallery
This commit is contained in:
parent
d0bfd9a10f
commit
2053195673
|
|
@ -123,7 +123,9 @@
|
||||||
class="modal-toggle"
|
class="modal-toggle"
|
||||||
/>
|
/>
|
||||||
<div class="modal">
|
<div class="modal">
|
||||||
<div class="modal-box w-80 relative text-center">
|
<div
|
||||||
|
class="modal-box w-80 relative text-center dark:border-slate-600 dark:border"
|
||||||
|
>
|
||||||
<div>
|
<div>
|
||||||
<h3 class="mb-7 text-xl font-serif">
|
<h3 class="mb-7 text-xl font-serif">
|
||||||
A new device would like to connect to your account
|
A new device would like to connect to your account
|
||||||
|
|
@ -132,7 +134,7 @@
|
||||||
<input
|
<input
|
||||||
id="pin"
|
id="pin"
|
||||||
type="text"
|
type="text"
|
||||||
class="input input-bordered w-full max-w-xs mb-2"
|
class="input input-bordered w-full max-w-xs mb-2 font-mono text-3xl text-center tracking-[0.18em] font-light"
|
||||||
bind:value={pinInput}
|
bind:value={pinInput}
|
||||||
/>
|
/>
|
||||||
<label for="pin" class="label">
|
<label for="pin" class="label">
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,7 @@
|
||||||
|
|
||||||
let loadingFilesystem = false
|
let loadingFilesystem = false
|
||||||
|
|
||||||
let displayPin: string = ''
|
let displayPin: string = '844204'
|
||||||
let url = $page.url
|
let url = $page.url
|
||||||
const username = url.searchParams.get('username')
|
const username = url.searchParams.get('username')
|
||||||
|
|
||||||
|
|
@ -19,7 +19,7 @@
|
||||||
const accountLinkingConsumer = await createAccountLinkingConsumer(username)
|
const accountLinkingConsumer = await createAccountLinkingConsumer(username)
|
||||||
|
|
||||||
accountLinkingConsumer.on('challenge', ({ pin }) => {
|
accountLinkingConsumer.on('challenge', ({ pin }) => {
|
||||||
displayPin = pin.join(' ')
|
displayPin = pin.join('')
|
||||||
})
|
})
|
||||||
|
|
||||||
accountLinkingConsumer.on('link', async ({ approved, username }) => {
|
accountLinkingConsumer.on('link', async ({ approved, username }) => {
|
||||||
|
|
@ -62,7 +62,7 @@
|
||||||
>
|
>
|
||||||
{#if displayPin}
|
{#if displayPin}
|
||||||
<span
|
<span
|
||||||
class="btn btn-info btn-lg rounded-full text-2xl tracking-widest w-3/4 cursor-default"
|
class="btn bg-blue-900 btn-lg rounded-full text-3xl tracking-[.18em] font-normal w-3/4 cursor-default font-mono font-light"
|
||||||
>
|
>
|
||||||
{displayPin}
|
{displayPin}
|
||||||
</span>
|
</span>
|
||||||
|
|
@ -78,9 +78,7 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<button
|
<button class="btn btn-primary btn-outline text-base font-normal">
|
||||||
class="btn btn-primary btn-outline text-base font-normal mt-4"
|
|
||||||
>
|
|
||||||
Cancel Request
|
Cancel Request
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
|
|
@ -101,10 +101,12 @@
|
||||||
class="modal cursor-pointer z-50"
|
class="modal cursor-pointer z-50"
|
||||||
on:click|self={handleCloseModal}
|
on:click|self={handleCloseModal}
|
||||||
>
|
>
|
||||||
<div class="modal-box relative text-center text-base-content">
|
<div
|
||||||
|
class="modal-box relative text-center text-base-content border dark:border-slate-600"
|
||||||
|
>
|
||||||
<label
|
<label
|
||||||
for={`image-modal-${image.cid}`}
|
for={`image-modal-${image.cid}`}
|
||||||
class="btn btn-xs btn-circle absolute right-2 top-2"
|
class="btn btn-xs btn-circle absolute right-2 top-2 dark:bg-slate-600"
|
||||||
on:click={handleCloseModal}
|
on:click={handleCloseModal}
|
||||||
>
|
>
|
||||||
✕
|
✕
|
||||||
|
|
@ -139,7 +141,7 @@
|
||||||
<a
|
<a
|
||||||
href={`https://ipfs.runfission.net/ipfs/${image.cid}/userland`}
|
href={`https://ipfs.runfission.net/ipfs/${image.cid}/userland`}
|
||||||
target="_blank"
|
target="_blank"
|
||||||
class="underline mb-4"
|
class="underline mb-4 hover:text-slate-500"
|
||||||
>
|
>
|
||||||
View on IPFS
|
View on IPFS
|
||||||
</a>
|
</a>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue