diff --git a/README.md b/README.md index ec284c2..be7fb6f 100644 --- a/README.md +++ b/README.md @@ -18,9 +18,7 @@ At first, I'll show how this crate "tastes". With SABRY, its in your power to: -
|
+ Write arbitrary SASS/SCSS code and ship it *as a crate* however you please: with modules, with feature flags, etc. Say "bye" to manual copying, cli-tools and consts. @@ -28,10 +26,7 @@ Write arbitrary SASS/SCSS code and ship it *as a crate* however you please: with sabry::scssy!(tokens {"@mixin colored{color: red;}"}); ``` - |
-
|
+ Get the *(almost)* proper autocompletion for your scope from rust-analyzer @@ -42,10 +37,7 @@ scope::cls1; scope::theid1; ``` - |
-
|
+ Code your SASS in separate files to get proper syntax highlighting, or do sass-in-the-rust to keep things in one place @@ -54,22 +46,18 @@ sabry::styly!(component {".btn {color: green;}"}); sabry::styly!(extras "tests/assets/mixin-module.scss"); ``` - |
-
|
+ Depend on styles with cargo, at build time, which brings all the rusty sweeties in: versions, updates, cratesio, local registries, workspaces, etc. ```toml -[build-dependencies] -tgk_brandstyle = {version = "0.0.1", features = ["utils"]} +[build-dependencies.your_styles] +registry = "your_registry_isnt_that_cool" +version = "^0.1" +features = ["darkmode", "mobile"] ``` - |
-
|
+ `@use` your style-crates in sass code *naturally* @@ -80,10 +68,7 @@ sabry::styly!(breadbadge {" "}); ``` - |
-
|
+ Keep things as private and modular as you wish @@ -100,10 +85,7 @@ sabry::styly!(dogs {"#howl {border: none;}"}); } ``` - |
-
|
+ Compile all the sweet SASS/SCSS into the optimized CSS bundle, ship it in CSS shunks or even include the compiled style into the binary @@ -112,9 +94,7 @@ sabry::styly!(cssbundle {".c1 {color: white;}"}); sabry::styly!(const binary {".c2 {color: black;}"}); ``` - |
-