voxell-tech/bevy_motiongfx

Typst example can't work with theme specified

Closed this issue · 5 comments

Works only if I remove set theme. Also, I am using Linux and path looks strange, the .\\ part. Can't set absolute path either.

WARN naga_oil::compose::parse_imports: item list imports are deprecated, please use `rust::style::item_imports` (or use feature `allow_deprecated`)`
| #import bevy_render::view View

[
    SourceDiagnostic {
        severity: Error,
        span: Span(
            37906033158448,
        ),
        message: "file not found (searched at .\\assets/themes/Monokai Pro.tmTheme)",
        trace: [],
        hints: [],
    },
]

Hmm this is strange, I have encountered many issues regarding this theme path. I will take a look into it. I am on Windows tho, maybe that is the difference. Will work on the path issue also.

I've got the culprit. right there.

Oo thanks, does it work tho if you change it to the correct format? Haha

Should be fixed in #38 . Yes, it was path problem.

awesome, thanks @AbstractiveNord !