@t2ca/gatsby-theme-showcase 1.0.4 → 1.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@t2ca/gatsby-theme-showcase",
3
- "version": "1.0.4",
3
+ "version": "1.0.5",
4
4
  "main": "index.js",
5
5
  "license": "MIT",
6
6
  "devDependencies": {
@@ -45,7 +45,7 @@ export default ({
45
45
  <Link to="/" sx={{ color: "inherit", textDecoration: "none" }}>
46
46
  <span
47
47
  sx={{
48
- fontSize: [`1.25rem`, `1.5rem`],
48
+ fontSize: [3, 4],
49
49
  fontWeight: 600,
50
50
  color: "brand",
51
51
  }}
@@ -13,11 +13,11 @@ export default props => {
13
13
  <React.Fragment>
14
14
  <div
15
15
  sx={{
16
- py: "9rem",
17
- px: ["1.5rem", "3rem"],
16
+ py: 6,
17
+ px: [4, 5],
18
18
  position: "relative",
19
19
  bg: `MainHero`,
20
- minHeight: `80vh`,
20
+ minHeight: `screenHeight`, // 80vh
21
21
  }}
22
22
  >
23
23
  <Container>
@@ -9,10 +9,10 @@ const styles = {
9
9
  px: 0,
10
10
  py: 0,
11
11
  color: "primary",
12
- margin: "1rem",
12
+ margin: 4,
13
13
  textDecoration: "none",
14
14
  borderBottom: `2px solid transparent`,
15
- lineHeight: "2rem",
15
+ lineHeight: 5,
16
16
  transition: `all .5s ease-in;`,
17
17
  "&.active": {
18
18
  borderBottom: `1px solid transparent`,
@@ -11,6 +11,9 @@ export default {
11
11
  MenuBorder: `rgb(212, 212, 213)`,
12
12
  MainHero: `white`,
13
13
  toggleIcon: `#777777`,
14
+ waveX: theme.colors.pink[6],
15
+ waveY: theme.colors.pink[6],
16
+ waveZ: theme.colors.pink[6],
14
17
  modes: {
15
18
  dark: {
16
19
  background: `#333333`,
@@ -23,6 +26,9 @@ export default {
23
26
  primary: theme.colors.pink[3],
24
27
  MainHero: `#1b1c1d`,
25
28
  toggleIcon: theme.colors.white,
29
+ waveX: `#777`,
30
+ waveY: `#999`,
31
+ waveZ: `#555`,
26
32
  },
27
33
  },
28
34
  }
@@ -1,13 +0,0 @@
1
- /** @jsx jsx */
2
- import React from "react"
3
- import { jsx, Styled } from "theme-ui"
4
-
5
- export default ({ children }) => (
6
- <div
7
- sx={{
8
- variant: `cards.primary`,
9
- }}
10
- >
11
- <Styled.ul>{children}</Styled.ul>
12
- </div>
13
- )