Rose Pine sparkles
This commit is contained in:
parent
acc482abef
commit
8ed88c9e10
|
@ -73,7 +73,7 @@ export default defineComponent({
|
||||||
const el = ref<HTMLElement>();
|
const el = ref<HTMLElement>();
|
||||||
const width = ref(0);
|
const width = ref(0);
|
||||||
const height = ref(0);
|
const height = ref(0);
|
||||||
const colors = ['#FF1493', '#00FFFF', '#FFE202', '#FFE202', '#FFE202'];
|
const colors = ['#eb6f92', '#9ccfd8', '#f6c177', '#f6c177', '#ebbcba'];
|
||||||
let stop = false;
|
let stop = false;
|
||||||
let ro: ResizeObserver | undefined;
|
let ro: ResizeObserver | undefined;
|
||||||
|
|
||||||
|
@ -107,7 +107,7 @@ export default defineComponent({
|
||||||
};
|
};
|
||||||
add();
|
add();
|
||||||
});
|
});
|
||||||
|
|
||||||
onUnmounted(() => {
|
onUnmounted(() => {
|
||||||
if (ro) ro.disconnect();
|
if (ro) ro.disconnect();
|
||||||
stop = true;
|
stop = true;
|
||||||
|
|
Loading…
Reference in New Issue