Skip to content

Commit

Permalink
Added breakpoint filter in default style compiler.
Browse files Browse the repository at this point in the history
  • Loading branch information
azaslonov committed Sep 16, 2023
1 parent b5cb7c3 commit 1f9fe53
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/events/commonEvents.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
export enum Events {
ContentUpdate = "onContentChange",
ViewportChange = "onViewportChange",
StyleChange = "onStyleChange",
MouseUp = "mouseup",
MouseDown = "mousedown",
MouseEnter = "mouseenter",
Expand Down
2 changes: 1 addition & 1 deletion src/styles/styleCompiler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export interface StyleCompiler {
/**
* Returns theme style sheet;
*/
getStyleSheet(): Promise<StyleSheet>;
getStyleSheet(topBreakpoint?: string): Promise<StyleSheet>;

/**
* Returns compiled theme style sheet.
Expand Down

0 comments on commit 1f9fe53

Please sign in to comment.