Skip to content

Commit

Permalink
fix(gatsby-design-tokens): Add border definitions to theme (#25486)
Browse files Browse the repository at this point in the history
* Add border definitions to the theme

* revert code change
  • Loading branch information
tesseralis committed Jul 3, 2020
1 parent 0ffe483 commit 7efdbd3
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 11 deletions.
1 change: 1 addition & 0 deletions packages/gatsby-design-tokens/src/theme-gatsbyjs-org.js
Expand Up @@ -322,6 +322,7 @@ const newTheme = {
}

export {
borders,
breakpoints,
fonts,
fontSizes,
Expand Down
25 changes: 14 additions & 11 deletions packages/gatsby-design-tokens/src/theme.js
@@ -1,6 +1,7 @@
import {
breakpointsArray as breakpoints,
colors as colorsTokens,
borders,
fonts,
fontSizes,
fontWeights,
Expand Down Expand Up @@ -46,22 +47,24 @@ const c = {
}

export const theme = {
breakpoints: breakpoints,
borders,
breakpoints,
colors: c,
fonts: fonts,
fontSizes: fontSizes,
fontWeights: fontWeights,
letterSpacings: letterSpacings,
lineHeights: lineHeights,
mediaQueries: mediaQueries,
radii: radii,
shadows: shadows,
space: space,
transition: transition,
fonts,
fontSizes,
fontWeights,
letterSpacings,
lineHeights,
mediaQueries,
radii,
shadows,
space,
transition,
}

export {
c as colors,
borders,
breakpoints,
fonts,
fontSizes,
Expand Down

0 comments on commit 7efdbd3

Please sign in to comment.