first-approach implementation of nesting selectors
This commit is contained in:
parent
9d25786e53
commit
d488f1a887
1 changed files with 40 additions and 7 deletions
|
|
@ -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!!");
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue