Skip to content

Commit

Permalink
feat: add css variables to be used in css modules (#834)
Browse files Browse the repository at this point in the history
  • Loading branch information
HendrikThePendric authored Oct 7, 2021
1 parent 56f4b83 commit 8fdc378
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/AppWrapper.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { useD2 } from '@dhis2/app-runtime-adapter-d2'
import { CssVariables } from '@dhis2/ui'
import { CircularProgress } from 'material-ui'
import React from 'react'
import { Provider } from 'react-redux'
Expand Down Expand Up @@ -40,6 +41,7 @@ const AppWrapper = () => {
return (
<Provider store={store}>
<AppWithD2ContextAndTheme d2={d2}>
<CssVariables spacers colors theme />
<App />
</AppWithD2ContextAndTheme>
</Provider>
Expand Down

0 comments on commit 8fdc378

Please sign in to comment.