Pinned Loading
-
-
svelte-set-css-vars
svelte-set-css-vars PublicReactive deep object css variables in svelte
JavaScript
-
knowledge-component
knowledge-component PublicDynamic embeddable Synthetix knowledge component
JavaScript
-
-
List all font urls on site loaded us...
List all font urls on site loaded using @font-face 1Promise.all(
2[...document.styleSheets].map((x) => {
3if (!x.href) return;
4return new Promise((resolve) => {
5fetch(x.href)
-
Get dominant colours from a website ...
Get dominant colours from a website using the DOM 1const getDominantColours = (context) =>
2[...(context || document).querySelectorAll("*")]
3.map(
4(x) =>
5x.style.backgroundColor || x.style.color
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.