first-approach implementation of nesting selectors

This commit is contained in:
Yiffy Dev 2024-10-30 16:33:50 +05:00 • committed by spushk
commit d488f1a887
Signed by: spushk
GPG key ID: 7797B761E105E8AA

View file

@ -5,6 +5,9 @@ styly!(pub const bundlemod {
.someth {
@include tokens.clickable;
background-color: black;
&-dark {
background-color: white;
}
}
});
@ -13,5 +16,6 @@ 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!!");
}