openstyles/stylus

[Bug] @import is not working

NamekujiLSDs opened this issue · 1 comments

Bug Report

Bug Description

@import url(“https//.....”) does not work when trying to load CSS with
If I create a style tag directly in the DOM and load it, it works, so there is no URL issue. So I thought it was a problem with this software, so I created an issue here

Screenshots

CSS Code

System Information

  • OS: Windows 10
  • Browser: 125.0.6422.142
  • Stylus Version: 1.5.46

Additional Context

It works for me and other people, so the problem is either in your code or the import is blocked by the site's CSP, which you can circumvent by enabling Patch CSP in Stylus options.