Compare commits

..

No commits in common. "6aaf4ecfb42b676ab9cd1f569c83304d91fa3aa9" and "2ae789e6a64461b3ad4802007308148e5294e8e2" have entirely different histories.

11 changed files with 11 additions and 18 deletions

View File

@ -0,0 +1 @@
{"display_param": "0", "terminal": "nvimterm"}

View File

@ -11,14 +11,6 @@ if(icon_override){
}
let isloaded = false
import { onMount } from "svelte";
onMount(() => {
const el = document.querySelector("img")
if(el.complete){
isloaded = true
}
})
</script>
<style>
.card{

View File

@ -2,14 +2,6 @@
export let src
export let placeholder_src
let isloaded=false
import { onMount } from "svelte";
onMount(() => {
const el = document.querySelector("img")
if(el.complete){
isloaded = true
}
})
</script>
<style>
:root {
@ -68,7 +60,7 @@
object-fit: cover;
object-position: 50% 20%;
backdrop-filter: blur(20px);
transition: 50ms;
transition: 200ms;
filter: blur(20px);
z-index: -10;
}
@ -114,7 +106,7 @@ div:has(.placeholder){
<div>
<div class=placeholder style="background-image:url({placeholder_src})" >
<div class=placeholder_blur>
<img class:unblur={isloaded} id=image {src} on:load={() => {isloaded=true}} alt=""/>
<img class:unblur={isloaded} id=image {src} on:load={() => isloaded=true} alt=""/>
</div>
</div>
</div>

View File

@ -0,0 +1 @@
{"terminal": "nvimterm"}

View File

@ -0,0 +1 @@
{"terminal": "nvimterm"}

View File

@ -0,0 +1 @@
{"terminal": "nvimterm"}

View File

@ -0,0 +1 @@
{"terminal": "nvimterm"}

View File

@ -0,0 +1 @@
{"terminal": "nvimterm"}

View File

@ -0,0 +1 @@
{"terminal": "nvimterm"}

View File

@ -0,0 +1 @@
{"terminal": "nvimterm"}

View File

@ -0,0 +1 @@
{"terminal": "nvimterm"}