New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FR] Read styles from local filesystem #1252
Comments
One way to implement it is P.S. The internal format of the files should be UserCSS, no need to reinvent the wheel. |
@tophf Polling is fine if we make it sth the user activates when they want to develop. We can optionally turn it off after three hours and show a notification. |
On-demand polling is already implemented, see Writing UserCSS. |
On the topic of IDEs—thoughts on adding(/accepting a PR for) GhostText integration? There's some early discussion of an extension API using |
Not planned? The integrated editor is slow on my side :( |
It's already implemented as "live reload", see Writing UserCSS. |
It would be very good if Stylus could read styles from a dir on the local filesystem, and apply the styles with hot reload. The options of a style can be put in the comments at the start of the CSS files.
For example, suppose Stylus is set to read the dir
~/userstyles/
. I put this style there as~/userstyles/x.css
:Then
Stylus
automatically applies this style onwww.google.com
domains, with hot reload when the file changes.This workflow has two major benefits:
Related:
The text was updated successfully, but these errors were encountered: