Skip to content

Commit

Permalink
Fix prefix.
Browse files Browse the repository at this point in the history
  • Loading branch information
futursolo committed Aug 20, 2021
1 parent 7d46004 commit 9e41bfa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/stylist/src/global_style.rs
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ impl GlobalStyle {
Ok(new_style)
}

/// Creates a new style from some parsable css with a default prefix.
/// Creates a new style from some parsable css.
///
/// # Examples
///
Expand Down
2 changes: 1 addition & 1 deletion packages/stylist/src/style.rs
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ impl Style {
where
Css: IntoSheet<'a>,
{
Self::create("stylist", css)
Self::create(StyleManager::default().prefix(), css)
}

/// Creates a new style with a custom class prefix from some parsable css.
Expand Down

0 comments on commit 9e41bfa

Please sign in to comment.