Skip to content

Commit

Permalink
Merge pull request #21 from newfold-labs/release-1.0.8
Browse files Browse the repository at this point in the history
Added the current theme in js file
  • Loading branch information
ramyakrishnai authored Jan 30, 2024
2 parents ecedd45 + b6eea3d commit 0ce268b
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 0ce268b

Please sign in to comment.