mirror of
https://github.com/Nystik-gh/ignis.git
synced 2026-06-17 04:35:53 +00:00
move shim to new package
This commit is contained in:
9
packages/shim/src/css-overrides.js
Normal file
9
packages/shim/src/css-overrides.js
Normal file
@@ -0,0 +1,9 @@
|
||||
// Injects a link to the CSS overrides stylesheet served from /assets/overrides.css.
|
||||
|
||||
export function installCssOverrides() {
|
||||
const link = document.createElement("link");
|
||||
link.rel = "stylesheet";
|
||||
link.href = "/assets/overrides.css";
|
||||
link.setAttribute("data-ignis", "css-overrides");
|
||||
document.head.appendChild(link);
|
||||
}
|
||||
Reference in New Issue
Block a user