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
commit e1bd0b8c27
No known key found for this signature in database
GPG key ID: FB83DFEAFB3F4709

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]