fix!: bring the scope autocompletion in by changing style input syntax

BREAKING CHANGE: `styly`, `sassy` macros syntax change. Now requires `{"$code"}`.
This commit is contained in:
Yiffy Dev 2024-11-01 09:42:37 +05:00 • committed by spushk
commit ac4a5d5073
Signed by: spushk
GPG key ID: 7797B761E105E8AA

View file

@ -1,10 +1,10 @@
use leptos::prelude::*;
use sabry::styly;
styly!(style {
@use "tokens";
@use "utils";
@use "theme";
styly!(style {"
@use 'tokens';
@use 'utils';
@use 'theme';
h2 {
margin-bottom: 1rem;
@ -35,7 +35,7 @@ styly!(style {
text-transform: uppercase;
}
});
"});
/// Renders the home page of your application.
#[component]