Skip to content
Snippets Groups Projects
Commit 188aaeab authored by Jure's avatar Jure
Browse files

Merge branch 'styled-components-update' into 'master'

fix(ui): add missing override for GlobalStyle

See merge request pubsweet/pubsweet!457
parents ba86d1ad e5d48eb3
No related branches found
No related tags found
No related merge requests found
import { createGlobalStyle } from 'styled-components' import { createGlobalStyle } from 'styled-components'
import { th } from '@pubsweet/ui-toolkit' import { th, override } from '@pubsweet/ui-toolkit'
const GlobalStyle = createGlobalStyle` const GlobalStyle = createGlobalStyle`
body { body {
color: ${th('colorText')}; color: ${th('colorText')};
} }
${override('ui.GlobalStyle')};
` `
export default GlobalStyle export default GlobalStyle
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment