feat: relative style paths & component crate example

This commit is contained in:
Yiffy Dev 2024-11-16 22:32:38 +05:00
commit 17fa4ab197
No known key found for this signature in database
GPG key ID: FB83DFEAFB3F4709

View file

@ -1,6 +1,8 @@
use sabry::scssy;
scssy!(style "src/style.scss");
// relative path is available because 'nightly' feature flag is set.
// If you don't - this will be "src/style.scss"
scssy!(style "./style.scss");
scssy!(utils {"
@mixin flex($direction, $align, $justify, $gap: .5rem) {