sabry/examples/use-styles/src/main.rs
2024-10-30 16:41:45 +05:00

21 lines
569 B
Rust

use sabry::styly;
styly!(pub const bundlemod {
@use "tokens";
.someth {
@include tokens.clickable;
background-color: black;
&__dark {
background-color: white;
}
}
});
styly!(pub const filemod:sass "src/main.sass");
fn main(){
println!("someth class codemod styles: {}", bundlemod::someth);
println!("someth class filemod styles: {}", filemod::someth);
//println!("someth-dark selector will be: {}", bundlemod::_dark(bundlemod::someth));
println!("Thats how we used the styles! Good luck!!");
}