mirror of
https://github.com/visortelle/haskell-spotlight.git
synced 2024-08-15 15:00:33 +03:00
16 lines
642 B
TypeScript
16 lines
642 B
TypeScript
import normalizeStyles from "../styles/normalize.css";
|
|
import globalsStyles from "../styles/globals.css";
|
|
import fontsStyles from "../styles/fonts.css";
|
|
import reactLibStyles from "@haskell-spotlight/react-lib/dist/react-lib.css";
|
|
import reactToastifyStyles from "react-toastify/dist/ReactToastify.css";
|
|
import hljsStyles from "highlight.js/styles/kimbie-light.css";
|
|
|
|
export const applyStyles = (target: HTMLElement) => {
|
|
normalizeStyles.use({ target });
|
|
fontsStyles.use({ target: document.head });
|
|
globalsStyles.use({ target });
|
|
reactLibStyles.use({ target });
|
|
reactToastifyStyles.use({ target });
|
|
hljsStyles.use({ target });
|
|
};
|