initial os release. I really expect SO much bugs, guys. good luck =)
This commit is contained in:
commit
7d39af11b7
2 changed files with 7965 additions and 0 deletions
17
examples/use-styles/src/main.rs
Normal file
17
examples/use-styles/src/main.rs
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
use sabry::styly;
|
||||
|
||||
styly!(pub const bundlemod {
|
||||
@use "tokens";
|
||||
.someth {
|
||||
@include tokens.clickable;
|
||||
background-color: black;
|
||||
}
|
||||
});
|
||||
|
||||
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!("Thats how we used the styles! Good luck!!");
|
||||
}
|
||||
12
examples/use-styles/src/main.sass
Normal file
12
examples/use-styles/src/main.sass
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
@use "tokens"
|
||||
|
||||
.someth
|
||||
@include tokens.clickable
|
||||
background: white
|
||||
&-dark
|
||||
background: none
|
||||
border: 1px solid black
|
||||
&[value]
|
||||
&::after
|
||||
content: "valued"
|
||||
color: green
|
||||
Loading…
Reference in a new issue