Skip to content

Commit 7efdbd3

Browse files
authoredJul 3, 2020
fix(gatsby-design-tokens): Add border definitions to theme (#25486)
* Add border definitions to the theme * revert code change
1 parent 0ffe483 commit 7efdbd3

File tree

2 files changed

+15
-11
lines changed

2 files changed

+15
-11
lines changed
 

‎packages/gatsby-design-tokens/src/theme-gatsbyjs-org.js

+1
Original file line numberDiff line numberDiff line change
@@ -322,6 +322,7 @@ const newTheme = {
322322
}
323323

324324
export {
325+
borders,
325326
breakpoints,
326327
fonts,
327328
fontSizes,

‎packages/gatsby-design-tokens/src/theme.js

+14-11
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import {
22
breakpointsArray as breakpoints,
33
colors as colorsTokens,
4+
borders,
45
fonts,
56
fontSizes,
67
fontWeights,
@@ -46,22 +47,24 @@ const c = {
4647
}
4748

4849
export const theme = {
49-
breakpoints: breakpoints,
50+
borders,
51+
breakpoints,
5052
colors: c,
51-
fonts: fonts,
52-
fontSizes: fontSizes,
53-
fontWeights: fontWeights,
54-
letterSpacings: letterSpacings,
55-
lineHeights: lineHeights,
56-
mediaQueries: mediaQueries,
57-
radii: radii,
58-
shadows: shadows,
59-
space: space,
60-
transition: transition,
53+
fonts,
54+
fontSizes,
55+
fontWeights,
56+
letterSpacings,
57+
lineHeights,
58+
mediaQueries,
59+
radii,
60+
shadows,
61+
space,
62+
transition,
6163
}
6264

6365
export {
6466
c as colors,
67+
borders,
6568
breakpoints,
6669
fonts,
6770
fontSizes,

0 commit comments

Comments
 (0)
Please sign in to comment.