Skip to content

Commit

Permalink
- yarn pretty
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonbahl committed Nov 20, 2020
1 parent 6cf7225 commit 765b195
Show file tree
Hide file tree
Showing 8 changed files with 241 additions and 231 deletions.
218 changes: 109 additions & 109 deletions src/@chakra-ui/gatsby-plugin/theme.js
Original file line number Diff line number Diff line change
@@ -1,119 +1,119 @@
import { theme as defaultTheme } from "@chakra-ui/react"

const theme = {
...defaultTheme,
styles: {
...defaultTheme.styles,
},
colors: {
...defaultTheme,
styles: {
...defaultTheme.styles,
},
colors: {
...defaultTheme.colors,
brandPurple: "#673FB4",
background: `#0A1D39`,
brandLink: `#2b6cb0`,
modes: {
dark: {
...defaultTheme.colors,
brandPurple: "#673FB4",
background: `#0A1D39`,
brandLink: `#2b6cb0`,
modes: {
dark: {
...defaultTheme.colors,
text: "#fff",
background: "#000",
primary: "#0cf",
brandLink: `#0cf`,
brandPurple: "#cccccc",
},
},
brandOrange: "#f7901f",
text: "#fff",
background: "#000",
primary: "#0cf",
brandLink: `#0cf`,
brandPurple: "#cccccc",
},
},
brandOrange: "#f7901f",
},
lineHeights: {
body: 1.5,
heading: 1.125,
},
wp: {
h1: {
mt: "3rem",
mb: ".25rem",
lineHeight: 1.2,
fontWeight: "bold",
fontSize: "1.875rem",
letterSpacing: "-.025em",
color: "red",
wordBreak: "break-all",
},
h2: {
mt: "4rem",
mb: "1rem",
lineHeight: 1,
fontWeight: "semibold",
fontSize: "1.5rem",
letterSpacing: "-.025em",
wordBreak: "break-word",
"& + h3": {
mt: "1.5rem",
},
},
h3: {
mt: "3rem",
mb: "1rem",
lineHeight: 1.25,
fontWeight: "semibold",
fontSize: "1.25rem",
letterSpacing: "-.025em",
wordBreak: "break-word",
},
h4: {
mt: "3rem",
lineHeight: 1.375,
fontWeight: "semibold",
fontSize: "1.125rem",
wordBreak: "break-word",
},
a: {
color: "brandLink",
fontWeight: "semibold",
transition: "color 0.15s",
transitionTimingFunction: "ease-out",
_hover: {
color: "teal.600",
},
},
p: {
mt: "1.5rem",
"blockquote &": {
mt: 0,
},
},
hr: {
my: "4rem",
},
blockquote: {
bg: "orange.100",
borderWidth: "1px",
borderColor: "orange.200",
rounded: "lg",
px: "1.25rem",
py: "1rem",
my: "1.5rem",
},
lineHeights: {
body: 1.5,
heading: 1.125,
ul: {
mt: "1.5rem",
ml: "1.25rem",
"blockquote &": { mt: 0 },
"& > * + *": {
mt: "0.75rem",
},
},
wp: {
h1: {
mt: "3rem",
mb: ".25rem",
lineHeight: 1.2,
fontWeight: "bold",
fontSize: "1.875rem",
letterSpacing: "-.025em",
color: "red",
wordBreak: "break-all",
},
h2: {
mt: "4rem",
mb: "1rem",
lineHeight: 1,
fontWeight: "semibold",
fontSize: "1.5rem",
letterSpacing: "-.025em",
wordBreak: "break-word",
"& + h3": {
mt: "1.5rem",
},
},
h3: {
mt: "3rem",
mb: "1rem",
lineHeight: 1.25,
fontWeight: "semibold",
fontSize: "1.25rem",
letterSpacing: "-.025em",
wordBreak: "break-word",
},
h4: {
mt: "3rem",
lineHeight: 1.375,
fontWeight: "semibold",
fontSize: "1.125rem",
wordBreak: "break-word",
},
a: {
color: "brandLink",
fontWeight: "semibold",
transition: "color 0.15s",
transitionTimingFunction: "ease-out",
_hover: {
color: "teal.600",
},
},
p: {
mt: "1.5rem",
"blockquote &": {
mt: 0,
},
},
hr: {
my: "4rem",
},
blockquote: {
bg: "orange.100",
borderWidth: "1px",
borderColor: "orange.200",
rounded: "lg",
px: "1.25rem",
py: "1rem",
my: "1.5rem",
},
ul: {
mt: "1.5rem",
ml: "1.25rem",
"blockquote &": { mt: 0 },
"& > * + *": {
mt: "0.75rem",
},
},
code: {
color: "purple.500",
rounded: "sm",
px: "1",
fontSize: "0.875em",
py: "2px",
whiteSpace: "nowrap",
lineHeight: "normal",
bg: "gray.50",
"blockquote &": {
bg: "transparent",
},
},
code: {
color: "purple.500",
rounded: "sm",
px: "1",
fontSize: "0.875em",
py: "2px",
whiteSpace: "nowrap",
lineHeight: "normal",
bg: "gray.50",
"blockquote &": {
bg: "transparent",
},
},
},
}

export default theme
2 changes: 1 addition & 1 deletion src/components/landingpage/LogoStack.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from "react"
import { Box, Wrap, WrapItem, Tooltip, Image } from "@chakra-ui/react"
import { Wrap, WrapItem, Tooltip, Image } from "@chakra-ui/react"

import { GatsbyImage } from "gatsby-plugin-image"

Expand Down
2 changes: 1 addition & 1 deletion src/components/landingpage/WorksWithJS.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React from "react"
import { Box } from "@chakra-ui/react"
import LogoStack from "./LogoStack"
import { useStaticQuery } from "gatsby"
import { graphql } from "gatsby";
import { graphql } from "gatsby"

const WorksWithJS = ({ children, imageBG = "white" }) => {
const data = useStaticQuery(graphql`
Expand Down
Loading

0 comments on commit 765b195

Please sign in to comment.