Skip to content

Commit

Permalink
fix: expose theme for use in other libraries
Browse files Browse the repository at this point in the history
  • Loading branch information
estrattonbailey committed Apr 6, 2021
1 parent b53c3fb commit ba45d12
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,9 @@ function hypostyle (theme = {}, config = {}) {
},
pick (props) {
return pick(props, t)
},
get theme () {
return t
}
}
}
Expand Down

0 comments on commit ba45d12

Please sign in to comment.