Skip to content
This repository has been archived by the owner on Jul 24, 2023. It is now read-only.

Commit

Permalink
feat(theme): add colors.cta, radii & text styles
Browse files Browse the repository at this point in the history
  • Loading branch information
CanRau committed Dec 13, 2019
1 parent deb596f commit 5fc7f63
Showing 1 changed file with 22 additions and 1 deletion.
23 changes: 22 additions & 1 deletion src/gatsby-plugin-theme-ui/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ export default {
text: gray80,
background: `#fff`,
background2: lightBlue,
cta: `#bfde2c`,

// legacy palette
primary: `#042f37`,
Expand Down Expand Up @@ -79,7 +80,27 @@ export default {

fonts: {
body: `"system-ui", "-apple-system", "BlinkMacSystemFont", "Segoe UI", "Roboto", "Helvetica", "sans-serif", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"`,
accent: `body`,
accent: `"system-ui", "-apple-system", "BlinkMacSystemFont", "Segoe UI", "Roboto", "Helvetica", "sans-serif", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"`,
},

text: {
caps: {
textTransform: `uppercase`,
letterSpacing: `0.2em`,
},
heading: {
fontFamily: `body`,
fontWeight: `body`,
lineHeight: `body`,
},
},

radii: {
none: 0,
sm: `0.2rem`,
md: `0.4rem`,
lg: `0.6rem`,
round: `50%`,
},

shadows: {},
Expand Down

0 comments on commit 5fc7f63

Please sign in to comment.