Skip to content

Commit

Permalink
fix: add a ac-theme class to the theme scope (#178)
Browse files Browse the repository at this point in the history
  • Loading branch information
mikeldking authored Oct 27, 2023
1 parent caa46f3 commit ccc0243
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/provider/Provider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export function Provider(props: ProviderProps) {
return (
<Context.Provider value={{ ...context, theme }}>
{isRootProvider ? <GlobalStyles /> : null}
<div className={`ac-theme--${theme}`}>{content}</div>
<div className={`ac-theme ac-theme--${theme}`}>{content}</div>
</Context.Provider>
);
}
Expand Down

0 comments on commit ccc0243

Please sign in to comment.