Skip to content

Commit

Permalink
feat(theming): improve theming
Browse files Browse the repository at this point in the history
  • Loading branch information
Raphaël Benitte authored and Raphaël Benitte committed Jan 24, 2019
1 parent c793ffd commit 95dd060
Show file tree
Hide file tree
Showing 17 changed files with 1,024 additions and 629 deletions.
3 changes: 1 addition & 2 deletions packages/axes/src/canvas.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,7 @@ export const renderAxisToCanvas = (

ctx.textAlign = textAlign
ctx.textBaseline = textBaseline
ctx.font = `${theme.axis.ticks.text.fontSize}px ${theme.axis.ticks.text.fontFamily ||
'sans-serif'}`
ctx.font = `${theme.axis.ticks.text.fontSize}px ${theme.axis.ticks.text.fontFamily}`

ctx.lineWidth = theme.axis.domain.line.strokeWidth
ctx.lineCap = 'square'
Expand Down
Loading

0 comments on commit 95dd060

Please sign in to comment.