fkhadra / fkhadra/style2js

Add option for injecting styles at top of head

Open
#1 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
4
Forks
1
PR merge metrics
No merged PRs in 30d

Description

Currently, the function output by this package uses `document.head.appendChild(css)`. I'm using `react-toastify` and would love an option to pass to `inject-styles()` for inserting the css with `document.head.insertBefore(css, head.firstChild)`, because I have custom style overrides in a stylesheet above the injected styles that aren't taking precedence due to the order.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.