Skip to content

Commit

Permalink
Added the current theme in js file
Browse files Browse the repository at this point in the history
  • Loading branch information
ramyakrishnai committed Jan 30, 2024
1 parent 70d4e6a commit b6eea3d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,8 @@ export const NewfoldRuntime = {
},
get siteTitle(){
return window.NewfoldRuntime?.siteTitle;
},
get currentTheme(){
return window.NewfoldRuntime?.currentTheme;
}
};

0 comments on commit b6eea3d

Please sign in to comment.