Skip to content

Instantly share code, notes, and snippets.

@lukastaegert
lukastaegert / assets.js
Last active July 21, 2022 03:21
Rollup plugins to emit chunks and CSS assets from an HTML file and add an updated HTML file to the build, and to emit assets from a JS file.
export const rollupLogo = "./logo.svg";
@tomhicks
tomhicks / plink-plonk.js
Last active March 18, 2024 02:23
Listen to your web pages
@dmackerman
dmackerman / gist:4734551
Last active May 3, 2023 16:36
If you use Font Awesome in ::before and ::after pseudo elements, you can use these variables instead of using the unrecognizable content definitions.
.booya {
&:before {
font-family: "FontAwesome";
content: '$icon-music';
}
}
$icon-glass: "\f000";
$icon-music: "\f001";
$icon-search: "\f002";